Node.js recipes
Node.js Recipes is your one-stop reference for solving Node.js problems. Filled with useful recipes that follow a problem/solution format, you can look up recipes for many situations that you may come across in your day-to-day server-side development. Node.js is accessible to those who not only reli...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
New York :
Apress
2013.
|
Edición: | 1st ed. 2013. |
Colección: | Expert's voice in Web development.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629635906719 |
Tabla de Contenidos:
- ""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewers""; ""Acknowledgments""; ""Chapter 1: Understanding Node.js""; ""1-1. Installing Node.js on Your Machine""; ""Windows""; ""OS X""; ""Ubuntu and Linux Mint""; ""Fedora""; ""Arch Linux""; ""FreeBSD and OpenBSD""; ""openSUSE""; ""Windows""; ""OS X""; ""1-2. Installing the npm Package Manager""; ""1-3. Understanding CommonJS Modules""; ""Module Context""; ""Module Identifiers""; ""1-4. Writing Modules for Your Application""; ""1-5. Requiring Modules in Your Application""; ""1-6. Using npm Modules""
- ""1-7. Getting Started with npm and Dependency""""name""; ""version""; ""description""; ""keywords""; ""homepage""; ""bugs""; ""license""; ""author, contributors""; ""files""; ""main""; ""bin""; ""repository""; ""config""; ""dependencies""; ""devDependencies""; ""bundledDependencies""; ""optionalDependencies""; ""Engines""; ""OS and CPU""; ""preferGlobal""; ""1-8. Installing a Node.js Version Manager""; ""1-9. Using Multiple Versions of Node.js on Your Machine""; ""nvm""; ""nave""; ""n""; ""Summary""; ""Chapter 2: Networking with Node.js""; ""2-1. Setting Up a Server""; ""Problem""
- ""Solution""""How It Works""; ""2-2. Creating Connections to Your Server""; ""Problem""; ""Solution""; ""How It Works""; ""2-3. Configuring Server Defaults""; ""Problem""; ""Solution""; ""How It Works""; ""2-4. Creating a Client""; ""Problem""; ""Solution""; ""How It Works""; ""2-5. Using Sockets to Communicate Between Servers""; ""Problem""; ""Solution""; ""How It Works""; ""2-6. Retrieving Details About Connected Servers""; ""Problem""; ""Solution""; ""How It Works""; ""Chapter 3: Using the File System""; ""3-1. Retrieving Directory Structures""; ""Problem""; ""Solution""; ""How It Works""
- ""3-2. Navigating Through Directories""""Problem""; ""Solution""; ""How It Works""; ""3-3. Manipulating the Directory Structure""; ""Problem""; ""Solution""; ""How It Works""; ""3-4. Watching a Directory for Modifications""; ""Problem""; ""Solution""; ""How It Works""; ""3-5. Reading Files""; ""Problem""; ""Solution""; ""How It Works""; ""3-6. Writing Files""; ""Problem""; ""Solution""; ""How It Works""; ""3-7. Moving Files""; ""Problem""; ""Solution""; ""How It Works""; ""3-8. Symbolically Linking Files""; ""Problem""; ""Solution""; ""How It Works""; ""3-9. Altering File Permissions""
- ""Problem""""Solution""; ""How It Works""; ""3-10. Watching Files for Modifications""; ""Problem""; ""Solution""; ""How It Works""; ""Chapter 4: Building a Web Server""; ""4-1. Setting Up an HTTP Server""; ""Problem""; ""Solution""; ""How It Works""; ""4-2. Using SSL to Build an HTTPS Server""; ""Problem""; ""Solution""; ""How It Works""; ""4-3. Processing Requests on Your Server""; ""Problem""; ""Solution""; ""How It Works""; ""4-4. Sending Responses from Your Server""; ""Problem""; ""Solution""; ""How It Works""; ""4-5. Handling Headers and Status Codes""; ""Problem""; ""Solution""
- ""How It Works""