If you're an experienced PHP developer, you already have a head start on learning how to write Node.js code.
About the Author: Daniel Howard has worked as a software developer for over 15 years.
284 Pages
Computers + Internet, Internet
Description
About the Book
"Converting PHP into server-side JavaScript"--cover.
Book Synopsis
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
About the Author
Daniel Howard has worked as a software developer for over 15 years. He has worked at startups, Fortune 500 companies, and several in between. He has seen companies and individual developers struggle to move from one technology to another. He believes everybody can keep one foot firmly planted on one side and plant his other foot in the new technology, and wants to help them learn how to do so.
Dimensions (Overall): 9.09 Inches (H) x 7.04 Inches (W) x .61 Inches (D)
Weight: 1.02 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 284
Genre: Computers + Internet
Sub-Genre: Internet
Publisher: O'Reilly Media
Theme: Web Programming
Format: Paperback
Author: Daniel Howard
Language: English
Street Date: January 15, 2013
TCIN: 1011986005
UPC: 9781449333607
Item Number (DPCI): 247-09-9734
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.
Shipping details
Estimated ship dimensions: 0.61 inches length x 7.04 inches width x 9.09 inches height
Estimated ship weight: 1.02 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO, Alaska, Hawaii
Return details
This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.