Message from JavaScript discussions
May 2017
— I am planning on porting about 1000 lines of PHP to node JS soon
A big client is running PHP 5.6, Wordpress... I am hand crafting a website for them from scratch, making it load in under 2 seconds on every page with a virtual DOM I made https://github.com/Floofies/microVDom
— Once we are able to launch the new site, I am going to port them over to a VPS with node
— Php also allows exactly this
— I would disagree
— You need a web server, configure it, configure PHP etc... node can be installed and spun up as fast as you can type node server.js
— Python, too
— $ npm i http-server -g
$ http-server
— You can even type the JS right into the REPL because it's so small
— And the python
— I stand corrected by myself as I just googled it and it's:
$ cd ~/public_html
$ php -S localhost:8000
— Php works standalone too now I've heard