|
|
|
|
|
by ozim
1212 days ago
|
|
How do you implement editable list of items where requirements are that: - editing/creating new has to be in a popup
- people don't want full page reload because they lose context (and have "feel" it beeing slow even if it is not)
- edit-table is not a solution because amount of settings will fit popup
- some things like item name in a list has to be updated in the list after saving in popip which requires two way data binding, because cannot do page reload
- pagination and filtering is required and for same reason as above cannot be full page reload I don't see how you implement that in a way that is maintainable with "sprinkling jQuery" on it.
I would like to build it with full page reloads which would be fast and would take away complexity but every business analyst or product owner I saw was saying that "users feel" it is slow and they lose context even if list has stable sort and filtering was kept between reloads. |
|
Probably the majority of the internet doesn't need to be implemented as an SPA but I guess I just keep getting gigs for apps that do need an SPA implementation? Maybe I'm self selected for it by working so much in this "niche" of the industry? I have recently been tasked with building out an ecommerce thing and it's finally a time where I'm like wait why would I build this as an SPA, and I've heard that most of the internet is basically just ecommerce sites lol.
Anyway, I would love to see some of the common things I implement in SPAs, and how I'd implement them instead in Django or whatever, cause I'd love to stop having to reimplement cookie and auth management and whatever else these things supposedly give away for free
1. Highly dynamic tables of data with filtering, sorting, pagination, etc
2. Inline editing of a Resource (Widget of some kind) without needing to refresh the entire page
3. Inline progressive forms with lots of logic (one time I had to implement an SQL query generator game)
Or whatever else I'm not thinking of right now