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




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

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

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

Сообщение 11 янв 2016, 21:26 

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

Node for front-end developers


Год: 2012
Автор: Means G.
Жанр: компьютерная литература
Издательство: O'Reilly
ISBN: 978-1-449-31883-3
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Описание: Node.js is a software system designed for writing scalable internet applications, notably web servers. Programs are written in JavaScript, using event-driven, asynchronous I/O to minimize overhead and maximize scalability. Node.js consists of Google's V8 JavaScript engine plus several built-in libraries.
Node.js was created by Ryan Dahl starting in 2009, and its growth is sponsored by Joyent, his employer.
Similar environments written in other programming languages include Twisted for Python, Perl Object Environment for Perl, libevent for C and EventMachine for Ruby. Unlike most JavaScript programs, it is not executed in a web browser, but is instead a server-side JavaScript application. Node.js implements some CommonJS specifications. It provides a REPL environment for interactive testing.
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
1. Getting Node Set Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Node and NPM 1
REPL 2
File Organization 3
2. Serving Simple Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Writing a Response Manually 5
Serving a Static Page 6
Serving Client-Side Assets 8
Adding In Middleware 10
3. Interaction with the Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Receiving Data from the Querystring 13
Routing and Receiving Data from a Path 14
Receiving Data from a POST 15
Responding to Asynchronous Requests 16
Real-Time Communication 17
4. Server-Side Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Creating a Dynamic Page 21
Partial Templates 24
Parsing Other File Types 26
Creating Files on the Fly 27
5. Data Sources and Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Connecting to a Database 29
Storing Data in Files 32
Callbacks and Messaging 33
iii
6. Model-View-Controller and Sharing Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Implementing the MVC Pattern 37
Out-of-the-Box MVC 42
Sharing Modules Between the Client and Server 43
Postscript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
[/spoiler
Download
Для скачивания .torrent файлов необходима регистрация
Сайт не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм

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

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

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