Node.js Recipes
A Problem-Solution Approach
(Sprache: Englisch)
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...
Voraussichtlich lieferbar in 3 Tag(en)
versandkostenfrei
Buch (Kartoniert)
36.33 €
Produktdetails
Produktinformationen zu „Node.js Recipes “
Klappentext zu „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 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.
Inhaltsverzeichnis zu „Node.js Recipes “
Chapter 1: Understanding Node.js (30 pages) - Introductory chapter (not recipes format) to cover subheadings:
1. Installing Node.js on your machine
2.Installing Node Packaged Modules (NPM) registry
3.Understanding common JS modules
4. Writing modules for your application
5. Requiring modules in your application
6. Using NPM modules
7. Getting started with NPM and dependency management
8. Installing Node Version Manager (NVM)
9. Using multiple versions of Node.js on your machine
Chapter 2: Networking with Node.js (30 pages) Recipes format from here on out:
1.Setting up a server
2. Creating connections to your server
3. Configuring server defaults
4. Creating a client
5. Using sockets to communicate between servers
6. Retrieving details about connected servers
7. Controlling socket details
Chapter 3: Working with the FileSystem (30 Pages)
1. Retrieving directory structure
2. Navigating through directories
3. Manipulating directory structure
4. Watching a directory for modifications
5. Reading files
6. Writing files
7. Moving files
8. Symbolically linking files
9. Altering file permissions
10. Watching files for modifications
Chapter 4: Building a Web Server (30 Pages)
1. Setting up an HTTP server
2. Using SSL to build an HTTPS Server
3. Processing requests on your server
4. Sending responses from your server
5. Handling headers and status codes
6. Creating an HTTP client
7. Processing client responses
8. Processing client requests
9. Responding to events
10. Adding a static page via FileSystem
11. Consuming HTTP requests
Chapter 5: Using Events and Child Processes (30 pages)
1. Creating a custom event
2. Adding a listener for custom events
3. Implementing a one-time event
4. Reducing callbacks using events
5. Spawing a child with .spawn
6. Running shell commands with .exec
7. Executing shell files with .execFile
8. Using .fort for inter-process communication
Chapter 6:
... mehr
Implementing Security and Cryptography (30 pages)
1. Analyzing types of hash algorithms
2.Hashing data with createHash
3.Verifying file integrity with Hashes
4. Using hash-based message authentication code (HMAC) to verify and authenticate messages
5. Reviewing OpenSSL ciphers and security
6. Using OpenSSL ciphers to encrypt data
7. Using Node.js's transport layer security (TLS) module for securing your server
8. Encrypting user credentials with crypto
9.Using a third party authentication module
Chapter 7: Discovering Other Node.js Modules (30 pages)
1. Creating a simple DNS server with DNS
2. Handling streams with Buffer
3. Clustering with Node.js
4. Working with Query Strings
5. Processing events with 'Process'
6. Using Timers
7. Using the v8 DebuggerParsing URLs
8. Using the Console
Chapter 8: Creating a WebSocket Server (30 pages)
1.Implementing a websocket server with websocket-node
2. Listening for websocket events on the client
3. Building a websocket API
4. Using Socket.io for websocket communications
5. Communicating Server events via websockets
6. Handling websocket events in a browser
7. Two way communication with websockets
8. Building a multi-user whiteboard with Websockets
Chapter 9: Using Web Server Frameworks (40 pages)
1. Getting Started with ExpressJS
2. Using ExpressJS to generate an application
3. Scaffolding an application with ExpressJS
4. Rendering HTML with Jade
5. Routing with ExpressJS
6. Handling failed requests in your application
7. Designing a RESTful API with ExpressJS
8. Up and running with Tower.js
9. Using Yahoo! Mojito
10. Building a Flatiron application
Chapter 10: Connecting to a DataStore (30 pages)
1. Connect to MySQL
2. Connect to MS SQL Server
3. Use PostgreSQL with Node.js
4. Use Mongoose to connect to MongoDB
5. Modeling Data for Mongoose
6. Connecting to CouchDB
7. Using Redis
8. Leveraging asynchronous processes to optimize your database implementation
Chapter 11: Testing in Node.js (30 pages)
1.Choosing a framework based on your testing needs
2. Creating a simple test structure
3. Testing for asynchronous code
4. Testing for synchronous code
5. Analyzing test coverage
6. Reporting code coverage
7. Building a full test suit
8. Implementing testing into your workflow
9. Automating your testing
Chapter 12: Debugging and Deploying your Application (30 pages)
1. Logging information to the console
2. Debugging with the V8 debugger
3. Using a graphical debugging tool
4. Debugging your application in a production environment
5. Setting up a deployment process
6. Continuously running your server with Forever
7. Deploying your application on your own server
8.Publishing your code to NPM
9. Using Amazon Web Services to host your application
10. Deploying your application using Heroku
11. Deploying your application to Nodejitsu
12. Deploying to Windows Azure
1. Analyzing types of hash algorithms
2.Hashing data with createHash
3.Verifying file integrity with Hashes
4. Using hash-based message authentication code (HMAC) to verify and authenticate messages
5. Reviewing OpenSSL ciphers and security
6. Using OpenSSL ciphers to encrypt data
7. Using Node.js's transport layer security (TLS) module for securing your server
8. Encrypting user credentials with crypto
9.Using a third party authentication module
Chapter 7: Discovering Other Node.js Modules (30 pages)
1. Creating a simple DNS server with DNS
2. Handling streams with Buffer
3. Clustering with Node.js
4. Working with Query Strings
5. Processing events with 'Process'
6. Using Timers
7. Using the v8 DebuggerParsing URLs
8. Using the Console
Chapter 8: Creating a WebSocket Server (30 pages)
1.Implementing a websocket server with websocket-node
2. Listening for websocket events on the client
3. Building a websocket API
4. Using Socket.io for websocket communications
5. Communicating Server events via websockets
6. Handling websocket events in a browser
7. Two way communication with websockets
8. Building a multi-user whiteboard with Websockets
Chapter 9: Using Web Server Frameworks (40 pages)
1. Getting Started with ExpressJS
2. Using ExpressJS to generate an application
3. Scaffolding an application with ExpressJS
4. Rendering HTML with Jade
5. Routing with ExpressJS
6. Handling failed requests in your application
7. Designing a RESTful API with ExpressJS
8. Up and running with Tower.js
9. Using Yahoo! Mojito
10. Building a Flatiron application
Chapter 10: Connecting to a DataStore (30 pages)
1. Connect to MySQL
2. Connect to MS SQL Server
3. Use PostgreSQL with Node.js
4. Use Mongoose to connect to MongoDB
5. Modeling Data for Mongoose
6. Connecting to CouchDB
7. Using Redis
8. Leveraging asynchronous processes to optimize your database implementation
Chapter 11: Testing in Node.js (30 pages)
1.Choosing a framework based on your testing needs
2. Creating a simple test structure
3. Testing for asynchronous code
4. Testing for synchronous code
5. Analyzing test coverage
6. Reporting code coverage
7. Building a full test suit
8. Implementing testing into your workflow
9. Automating your testing
Chapter 12: Debugging and Deploying your Application (30 pages)
1. Logging information to the console
2. Debugging with the V8 debugger
3. Using a graphical debugging tool
4. Debugging your application in a production environment
5. Setting up a deployment process
6. Continuously running your server with Forever
7. Deploying your application on your own server
8.Publishing your code to NPM
9. Using Amazon Web Services to host your application
10. Deploying your application using Heroku
11. Deploying your application to Nodejitsu
12. Deploying to Windows Azure
... weniger
Autoren-Porträt von Cory Gackenheimer
Cory Gackenheimer is a software engineer from Indianapolis, Indiana. He studied Physics at Purdue University where he worked with image analysis software for nanoscale environments. His software experience has led him to utilize many different technologies including C#, C++, Visual Basic, SQL Server, MongoDB, Cassandra and, of course, JavaScript. He has a driving passion to learn new things and find more efficient processes and procedures. When he first encountered Node.js he realized the potential that utilizing the ubiquitous language of the web on the server was both efficient and revolutionary. Since then he has spent a considerable amount of time learning and building things with Node.js. Aside from hacking on code, he enjoys spending time with his family, running, cycling, or playing the occasional soccer game.
Bibliographische Angaben
- Autor: Cory Gackenheimer
- 2013, 1st ed., 376 Seiten, Maße: 19,1 x 23,5 cm, Kartoniert (TB), Englisch
- Verlag: Springer, Berlin
- ISBN-10: 1430260580
- ISBN-13: 9781430260585
Sprache:
Englisch
Kommentar zu "Node.js Recipes"
0 Gebrauchte Artikel zu „Node.js Recipes“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Node.js Recipes".
Kommentar verfassen