Node.js for PHP Developers

Porting PHP to Node.js

Cover of Node.js for PHP Developers

PDF · English

Price and availability

PDF eBookUS store

$24.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
PDF
DRM
Not stated by the publisher
Language
English
Publisher
O'Reilly Media
Published
29 November 2012
ISBN
9781449333812
Subjects
Web programming, Web programming

About this book

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 filesRefactor blocking PHP source code to non-blocking Node.js source code that uses callbacksConvert PHP syntax, variables, and types to Node.jsUse a step-by-step technique for implementing PHP classes and class inheritance in Node.jsConvert PHP file handling APIs into their Node.js equivalentsCompare approaches for using a MySQL database in Node.js and PHPConvert PHP code for JSON or XML APIs into Node.js code for npm packages

Bibliographic data © Gardners Books Ltd.