Quote:
Originally Posted by k0nr4d
He's trying to push the work on the client instead of the server. It makes sense from an optimization point of view but server power is just so cheap now...
|
You nailed it. That's exactly what I've been doing.
I prototyped my platform this way, but I can always shift back more load to the server, if that made sense.
Google has no problem rendering and spidering any of my code built entirely from JS.
There may be issues of payload optimization (lots of small pieces vs fewer larger pieces), but the flexibility, specially for designing and testing, with micro-includes can't be beat.
When things settle enough, I may write a program to generate and maintain my entire website.
The added plus of not using PHP (sessions), is that my entire website is cookie-free.
It's a work in progress...