Skip to content
ISBN: 1449333605
ISBN13: 9781449333607

Node.js for PHP Developers

$23.05List Price: $29.99
Save $6.94!
ISBN: 1449333605
ISBN13: 9781449333607
Formats

Conditions

A brand-new, unused copy in perfect condition.

Formats

Conditions

A brand-new, unused copy in perfect condition.

See all 1 editionsfrom $23.05

Book Overview

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
Format:
Paperback
Language:
English
ISBN:
1449333605
ISBN13:
9781449333607
Release Date:
January 2013
Publisher:
O'Reilly Media, Incorporated
Length:
288 Pages
Weight:
1.02 lbs.
Dimensions:
0.6″ × 7.0″ × 9.1″
ComputersComputers & Technology

More by Daniel Howard

Customer Reviews

0 customer ratings | 0 reviews
Write a Review

There are currently no reviews. Be the first to review this work.