What am I going to do? Should I change? Will I be forced to change?
I’m using more and more JS nowadays in my daily life. I’m also getting into developing on Android. Which is where my desire to possibly start making the transition comes from.
I’m not certain that I do need to change. I am very comfy with my current linux stack of Apache, PHP, and mySQl. I know very little of the node.js world. I hope because of this that my journey diwn this road is helpful. I know i’m not the only guy around who’s been in this world and seeing a whole different world being built.
Again, i’m going to record my journey here on the blog of HackerAttitude.com. I’m going to dive into Google’s new Webstarter Kit, that’s using boilerplate and node.JS from my uunderstanding so far. I’ll post more here and let you know how it’s going. What I like and what I don’t like.
I found these “wins” on a similar topic at InfoWorld.com, and recommend reading it. I found it helpful.
PHP \/ Node.js
Where PHP wins: Mixing code with content
You’re typing along, pouring thoughts into text for your website, and you want to add a branch to the process, a little if-then statement to make it look pretty, say, depending on some parameter in the URL. Or maybe you want to mix in text or data from a database. With PHP, you open up the magic PHP tags and start writing code within seconds. No need for templates — everything is a template! No need for extra files or elaborate architectures, just programmable logistical power at your fingertips.
Where PHP wins: Deep code base
The Web is filled with PHP code. The most popular platforms for building websites (WordPress, Drupal, Joomla) are written in PHP. Not only are the platforms open source, but so are most of their plug-ins. There’s PHP code everywhere, and it’s waiting for you to download it, modify it, and use it for your needs.
Where Node wins: Newer code means more modern features
Sure, there are thousands of great open source PHP files, but some are 8-year-old WordPress plug-ins hoping and praying that someone will download them. Who wants to spend hours, days, or weeks monkeying with code that hasn’t been updated in years? Node.js plug-ins are not only newer; they were built with full knowledge of the latest architectural approaches. They were built by programmers who understand that modern Web apps should push most of the intelligence to the client.