Node: Up and Running. Scalable Server-Side Code with JavaScript - Helion
ISBN: 978-14-493-3695-0
stron: 204, Format: ebook
Data wydania: 2012-04-23
Księgarnia: Helion
Cena książki: 109,65 zł (poprzednio: 127,50 zł)
Oszczędzasz: 14% (-17,85 zł)
This book introduces you to Node, the new web development framework written in JavaScript. You'll learn hands-on how Node makes life easier for experienced JavaScript developers: not only can you work on the front end and back end in the same language, you'll also have more flexibility in choosing how to divide application logic between client and server.
Written by a core contributor to the framework, Node: Up and Running shows you how Node scales up to support large numbers of simultaneous connections across multiple servers, and scales down to let you create quick one-off applications with minimal infrastructure. Built on the V8 JavaScript engine that runs Google Chrome, Node is already winning the hearts and minds of many companies, including Google and Yahoo! This book shows you why.
- Understand Node's event-loop architecture, non-blocking I/O, and event-driven programming
- Discover how Node supports a variety of database and data storage tools
- Learn best practices for writing easy-to-maintain code for Node
- Get concrete examples of how to use the various Node APIs in practice
- Take advantage of the book’s complete API reference
Osoby które kupowały "Node: Up and Running. Scalable Server-Side Code with JavaScript", wybierały także:
- D3.js w akcji 67,42 zł, (20,90 zł -69%)
- Tablice informatyczne. Node.js 16,86 zł, (5,90 zł -65%)
- Testowanie aplikacji w React.js. Kurs video. Praca z biblioteką Jest.js 69,00 zł, (27,60 zł -60%)
- JavaScript. Kurs video. Programowanie funkcyjne i reaktywne 98,98 zł, (39,59 zł -60%)
- AngularJS. Kurs video. Poziom pierwszy. Tworzenie aplikacji 119,00 zł, (47,60 zł -60%)
Spis treści
Node: Up and Running. Scalable Server-Side Code with JavaScript eBook -- spis treści
- Node: Up and Running
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Foreword by Ryan Dahl
- Foreword by Brendan Eich
- Preface
- Introduction
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- Toms Thanks
- I. Up and Running
- 1. A Very Brief Introduction to Node.js
- Installing Node.js
- First Steps in Code
- Node REPL
- A First Server
- Why Node?
- High-Performance Web Servers
- Professionalism in JavaScript
- Browser Wars 2.0
- 2. Doing Interesting Things
- Building a Chat Server
- Lets Build Twitter
- 3. Building Robust Node Applications
- The Event Loop
- Patterns
- The I/O Problem Space
- Unordered parallel I/O
- Ordered serial I/O
- The I/O Problem Space
- Writing Code for Production
- Error Handling
- Using Multiple Processors
- 1. A Very Brief Introduction to Node.js
- II. Deep Dive and API Reference
- 4. Core APIs
- Events
- EventEmitter
- Callback Syntax
- HTTP
- HTTP Servers
- HTTP Clients
- Making HTTP GET requests
- Uploading data for HTTP POST and PUT
- The ClientResponse object
- URL
- querystring
- I/O
- Streams
- Readable streams
- Filesystem
- Buffers
- A quick primer on binary
- Binary and strings
- Using Buffers
- Working with strings
- console.log
- Streams
- Events
- 5. Helper APIs
- DNS
- Crypto
- Hashing
- HMAC
- Public Key Cryptography
- Encrypting with Cipher
- Decrypting with Decipher
- Creating signatures using Sign
- Verifying signatures with Verify
- Processes
- process Module
- process events
- Interacting with the current Node process
- Operating system input/output
- process.stdin
- process.stderr
- Event loop and tickers
- Child Process
- child_process.exec( )
- child_process.spawn( )
- process Module
- Testing Through assert
- VM
- 6. Data Access
- NoSQL and Document Stores
- CouchDB
- Installation
- Installing CouchDB
- Installing CouchDBs Node module
- Using CouchDB over HTTP
- Using node-couchdb
- Working with databases
- Creating documents
- Reading documents
- Updating documents
- Deleting documents
- Installation
- Redis
- Installation
- Installing Redis
- Installing Rediss Node module
- Basic usage
- Hashes
- Lists
- Sets
- Sorted sets
- Subscriptions
- Securing Redis
- Installation
- MongoDB
- MongoDB native driver
- Installation
- Data types
- Writing records
- Mongoose
- Installation
- Defining schemas
- Manipulating collections
- Performance
- MongoDB native driver
- CouchDB
- Relational Databases
- MySQL
- Using NodeDB
- Installation
- Selection
- Insertion
- Updating
- Deletion
- Sequelize
- Using NodeDB
- PostgreSQL
- Installation
- Selection
- Insertion, updates, and deletion
- MySQL
- Connection Pooling
- MQ Protocols
- RabbitMQ
- Installing RabbitMQ
- Publish and subscribe
- Work queues
- RabbitMQ
- NoSQL and Document Stores
- 7. Important External Modules
- Express
- A Basic Express App
- Setting Up Routes in Express
- Handling Form Data
- Template Engines
- Layouts and partial views
- Middleware
- Middleware factories
- Socket.IO
- Namespaces
- Using Socket.IO with Express
- Express
- 8. Extending Node
- Modules
- Package Manager
- Searching Packages
- Creating Packages
- Publishing Packages
- Linking
- Add-ons
- 4. Core APIs
- Glossary
- Index
- About the Authors
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly