Pro Express.js

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...

Full description

Bibliographic Details
Main Author: Mardan, Azat. author (author)
Format: eBook
Language:Inglés
Published: Berkeley, CA : Apress 2014.
Edition:1st ed. 2014.
Series:The expert's voice in web development
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629812306719
Table of Contents:
  • ""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 Applicationâ€?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(â€?) and app.get(â€?)""; ""app.enable(â€?) and app.disable(â€?)""; ""app.enabled(â€?) and app.disabled(â€?)""; ""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(â€?) and request.get(â€?)""; ""Other Attributes and Methods""; ""Summary""; ""Chapter 8: Express.js Response Object""; ""response.render(â€?)""; ""response. locals""; ""response.set(â€?)""; ""response.status(â€?)""; ""response.send(â€?)""; ""response.json(â€?)""; ""response.jsonp(â€?)""; ""response.redirect(â€?)""; ""Other Response Methods and Properties""; ""Streams""; ""Summary""; ""Chapter 9: Error Handling and Running an App""; ""Error Handling""
  • ""Running an App""