Hacker News new | ask | show | jobs
by tyingq 1670 days ago
Not my cup of tea, but if you really want PHP-like with JS, EJS looks really close to "I wish server-side javascript worked like PHP":

https://ejs.co/

Just needs a FastCGI wrapper.

Another "Node, but PHP like" project that compares itself to EJS and other similar things: https://github.com/Yahweasel/nodejs-server-pages#why-nodejs-...