5 ms·
Was hoping for a built-in mechanism for HTML-aware, injection-free templating given PHP is invoked via an SGML processing instruction from otherwise static HTML
by tannhaeuser 9y ago
Was hoping for a built-in mechanism for HTML-aware, injection-free templating given PHP is invoked via an SGML processing instruction from otherwise static HTML. Instead what's shown is massive Java-ish meta boilerplate for trivial HTTP request/response abstractions.
- tyingq 9y agoSee something like https://www.slimframework.com https://www.slimframework.com or https://lumen.laravel.com https://lumen.laravel.com
- liveoneggs 9y agowelcome to New\PHP where looking like java is the goal
- krapp 9y ago>Was hoping for a built-in mechanism for HTML-aware, injection-free templating (...) You may be looking for Hack, which supports XHP natively[0]. [0]https://docs.hhvm.com/hack/XHP/introduction https://docs.hhvm.com/hack/XHP/introduction