I just signed up here, as this is a little more opinionated as to post it on StackOverflor or any Stack-ish Q/A board. So yeah, hopefully I am right here now!
For years, I have developed ontop of PHP, leveraging Yii, then later Laravel (and therefore Symfony) but my requirements for back-end resources have totally changed for a project...and before I start coding a bridge between PHP and NodeJS, I'd rather just switch over entirely. 🙂 I mean, it wouldn't be impossible but... tedious.
Another aspect is, that I want to utilize Bootstrap as a CSS framework, and utilize the Bootstrap.Native tools provided here: https://github.com/thednp/bootstrap.native
This already strips off jQuery - so what I really then need is just a tiny set of polyfills to do promises, AJAX and even better, PJAX. I would like to leverage PJAX and the History API in order to minimize the loading times as much as possible.
Now that I have gone on and on about what I would like to achieve... I think it's best if I sum up all my questions and the things that I am looking for up into a short little list. Sorry if this post turns out to be waaaay too long. 🙂
I want to...
- Render as much as possible on the server, only sending small templates for modals and the like to the client for minimal inline rendering. Which rendering engine do I best use, that is fast and small? It does not need to have bold features - I am fine with simple stuff like scoping and variable substitution (think of a minimal bare-PHP templating).
I am quite likely to add other stuff to the client - like a proper Markdown editor for bigger inputs and such - but keeping the base as small as possible is my goal. I am not striving for i18n/l10n any time soon either. Though, I will be using RDFa and Microdata. But as they are pretty much part of the HTML elements, I would just put them into my views, I guess... Or, obtain them off a model for convenience.
Hopefully I did reach the right place here! Thanks in advance.
Sincerely, Ingwie Phoenix.