Nelson Minar plugs a new way to write web apps : Every HTML page is static -- the dynamic parts are entirely DOM-injected from server-delivered JSON by client-side Javascript. No dynamic data is delivered in HTML. I'm thinking about this, and it does seem to bring a lot of positives. hmm
#
That's ... new?
every single piece of HTML delivered by the server is static? new to me. mind you I'm not on the bleeding edge of web apps, really ;)
Well, I don't know if we can say we do that 100%, but the vast vast vast majority of our dynamic data comes via AJAX/JSON (AJAJ?). It's not something we set out to do because of some great new paradigm, it's just the way it worked out for our needs ...
It works very well in some ways. You can get stuff up and running fast and it's very flexible. The downside is that the clientside is kept busy rendering all that JSON into something visible. There are cases where doing it the old-fashioned way is faster from the user's POV.