While investigating AJAX,
Groboclown has come up with something completely different. All of his HTML is generated with pure client side AJAX.
I've turned it into an experiment with pure client-side AJAX - no server-side code to generate the HTML. All server requests are only to gather data, not to have additional logic used in the user's display.
Though he describes his current implementation as "brain-dead", it doesn't take much imagination to see how to turn his Javascript implementation of the MVC pattern into something far more useful. Here is how it is done;
- Model holds data from the server
- The controller gets data from the server and updates the model
- The view has and HTML template to render the data and another component to update data.
Getting the view right took the longest time to get right. It does rely on CSS but all in all one has to admit that this is an interesting experiment.
Check it out for yourself.