Jump to ratings and reviews
Rate this book

Node.Js for PHP Developers: Porting PHP to Node.Js

Rate this book
If you re an experienced PHP developer, you already have a head start on learning how to write Node.js code. In this book, author Daniel Howard demonstrates the remarkable similarities between the two languages, and shows you how to port your entire PHP web application to Node.js. By comparing specific PHP features with their Node counterparts, you ll also discover how to refactor and improve existing PHP 4 or PHP 5 source code.At the end, you ll have two fully functional codebases to provide to your users. You can update both of them simultaneously, using this book as a reference to important aspects of PHP and Node.js.Use a simple Node.js framework to convert individual PHP pages to Node.js filesRefactor blocking PHP source code to non-blocking Node.js source code that uses callbacksConvert PHP syntax, variables, and types to Node.jsUse a step-by-step technique for implementing PHP classes and class inheritance in Node.jsConvert PHP file handling APIs into their Node.js equivalentsCompare approaches for using a MySQL database in Node.js and PHPConvert PHP code for JSON or XML APIs into Node.js code for npm packages"

186 pages, ebook

First published January 1, 2012

About the author

Daniel Howard

120 books

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.