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 Objective-C Pocket Reference by Daniel Howard
Cover of the book Beautiful Architecture by Daniel Howard
Cover of the book Java and XML by Daniel Howard
Cover of the book We the Media by Daniel Howard
Cover of the book Using Moodle by Daniel Howard
Cover of the book Fixing Access Annoyances by Daniel Howard
Cover of the book Impact of P2P and Free Distribution on Book Sales by Daniel Howard
Cover of the book Learning UML 2.0 by Daniel Howard
Cover of the book Programming Visual Basic 2005 by Daniel Howard
Cover of the book QuickBooks 2015: The Missing Manual by Daniel Howard
Cover of the book iPad: The Missing Manual by Daniel Howard
Cover of the book Beautiful Visualization by Daniel Howard
Cover of the book Database Reliability Engineering by Daniel Howard
Cover of the book RESTful Java with JAX-RS 2.0 by Daniel Howard
Cover of the book Developing BlackBerry Tablet Applications with Flex 4.5 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