Node.js for PHP Developers

Node.js for PHP Developers

4.11 - 1251 ratings - Source

Demonstrates the remarkable similarities between Node.js and PHP, and teaches readers how to port an entire PHP web application to Node.js.A simple website might have two kinds of users: many ordinary users, and a single administrator user, probably the owner, ... The User class also has a homePage() function, which returns the HTML for an ordinary usera#39;s home page: alt;?php ... Similarly, the name of the user can be shown using the getName() function in the fola€lowing PHP code fragment: $me = new User(a#39;guesta#39;); print a#39;My username is a#39;.

Title:Node.js for PHP Developers
Author:Daniel Howard
Publisher:"O'Reilly Media, Inc." - 2013


You Must CONTINUE and create a free account to access unlimited downloads & streaming