Node.js for PHP Developers: Porting PHP to Node.js (Paperback)

Node.js for PHP Developers: Porting PHP to Node.js (Paperback)

作者: Daniel Howard
出版社: O'Reilly
出版在: 2013-01-01
ISBN-13: 9781449333607
ISBN-10: 1449333605
裝訂格式: Paperback
總頁數: 288 頁





內容描述


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




相關書籍

Spring 響應式微服務:SpringBoot2 + Spring5 + SpringCloud 實戰

作者 鄭天民

2013-01-01

Go Web 編程實戰派 — 從入門到精通

作者 廖顯東

2013-01-01

Python 測試驅動開發 使用 Django Selenium 和 JavaScript 進行 Web 編程, 2/e

作者 [英]哈利·帕西瓦爾

2013-01-01