Mega Dose
 
 

Recently Viewed clear list


Interviews | September 2, 2014

Jill Owens: IMG David Mitchell: The Powells.com Interview



David MitchellDavid Mitchell's newest mind-bending, time-skipping novel may be his most accomplished work yet. Written in six sections, one per decade, The Bone... Continue »
  1. $21.00 Sale Hardcover add to wish list

    The Bone Clocks

    David Mitchell 9781400065677

spacer
Qualifying orders ship free.
$29.99
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
25 Remote Warehouse General- General
3 Remote Warehouse Internet- General

Node.Js for PHP Developers: Porting PHP to Node.Js

by

Node.Js for PHP Developers: Porting PHP to Node.Js Cover

 

Synopses & Reviews

Publisher Comments:

If youre 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, youll also discover how to refactor and improve existing PHP 4 or PHP 5 source code.

At the end, youll 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

Synopsis:

If youre a PHP developer, you too can take advantage of the incredible capabilities of Node.js. This book provides several practical recipes for porting your existing PHP code to Node, and what you can achieve with this open source framework once youre done. By comparing specific PHP features with their Node counterparts, author Daniel Howard demonstrates how the concept behind PHP has evolved in Node.

In the process, Howard details experience porting his own SourceForge project from PHP to Node, with specific search-and-replace commands that you can use to transform the code. Youll also learn the similarities between PHP and JavaScript.

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.

Table of Contents

PrefaceChapter 1: Node.js BasicsChapter 2: A Simple Node.js FrameworkChapter 3: Simple CallbacksChapter 4: Advanced CallbacksChapter 5: HTTP ResponsesChapter 6: SyntaxChapter 7: VariablesChapter 8: ClassesChapter 9: File AccessChapter 10: MySQL AccessChapter 11: Plain Text, JSON, and XMLChapter 12: Miscellaneous FunctionsColophon

Product Details

ISBN:
9781449333607
Author:
Howard, Daniel
Publisher:
O'Reilly Media
Subject:
PHP;javascript;node.js;programming;sourceforge;web developers
Subject:
CourseSmart Subject Description
Edition Description:
Print PDF
Publication Date:
20121231
Binding:
TRADE PAPER
Language:
English
Pages:
288
Dimensions:
9.19 x 7 in

Related Subjects

Computers and Internet » Computer Languages » Java
Computers and Internet » Computer Languages » Javascript
Computers and Internet » Computer Languages » PHP
Computers and Internet » Internet » Web » Web Programming
Computers and Internet » Networking » General

Node.Js for PHP Developers: Porting PHP to Node.Js New Trade Paper
0 stars - 0 reviews
$29.99 In Stock
Product details 288 pages O'Reilly Media - English 9781449333607 Reviews:
"Synopsis" by ,

If youre a PHP developer, you too can take advantage of the incredible capabilities of Node.js. This book provides several practical recipes for porting your existing PHP code to Node, and what you can achieve with this open source framework once youre done. By comparing specific PHP features with their Node counterparts, author Daniel Howard demonstrates how the concept behind PHP has evolved in Node.

In the process, Howard details experience porting his own SourceForge project from PHP to Node, with specific search-and-replace commands that you can use to transform the code. Youll also learn the similarities between PHP and JavaScript.

spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.