So you're not putting PHP or even macros into version 3?
i didn't take yet the time to explore this matter.
Point of it all is having a server side scripting: that's what macros and PHP are.
The official server scripting will be javascript, that will blend nicely and very fast because things will just become part of HFS, not just executed by an internal interpreter as we do now for macros. I don't personally plan to work on getting macros on HFS 3.
PHP, as other languages, should come thanks to CGI: a standard way to run different things inside the webserver. Apparently CGI is
readily available, but didn't try it yet. Being at a 1% and still alone (with a full-time job) it all goes very slow.
I didn't design how "templates" will be. I'm now trying to get a sort of template working, then we'll see how to get something cool to customize.
Interested programmers with plenty of free time can try to get a preview running.
First step is installing node.js and have it working, then you can come back to me.