Learning Node. Moving to the Server-Side. 2nd Edition - Helion
ISBN: 978-14-919-4307-6
stron: 288, Format: ebook
Data wydania: 2016-05-24
Księgarnia: Helion
Cena książki: 118,15 zł (poprzednio: 137,38 zł)
Oszczędzasz: 14% (-19,23 zł)
Take your web development skills from browser to server with Node—and learn how to write fast, highly scalable network applications on this JavaScript-based platform. Updated for the latest Node Long Term Support (LTS) and Node Current (6.0) releases, this hands-on edition helps you master Node’s core fundamentals and gain experience with several built-in and contributed modules.
Get up to speed on Node’s event-driven, asynchronous I/O model for developing data-intensive applications that are frequently accessed but computationally simple. If you’re comfortable working with JavaScript, this book provides many programming and deployment examples to help you take advantage of server-side development with Node.
- Explore the frameworks and functionality for full-stack Node development
- Dive into Node’s module system and package management support
- Test your application or module code on the fly with Node’s REPL console
- Use core Node modules to build web applications and an HTTP server
- Learn Node’s support for networks, security, and sockets
- Access operating system functionality with child processes
- Learn tools and techniques for Node development and production
- Use Node in microcontrollers, microcomputers, and the Internet of Things
Osoby które kupowały "Learning Node. Moving to the Server-Side. 2nd Edition", wybierały także:
- Node.js i TypeScript. Kurs video. Tworzenie skalowalnych mikroserwisów 169,00 zł, (50,70 zł -70%)
- Tablice informatyczne. Node.js 16,86 zł, (5,90 zł -65%)
- Node.js. Kurs video. Tworzenie skalowalnych aplikacji webowych 79,00 zł, (31,60 zł -60%)
- Node.js. Projektowanie, wdrażanie i utrzymywanie aplikacji 54,90 zł, (27,45 zł -50%)
- Platforma Node.js. Przewodnik webdevelopera. Wydanie III 58,98 zł, (29,49 zł -50%)
Spis treści
Learning Node. Moving to the Server-Side. 2nd Edition eBook -- spis treści
- Preface
- Who This Book Is For
- Book Structure
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. The Node Environment
- Installing Node
- Saying Hello to the World with Node
- A Basic Hello World Application
- Hello World, Tweaked
- Node Command-Line Options
- Node Hosting Environments
- Hosting Node on Your Server, VPS, or Managed Host
- Cloud Hosting
- The Node LTS and Upgrading Node
- Nodes New Semantic Versioning
- Upgrading Node
- Node, V8, and ES6
- Advanced: Node C/C++ Add-ons
- 2. Node Building Blocks: Global Objects, Events, and Nodes Asynchronous Nature
- The global and process Objects
- The global Object
- The process Object
- Buffers, Typed Arrays, and Strings
- Buffer, JSON, StringDecoder, and UTF-8 Strings
- Buffer Manipulation
- Nodes Callback and Asynchronous Event Handling
- The Event Queue (Loop)
- Creating an Asynchronous Callback Function
- EventEmitter
- The Node Event Loop and Timers
- Nested Callbacks and Exception Handling
- The global and process Objects
- 3. Basics of Node Modules and Node Package Manager (npm)
- An Overview of the Node Module System
- How Node Finds and Loads a Module
- Sandboxing and the VM Module
- An In-Depth Exploration of NPM
- Creating and Publishing Your Own Node Module
- Creating a Module
- Packaging an Entire Directory
- Preparing Your Module for Publication
- Publishing the Module
- Discovering Node Modules and Three Must-Have Modules
- Better Callback Management with Async
- Command-Line Magic with Commander
- The Ubiquitous Underscore
- An Overview of the Node Module System
- 4. Interactive Node with REPL and More on the Console
- REPL: First Looks and Undefined Expressions
- Benefits of REPL: Getting a Closer Understanding of JavaScript Under the Hood
- Multiline and More Complex JavaScript
- REPL Commands
- REPL and rlwrap
- Custom REPL
- Stuff HappensSave Often
- The Necessity of the Console
- Console Message Types, Console Class, and Blocking
- Formatting the Message, with Help from util.format() and util.inspect()
- Providing Richer Feedback with console and a Timer
- 5. Node and the Web
- The HTTP Module: Server and Client
- Whats Involved in Creating a Static Web Server
- Using Apache to Proxy a Node Application
- Parsing the Query with Query String
- DNS Resolution
- 6. Node and the Local System
- Exploring the Operating System
- Streams and Pipes
- A Formal Introduction to the File System
- The fs.Stats Class
- The File System Watcher
- File Read and Write
- Directory Access and Maintenance
- File Streams
- Resource Access with Path
- Creating a Command-Line Utility
- Compression/Decompression with ZLib
- Pipes and ReadLine
- 7. Networking, Sockets, and Security
- Servers, Streams, and Sockets
- Sockets and Streams
- TCP Sockets and Servers
- UDP/Datagram Socket
- Guards at the Gate
- Setting Up TLS/SSL
- Working with HTTPS
- The Crypto Module
- Servers, Streams, and Sockets
- 8. Child Processes
- child_process.spawn
- child_process.exec and child_process.execFile
- child_process.fork
- Running a Child Process Application in Windows
- child_process.spawn
- 9. Node and ES6
- Strict Mode
- let and const
- Arrow Functions
- Classes
- Promises with Bluebird
- 10. Full-Stack Node Development
- The Express Application Framework
- MongoDB and Redis Database Systems
- MongoDB
- Redis Key/Value Store
- AngularJS and Other Full-Stack Frameworks
- 11. Node in Development and Production
- Debugging Node Applications
- The Node Debugger
- Node Inspector
- Unit Testing
- Unit Testing with Assert
- Unit Testing with Nodeunit
- Other Testing Frameworks
- Mocha
- Vows
- Keeping Node Up and Running
- Benchmark and Load Testing with Apache Bench
- Debugging Node Applications
- 12. Node in New Environments
- Samsung IoT and GPIO
- Windows with Chakra Node
- Node for Microcontrollers and Microcomputers
- Fritzing
- Node and Adruino
- Node and Raspberry Pi 2
- Index