On 25 Nov 2008, at 10:01, Nick wrote:
> I'm playing with two possible solutions:
>
> 1) Develop a PHP version of the PURE autoRender method that kicks in
> if the user doesn't have javascript enabled. (How? Maybe send them to
> the PHP version by default, then redirect them to the JavaScript-
> enabled page straight away if they have it turned on. I'm not sure yet
> how much a performance hit this would make, though.)
There are some given things in a browser that may be hard to get in PHP:
- CSS selectors
- passing functions as directive
- JSON/XML manipulation
Feel free to contact me if you make some more research on it or need
information on how PURE is working.
> 2) Store data as a series of flat, valid HTML files that the CMS
> writes to directly. When they're requested by a JavaScript-enabled
> browser, build the template around them. (Templating in reverse.)
I do not understand this one.
You mean storing data as HTML snippets?
Do you have a link to your CMS project?
Something visible yet?
Thanks for using PURE.
Cheers,
Mic