Регистрация ·  Логин: Пароль: Запомнить   · Забыли пароль?




Ответить на тему
Автор Сообщение

Модератор
Аватара пользователя

С нами: 11 лет
Сообщения: 7870
Молдова

Сообщение 12 янв 2016, 00:07 

[Цитировать]

Node.js for PHP Developers


Год: November 2012
Автор: Daniel Howard
Издательство: O'Reilly Media
ISBN: 978-1-4493-3360-7
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 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
Chapter 1 : Node.js Basics
The node and npm Executables
Stack Traces
Eclipse PDT

Chapter 2 : A Simple Node.js Framework
An HTTP Server
Predefined PHP Variables
A PHP Example Page

Chapter 3 : Simple Callbacks
Linearity
Making Code Linear

Chapter 4 : Advanced Callbacks
Anonymous Functions, Lambdas, and Closures
PHP 5.3
PHP 4

Chapter 5 : HTTP Responses
Headers
Body
A PHP Example Page

Chapter 6 : Syntax
String Literals
Syntax Differences
PHP Alternative Syntax

Chapter 7 : Variables
Simple Variables
Array Variables
Other Variable Types
Undefined Variables
Scope

Chapter 8 : Classes
Encapsulation
Inheritance
PHP parent and static Keywords

Chapter 9 : File Access
Reading and Writing Files
PHP file() API Function
Low-Level File Handling
Filenames

Chapter 10 : MySQL Access
Database Approaches
node-mysql

Chapter 11 : Plain Text, JSON, and XML
Plain Text
JSON
XML

Chapter 12 : Miscellaneous Functions
Array
Time and Date
File
JSON
Math
String
Type
Text
MySQL
Variable
php.js License

Colophon
Download
Для скачивания .torrent файлов необходима регистрация
Сайт не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм

Страница 1 из 1

Ответить на тему

   Похожие торренты   Торрент