Master Express.js: The Node.js Framework For Your Web Development
Buch, Englisch, 372 Seiten, Format (B × H): 191 mm x 235 mm, Gewicht: 6923 g
ISBN: 978-1-4842-0038-4
Verlag: Apress
In order to get the best from this book, you will be familiar with Node.js scripts and able to install packages using npm. In the deep API reference, each aspect of the Express.js API is explained clearly with a simple exercise to demonstrate its usage. This includes configuration, settings and environments; different middleware and its uses; templating engines; extracting parameters and routing; request and response; error handling; and running an app. In the next part you'll delve into abstraction, streams, authentication, multithreading, Socket.io, security, and more complex modules. You will also learn about smaller frameworks built using Express.js, such as Sails.js, and Derby. Finally you'll build real-world apps including a REST API, Todo App, and Instagram gallery.
Express.js is used by a range of well-known companies such as MySpace and Storify, and it's becoming more and more likely that it'll be a required skill for new developers. With this book you can skip learning via complicated documentation, and get the information from a developer who's been using Express.js for long enough to explain things well. Add to your library today.
Zielgruppe
Popular/general
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Part One: Getting Started
1. Starting with Express.js
2. ‘Hello World’ Example
Part Two: Deep API Reference
3. Configuration, Settings and Environments
4. Working with Middleware
5. Templating Engines and Consolidate.js
6. Parameters and Routing
7. Express.js Request Object
8. Express.js Response Object
9. Error Handling and Running an App
Part Three: Solving Common and Abstract Problems
10. Abstraction
11. Database, Keys and Stream Tips
12. Redis and Authentication Patterns
13. Multithreading with Clusters
14. Applying Stylus, Less, and Sass
15. Security Tips
16. Socket.IO and Express.js
17. Domain and Express.js
18. Sails.js, Derby, LoopBack and Other Framework Usage
Part Four: Tutorials and Examples
19. Instagram Gallery
20. Todo App
21. REST API
22. HackHall
23. Appendix A: Related Reading and Resources
24. Appendix B: Migrating Express.js 3.x to 4.x: Middleware, Route and Other Changes
25. Appendix C: Express js 4 Cheat Sheet
26. Appendix D: ExpressWorks