Pro Express.js: Master Express.js Front Cover

Pro Express.js: Master Express.js

  • Length: 372 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2014-12-24
  • ISBN-10: 1484200381
  • ISBN-13: 9781484200384
  • Sales Rank: #651318 (See Top 100 Books)
Description

Pro Express.js: Master Express.js: The Node.js Framework For Your Web Development

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.

What you’ll learn

  • How to start using Express.js efficiently.
  • How each feature of Express.js actually works, from config to routing, and more.
  • What frameworks have been built using Express.js and why you might use them in your work.
  • How to apply Express.js to real-world projects.

Who this book is for

This book is for the reader who is familiar with Node.js and can install packages with npm. They want to learn Express.js and quickly understand each feature of the API, in order to use it efficiently in their everyday development.

Table of Contents

Part One: Getting Started
Chapter 1. Starting with Express.js
Chapter 2. ‘Hello World’ Example

Part Two: Deep API Reference
Chapter 3. Configuration, Settings and Environments
Chapter 4. Working with Middleware
Chapter 5. Templating 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 Three: 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, Derby, LoopBack and Other Framework Usage

Part Four: Tutorials and Examples
Chapter 19. Instagram Gallery
Chapter 20. Todo App
Chapter 21. REST API
Chapter 22. HackHall

Chapter 23. Appendix A: Related Reading and Resources
Chapter 24. Appendix B: Migrating Express.js 3.x to 4.x: Middleware, Route and Other Changes
Chapter 25. Appendix C: Express js 4 Cheat Sheet
Chapter 26. Appendix D: ExpressWorks

To access the link, solve the captcha.