by binarymax · 10y ago · 0 comments
A stateless resource model with a distinct separation of concerns and components, that operates in a non-CPU-intensive fashion, can make life much easier on your designers and testers.
When serving things like content and straightforward CRUD, your architecture can be made much simpler.
I'd like to see a trivial app implemented in JS and then re-implemented using Dala's method.
I might be wrong here, but if more than half your request is spent in a templating engine, something is seriously wrong.
Moving your code to the client side seems like an incredibly lazy way to shave a few milliseconds off your request time. Not to mention your doing so at the expense of increasing initial page load for the user, and breaking the semantic web.
--EDIT-- I'm going to give you a great example. This very site. HN renders everything on the server (in a dialect of Lisp!) and it's a pretty small cluster that is supporting more users than most webapps dream of.
It's good to have performance and scalability in mind but so often it just doesn't matter.