Book description
Pro Express.js is for the reader who wants to quickly get up-to-speed with Express.js, the flexible Node.js framework. Author Azat Mardan clearly explains how to start developing with Express.js with a basic 'Hello World', and then delves into a deep API reference, before looking at common and abstract development problems. Lastly, you will learn how to build a series of real-world apps in order to cement your knowledge.
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 Pro Express.js to your library today.
Table of contents
- Cover
- Title
- Copyright
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewers
- Foreword
- Acknowledgments
- Introduction
- Part I: Getting Started
-
Part II: Deep API Reference
- Chapter 3: Configuration, Settings, and Environments
- Chapter 4: Working with Middleware
- Chapter 5: Template Engines and Consolidate.js
- Chapter 6: Parameters and Routing
- Chapter 7: Express.js Request Object
- Chapter 8: Express.js Response Object
- Chapter 9: Error Handling and Running an App
-
Part III: Solving Common and Abstract Problems
- Chapter 10: Abstraction
- Chapter 11: Database, Keys and Stream Tips
- Chapter 12: Redis and Authentication Patterns
- Chapter 13: Multithreading with Clusters
- Chapter 14: Applying Stylus, Less, and Sass
- Chapter 15: Security Tips
- Chapter 16: Socket.IO and Express.js
- Chapter 17: Domain and Express.js
- Chapter 18: Sails.js, DerbyJS, LoopBack, and Other Frameworks
-
Part IV: Tutorials and Examples
- Chapter 19: Instagram Gallery
- Chapter 20: Todo App
- Chapter 21: REST API
- Chapter 22: HackHall
- Appendix A: Related Reading and Resources
- Appendix B: Migrating Express.js 3.x to 4.x: Middleware, Route, and Other Changes
- Appendix C: Express.js 4 Cheat Sheet
- Appendix D: ExpressWorks
- Index
Product information
- Title: Pro Express.js
- Author(s):
- Release date: December 2014
- Publisher(s): Apress
- ISBN: 9781484200377
You might also like
book
Node.js 8 the Right Way
Node.js is the platform of choice for creating modern web services. This fast-paced book gets you …
book
Express.js Deep API Reference
Express.js Deep API Reference is your short, concise guide to Express.js APIs. This flexible Node.js web …
book
RESTful Web API Design with Node.js 10 - Third Edition
Design and implement scalable and maintainable RESTful solutions with Node.js 10 About This Book Create rich …
book
Advanced Node.js Development
Takes you through creating your own API, building a full real-time web app, securing your Node …