4 ms·
Some big wins for doing client side UI in webapps: 1. Less latency for the user when navigating the app. Data only updated from REST services as needed. Update
by bni 16y ago
Some big wins for doing client side UI in webapps:
1. Less latency for the user when navigating the app. Data only updated from REST services as needed. Update when user looks at something else. Tons of optimizations possible.
2. Available offline (Cache manifest). Webapp useable even when 3G signal is lost.
3. Mobile app using PhoneGap with the same code base. Just drop the index.html and js/css files into the www folder.
4. UI can be developed and run from disk, with file:// protocol, no web server needed. No build or network copy step, just open/reload directly from project dir.
CGI, and its followers, were a big ugly hack from the beginning, that is now institutionalized in many developers minds. UI belong on the client, as close to the user as possible, its just common sense.
- kls 16y agoCGI, and its followers, were a big ugly hack from the beginning, that is now institutionalized in many developers minds. UI belong on the client, as close to the user as possible, its just common sense. I can't agree more, we have wasted 15 years trying to hide our heads from that truth but the reality is it produces a superior experience and it is a easier development strategy. We consistently produce better applications on shorter development cycles with JS based UI apps.