kevinodotnet/reformactwww — pull request #3 by canuckistani (2013-11-30 20:34:44+00:00)
Title: Client side template

This is a straw-man argument for ditching PHP for templating, using handlebars.js. Why? For simple templating, PHP is overkill and can slow the initial page load substantially. Even for a more complex site, putting everything on the client will help any script you do have running on the server quite a bit.

For example, let's say you get a lot of traffic and a conversion ratio from visitor to actual email sent to an MP of 5%. If you run PHP for every page load, you've got server-side processor for all of your visitors. If you only run PHP to send email for that 5%, you've either dramatically improved performance of the bits using PHP, or dramatically lowered your hosting costs ( depends on how you think about it )