1.

Record Nr.

UNINA9910735399803321

Autore

Gackenheimer Cory

Titolo

Node.js recipes / / Cory Gackenheimer

Pubbl/distr/stampa

New York : , : Apress, , 2013

ISBN

1-4302-6059-9

Edizione

[1st ed. 2013.]

Descrizione fisica

1 online resource (xxvii, 347 pages) : illustrations (some color)

Collana

Expert's voice in Web development Node.js recipes

Disciplina

004

005.13

005.3

Soggetti

JavaScript (Computer program language)

Web site development

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

"Become a Node.js pro with this indispensable reference"--Cover.

Includes index.

Nota di bibliografia

Includes bibliographical references and index.

Nota di contenuto

""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""

Sommario/riassunto

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 relish in server-side programming but also web developers who understand the ubiquitous language of the web. Node.js Recipes covers all the essential ingredients required to become a seasoned Node.js developer in no time - make it your indispensable reference today.