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 Enterprise Search by Daniel Howard
Cover of the book Ajax Design Patterns by Daniel Howard
Cover of the book MySQL Troubleshooting by Daniel Howard
Cover of the book Social Media Marketing und Recht, 2. Auflage by Daniel Howard
Cover of the book Concurrent Programming in Mac OS X and iOS by Daniel Howard
Cover of the book Linux System Programming by Daniel Howard
Cover of the book sed and awk Pocket Reference by Daniel Howard
Cover of the book Angular JS: Moderne Webanwendungen und Single Page Applications mit JavaScript by Daniel Howard
Cover of the book Das Joomla-Buch by Daniel Howard
Cover of the book Enterprise Development with Flex by Daniel Howard
Cover of the book Premiere Elements 8: The Missing Manual by Daniel Howard
Cover of the book Creating HTML5 Animations with Flash and Wallaby by Daniel Howard
Cover of the book Nokia Smartphone Hacks by Daniel Howard
Cover of the book ActionScript 3.0 Cookbook by Daniel Howard
Cover of the book Building Maintainable Software, C# Edition 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