If you go for a 512GB SSD at $1,150, you're only saving $420 on a new 2.0GHz MacBook Pro.
Who the hell thinks "only" a $420 discount on comparable hardware and build quality isn't a great deal?
How do you say stuff like:
In the grand scheme of things, javascript is still a very very young language, especially since ajax and ES5/6 and JIT compilation came along.
with a straight face? Javascript has been an ISO standard since 1997! It's just a few years younger than python FFS.
AJAX is a pattern used within in-browser javascript, having nothing to do with the language itself, and yes, 5/6 look much different than 1.... much like you can't run python 3 code in a python 1 interpreter.
Migrated probably isn't the word. But my company has done some pilot projects from scratch in Node. There are some advantages:
There are some disadvantages:
If developing something new I tend to look for ways that node can be used first, mostly because we're still trying to work out our stable development pipeline about 9 months after it started. Unless it was required I probably wouldn't choose PHP, only because the composer chain has more or less the same pitfalls of NPM, neither PHP nor node has any typing to speak of, and PHP has its rich history of inconsistency still weighing heavily upon it. to get top-notch performance out of it, you've gotta use something like HHVM which is less forgving.
Working with a legacy base, ask yourself: can this self-contained bit be written in node as a bridge to an eventual php-free-future? Does the event model make sense for the problem at hand? Will it incur unnecessary technical debt? If the answers are yes, yes and no... then develop that part in node. No reason to rebuild working PHP parts unless you actually need to rebuild them anyway.
Are you having fun yet?