Pro Express.js

Pro Express.js

4.11 - 1251 ratings - Source

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,, 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 youa€™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 1. Starting with Express.js 2. a€˜Hello Worlda€™ 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: ExpressWorksTemplate engines are libraries that allow us to use different template languages ( EJS, Handlebars, Jade, etc.). But what is a template language? Template language is a special set of instructions (syntax and control structures) that instructs theanbsp;...

Title:Pro Express.js
Author:Azat Mardan
Publisher:Apress - 2014-12-24


You Must CONTINUE and create a free account to access unlimited downloads & streaming