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 Learning TensorFlow by Daniel Howard
Cover of the book SharePoint 2007: The Definitive Guide by Daniel Howard
Cover of the book Programming Web Services with SOAP by Daniel Howard
Cover of the book Excel 2007: The Missing Manual by Daniel Howard
Cover of the book Enyo: Up and Running by Daniel Howard
Cover of the book Building Web Apps with Ember.js by Daniel Howard
Cover of the book Photoshop Elements 7: The Missing Manual by Daniel Howard
Cover of the book Building Web Reputation Systems by Daniel Howard
Cover of the book Programming Google App Engine with Java by Daniel Howard
Cover of the book OXID eShop Kochbuch by Daniel Howard
Cover of the book Programming ASP.NET by Daniel Howard
Cover of the book Mastering Oracle SQL by Daniel Howard
Cover of the book Learning GNU Emacs by Daniel Howard
Cover of the book Getting Started with GEO, CouchDB, and Node.js by Daniel Howard
Cover of the book Digital Photography Pocket Guide 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