The 4th Industrial Revolution in South Africa: Human Resources is finally moving towards digital transformation.
Node.JS and PHP are both engines that power the back-end of dynamic applications, but they have very distinct differences. Here’s a comparison and why we chose to use Node.js as our tech of choice for Hi5.
PHP is a scripting language that quickly became the industry standard back-end language of choice for developers after its initial release in 1995. A vast majority of sites on the web today run on PHP, due in large part to its popularity as the technology of choice for content management systems like WordPress, Drupal, and Joomla. As well as a number of modern frameworks such as Laravel, Symfony, and CakePHP that have taken full advantage of this languages power. Running on a multi threaded I/O blocking execution.
You should consider PHP if your project involves:
You should consider Node.js if your project involves:
Note that neither of lists above are extensive, or dutifully explain the extent to which you can use these two technologies. The choice to use Node.js as our back end at Hi5 came down to these simple points.
This isn’t to say Node.js is better than PHP, it just suits our needs.