

As skilled practitioners, expert teacher and trainer, and contributors to the core framework, author Mike Cantelon represent the best of the Node.js development community.
Meer over de auteursNode.js In Action
Samenvatting
JavaScript on the server? You bet. Node.js is a JavaScript server capable of supporting scalable, high-performance web applications. Using asynchronous I/O, the server can do more than one thing at a time, a key requirement for real-time apps like chat, games, and live statistics. And since it's JavaScript, you use the same language end to end.
'Node.js in Action' shows you how to build production-quality applications. Clear introductions of key concepts and example-by-example coverage take you from setup to deployment. You'll dive into asynchronous programming, data storage, and output templating, and interact with the filesystem to create non-HTTP applications like TCP/IP servers and command-line tools. Perfect for a web developer transitioning from Rails, Django, or PHP.
What's Inside
- Set up Node and extensions
- Grok asynchronous programming and the event loop
- Examples including microblogging, IM, games, and more
Requires basic knowledge of JavaScript. No prior experience with Node.js needed.
Specificaties
Over Alex Young
Over Marc Harter
Over Nathan Rajlich
Inhoudsopgave
Preface
Acknowledgments
About this book
About the cover illustration
Part 1: Node fundamentals
1. Welcome to Node.js
-Built on JavaScript
-Asynchronous and evented: the browser
-Asynchronous and evented: the server
-DIRTy applications
-DIRTy by default
-Summary
2. Building a multiroom chat application
-Application overview
-Application requirements and initial setup
-Serving the application's HTML, CSS, and client-side JavaScript
-Handling chat-related messaging using Socket.IO
-Using client-side JavaScript for the application's user interface
-Summary
3. Node programming fundamentals
-Organizing and reusing Node functionality
-Asynchronous programming techniques
-Sequencing asynchronous logic
-Summary
Part 2: Web application development with Node
4. Building Node web applications
-HTTP server fundamentals
-Building a RESTful web service
-Serving static files
-Accepting user input from forms
-Securing your application with HTTPS
-Summary
5. Storing Node application data
-Serverless data storage
-Relational database management systems
-NoSQL databases
-Summary
6. Connect
-Setting up a Connect application
-How Connect middleware works
-Why middleware ordering matters
-Mounting middleware and servers
-Creating configurable middleware
-Using error-handling middleware
-Summary
7. Connect's built-in middleware
-Middleware for parsing cookies, request bodies, and query strings
-Middleware that implements core web application functions
-Middleware that handles web application security
-Middleware for serving static files
-Summary
8. Express
-Generating the application skeleton
-Configuring Express and your application
-Rendering views
-Handling forms and file uploads
-Handling resource downloads
-Summary
9. Advanced Express
-Authenticating users
-Advanced routing techniques
-Creating a public REST API
-Error handling
-Summary
10. Testing Node applications
-Unit testing
-Acceptance testing
-Summary
11. Web application templating
-Using templating to keep code clean
-Templating with Embedded JavaScript
-Using the Mustache templating language with Hogan
-Templating with Jade
-Summary
Part 3: Going further with Node
12. Deploying Node applications and maintaining uptime
-Hosting Node applications
-Deployment basics
-Maximizing uptime and performance
-Summary
13. Beyond web servers
-Socket.IO
-TCP/IP networking in depth
-Tools for interacting with the operating system
-Developing command-line tools
-Summary
14. The Node ecosystem
-Online resources for Node developers
-GitHub
-Contributing to the npm repository
-Summary
Appendix A: Installing Node and community add-ons
Appendix B: Debugging Node
Appendix C: Extending and configuring Express
Index
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht