92 karma · joined April 6, 2012
I have thought about how you might return normalised data to your front-end and, with support from a front-end library, rebuild the object relationships so you can access them naturally.
I looked into JSON:API and indeed there is a Laravel library for working with JSON:API https://github.com/laravel-json-api/laravel.
One place I got stuck with JSON:API is that support for updating a row and its relationships in a single API request seems to have been kicked around for a while and is unresolved: https://github.com/json-api/json-api/issues/795
There is an atomic operations extension: https://jsonapi.org/ext/atomic/
But is currently unsupported by laravel-json-api: https://github.com/laravel-json-api/laravel/issues/39
Preferences > General > Preferences > Load preferences from a custom folder or URL
You can save your preferences and load them as required.
What was the significance of the music?
Full stack web developer with Node.js and PHP backends.
10+ years of experience, keen to work on some part time or short term contracts.
james [at] cloudship.co.uk
I have been impressed with jQuery DataTables. jQuery DataTables has a lot of features, including export to Excel. jQuery DataTables works with Vue without any issues so long as you never mutate the table data. Mutating table data in Vue can be accommodated, but requires watching for data changes in Vue and making calls to the DataTables API.
I have a few questions about this library. Can it detect rows being clicked on (and emit an event, for example)? Can the searching be customized (I may want to display numbers in a locale-specific format, but match even when the search doesn't include the formatting)? Can sorting be customized (I may wish to the sorting for a field to depend on another, possibly hidden, field)?
What do people use in Vue-land for tables? Is there anything that approaches the feature set of jQuery DataTables?