Node.js for PHP Developers (e-bog) af Howard, Daniel
Howard, Daniel (forfatter)

Node.js for PHP Developers e-bog

166,54 DKK (inkl. moms 208,18 DKK)
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 exi...
E-bog 166,54 DKK
Forfattere Howard, Daniel (forfatter)
Udgivet 29 november 2012
Længde 288 sider
Genrer Web programming
Sprog English
Format pdf
Beskyttelse LCP
ISBN 9781449333812
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