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 Kubernetes: Up and Running by Daniel Howard
Cover of the book UX Strategy by Daniel Howard
Cover of the book RESTful Web Services Cookbook by Daniel Howard
Cover of the book Office 2007: The Missing Manual by Daniel Howard
Cover of the book High Performance Spark by Daniel Howard
Cover of the book Your Body: The Missing Manual by Daniel Howard
Cover of the book Programming Jabber by Daniel Howard
Cover of the book Head First Networking by Daniel Howard
Cover of the book Das Facebook-Marketing-Buch by Daniel Howard
Cover of the book Network Security with OpenSSL by Daniel Howard
Cover of the book Learning Perl by Daniel Howard
Cover of the book Sendmail by Daniel Howard
Cover of the book YouTube: An Insider's Guide to Climbing the Charts by Daniel Howard
Cover of the book The Uncertain Web by Daniel Howard
Cover of the book Bioinformatics Data Skills 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