4 ms·
This is true, the author seems to imply that it's somehow possible to always avoid complex UI state. Might be true for some UIs, but definitely not for all (e.g
by bauerd 8y ago
This is true, the author seems to imply that it's somehow possible to always avoid complex UI state. Might be true for some UIs, but definitely not for all (e.g. a calendar UI would suck big time when rendered exclusively on the server-side).
- basch 8y agois that true? googles auto-suggestions are rendered server side, as you type in the field they update. (unless I am mistake, but I thought that was the case)
- drewmol 8y agoI think it's a combination of local cache immediately, followed up by a server response
- icebraining 8y agoThat's not really "rendered" server side; the data is fetched from the server by JavaScript in JSON form, then dynamically inserted into the DOM.
- paulie_a 8y agoHonestly no it wouldn't suck and from a end user perspective for a calendar. It is actually far superior. Granted this is only my personal opinion. There seems to be this desire to overcomplicate the front end when simple solutions work quite well. Granted they don't have all the catchy buzzwords. But they make for a better less bug filled solution.
- bauerd 8y agoCalendar UIs commonly demand stuff like auto-refreshing, datetime selects, drag-dropping items around, resizing those, list goes on. Please elaborate how you'd build a "simple solution" that does not resort to client-side rendering.
- wild_preference 8y agoYeah, even a "Select All" button that checks all checkboxes requires Javascript. Aside: I don't understand the premise of this thread that suggests it's a "SPA" just to, say, use React on a single page of an application. The whole basis of the "SP" in "SPA" is that the Javascript (state) spans multiple pages.
- PurpleBoxDragon 8y agoI once worked with a guy who built an app with everything done server side in web forms, including a datetime picker. It stands out in my memory as one of the worst pieces of software I've ever seen produced.
- TopWaltz 8y ago> I once worked with a guy who built an app with everything done server side in web forms, including a datetime picker ASP.NET Webforms? I have good memories of being able to do that easily, with zero (or almost zero) JavaScript. It's not the best user experience ever (the whole page has to reload after each click, and the state is persisted by serializing structs in <input type="hidden"> fields), but I had a pleasant experience when I developed with it. ASP.NET Webforms components were the best thing until we finally had React/Vue! The only problem was that it was way too easy to make a mess in your backend code.
- da02 8y agoDid he ever have trouble finding employers or paying clients?