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

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

Computers & Technology
ISBN: 1449333605Format: PDFEdition: 1 editionDate: December 17, 2012Pages: 288 pagesLanguage: English

Download Node.js for PHP Developers: Porting PHP to Node.js

Download .PDF eBook

Book Description

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 files
  • Refactor blocking PHP source code to non-blocking Node.js source code that uses callbacks
  • Convert PHP syntax, variables, and types to Node.js
  • Use a step-by-step technique for implementing PHP classes and class inheritance in Node.js
  • Convert PHP file handling APIs into their Node.js equivalents
  • Compare approaches for using a MySQL database in Node.js and PHP
  • Convert PHP code for JSON or XML APIs into Node.js code for npm packages


1. Node.js Basics
2. A Simple Node.js Framework
3. Simple Callbacks
4. Advanced Callbacks
5. HTTP Responses
6. Syntax
7. Variables
8. Classes
9. File Access
10. MySQL Access
11. Plain Text, JSON, and XML
12. Miscellaneous Functions

Book cover

Node.js for PHP Developers: Porting PHP to Node.js
В закладки

Dear users and students. The Book Node.js for PHP Developers: Porting PHP to Node.js on our website it is presented for demonstration only. We do not store the files, If you like the book, please remove it and to buy a printed version of the book.

If You feel that this book is belong to you and you want to unpublish it, Please Contact us.

This site comply with DMCA digital copyright. We do not store files not owned by us, or without the permission of the owner. We also do not have links that lead to sites DMCA copyright infringement.

Comments (0)
reload, if the code cannot be seen
Learning Node
Node for Front-End Developers: Writing Server-Side JavaScript Applications
Node: Up and Running: Scalable Server-Side Code with JavaScript
Node.js in Practice
Pro REST API Development with Node.js
Get Programming with Node.js
Node.js in Action
Beginning Node.js