Pro Express.js [electronic resource] :  Master Express.js: The Node.js Framework For Your Web Development /
Mardan, Azat.author.
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.
Description based upon print version of record.
""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewers""; ""Foreword""; ""Acknowledgments""; ""Introduction""; ""Part i: Getting Started""; ""Chapter 1: Starting with Express.js""; ""How Express.js Works""; ""Third-Party Dependencies""; ""Instantiations""; ""Connecting to Databases""; ""Configuring Express.js App Settings""; ""Defining Middleware""; ""Defining Routes""; ""Starting the App""; ""Express.js Installation""; ""Express.js Generator In stallation""; ""Summary""; ""Chapter 2: Hello World Example""; ""Getting Started""; ""Using Request Handlers""
""Outputting Terminal Messages""""Enhancing the App""; ""Generator Commands""; ""Generating a Skeleton Express.js app""; ""Reviewing the Applicationâ€?s Structure""; ""App.js""; ""MVC Structure and Modules""; ""Watching for File Changes""; ""Summary""; ""Part II: Deep API Reference""; ""Chapter 3: Configuration, Settings, and Environments""; ""Configuration""; ""app.set(â€?) and app.get(â€?)""; ""app.enable(â€?) and app.disable(â€?)""; ""app.enabled(â€?) and app.disabled(â€?)""; ""Settings""; ""env""; ""view cache""; ""view engine""; ""views""; ""trust proxy""; ""jsonp callback name""
""json replacer and json spaces""""case sensitive routing""; ""strict routing""; ""x-powered-by""; ""etag""; ""query parser""; ""subdomain offset""; ""Environments""; ""Summary""; ""Chapter 4: Working with Middleware""; ""Applying Middleware""; ""Essential Middleware""; ""compression""; ""morgan""; ""body-parser""; ""urlencoded()""; ""cookie-parser""; ""express-session""; ""csurf""; ""express.static()""; ""connect-timeout""; ""errorhandler""; ""method-override""; ""response-time""; ""serve-favicon""; ""serve-index""; ""vhost""; ""connect-busboy""; ""Other Middleware""; ""Summary""
""Chapter 5: Template Engines and Consolidate.js""""How to Use Template Engines""; ""app.engine()""; ""Uncommon Libraries""; ""Template Engine Choices""; ""Jade""; ""Haml.js""; ""EJS""; ""Handlebars.js""; ""Hogan.js Adapters""; ""Combyne.js""; ""Swig""; ""Whiskers""; ""Blade""; ""Haml-Coffee""; ""Webfiller""; ""Consolidate.js""; ""Summary""; ""Chapter 6: Parameters and Routing""; ""Parameters""; ""app.param()""; ""Routing""; ""app.VERB()""; ""app.all()""; ""Trailing Slashes""; ""Router Class""; ""router.route(path)""; ""Request Handlers""; ""Summary""; ""Chapter 7: Express.js Request Object""
""request.query""""request.params""; ""request.body""; ""request.route""; ""request.cookies""; ""request.signedCookies""; ""request.header(â€?) and request.get(â€?)""; ""Other Attributes and Methods""; ""Summary""; ""Chapter 8: Express.js Response Object""; ""response.render(â€?)""; ""response. locals""; ""response.set(â€?)""; ""response.status(â€?)""; ""response.send(â€?)""; ""response.json(â€?)""; ""response.jsonp(â€?)""; ""response.redirect(â€?)""; ""Other Response Methods and Properties""; ""Streams""; ""Summary""; ""Chapter 9: Error Handling and Running an App""; ""Error Handling""
""Running an App""
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.
Computer programming.
Software engineering.
Web Development.
Software Engineering/Programming and Operating Systems.