Node.js for PHP Developers

Porting PHP to Node.js

Nonfiction, Computers, Programming, Programming Languages, CGI, JavaScript, Perl, VBScript, Internet, Web Development
Cover of the book Node.js for PHP Developers by Daniel Howard, O'Reilly Media
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Daniel Howard ISBN: 9781449333805
Publisher: O'Reilly Media Publication: November 29, 2012
Imprint: O'Reilly Media Language: English
Author: Daniel Howard
ISBN: 9781449333805
Publisher: O'Reilly Media
Publication: November 29, 2012
Imprint: O'Reilly Media
Language: English

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
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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.

More books from O'Reilly Media

Cover of the book The Human Side of Postmortems by Daniel Howard
Cover of the book iPhone 3D Programming by Daniel Howard
Cover of the book Best of TOC by Daniel Howard
Cover of the book Refactoring SQL Applications by Daniel Howard
Cover of the book Big Data for Chimps by Daniel Howard
Cover of the book Using Joomla! by Daniel Howard
Cover of the book Head First Programming by Daniel Howard
Cover of the book Designing for Performance by Daniel Howard
Cover of the book Developing Backbone.js Applications by Daniel Howard
Cover of the book ClojureScript: Up and Running by Daniel Howard
Cover of the book Learning Kali Linux by Daniel Howard
Cover of the book iPhoto: The Missing Manual by Daniel Howard
Cover of the book Deep Learning for the Life Sciences by Daniel Howard
Cover of the book Elastic Beanstalk by Daniel Howard
Cover of the book Programming Entity Framework by Daniel Howard
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy