Free Sample
+ Collection

Express Web Application Development

Hage Yaapa

Here’s a comprehensive guide to making the most of Express’s flexibility in building web applications. With lots of screenshots and examples, it’s the perfect step-by-step manual for those with an intermediate knowledge of JavaScript.
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849696548
Paperback236 pages

About This Book

  • Exploring all aspects of web development using the Express framework
  • Starts with the essentials
  • Expert tips and advice covering all Express topics

Who This Book Is For

If you are looking to use Express to build your next web application, "Express Web Application Development" will help you get started and take you right through to Express' advanced features. You will need to have an intermediate knowledge of JavaScript to get the most out of this book.

Table of Contents

Chapter 1: What is Express?
What is Express?
Installing Express
The stuff that makes up Express
Concepts used in Express
Chapter 2: Your First Express App
Your first Express app
Auto-generating an Express app
Empowering Express with middlewares
Empowering Express with Node modules
Logging requests to the App
Using a configuration file
Setting and getting application options
Express in different environments
Chapter 3: Understanding Express Routes
What are Routes?
Revisiting the router middleware
Defining routes for the app
How to handle routes
How to organize routes
Chapter 4: Response From the Server
A primer on HTTP response
HTTP response in Express
Chapter 5: The Jade Templating Language
What is Jade?
Generating HTML tags
Creating text content
Declaring the document's Doctype
Programmability in Jade
Chapter 6: The Stylus CSS Preprocessor
Enabling Stylus in Express
Built-in functions
Chapter 7: Forms, Cookies, and Sessions
Using forms to submit data
Data in named segments
Using cookies to store data
Using sessions to store data
Chapter 8: Express in Production
What the is production environment?
Benchmarking the app
Creating an app cluster
Handling critical events
Ensuring uptime
Using a reverse proxy

What You Will Learn

  • Understand the core concepts and objects that make up the Express framework and an Express app
  • Create Jade-based views for Express apps and render them
  • Create routes for an Express app and handle them
  • Serve different kinds of responses and handle various kinds of errors
  • Create dynamic apps using HTML forms, cookies, and sessions
  • Learn about the Jade HTML templating language in detail
  • Learn about the Stylus CSS pre-processor syntax and language in detail
  • Customize and prepare your Express apps to make them production ready

In Detail

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications. It provides a thin layer of features fundamental to any web application, without obscuring features that developers know and love in node.js.

"Express Web Application Development" is a comprehensive guide for those looking to learn how to use the Express web framework for web application development.

Starting with the initial setup of the Express web framework, "Express Web Application Development" helps you to understand the fundamentals of the framework. By the end of "Express Web Application Development", you will have acquired enough knowledge and skills to create production-ready Express apps. All of this is made possible by the incremental introduction of more advanced topics, starting from the very essentials.

On the way to mastering Express for application development, we teach you the more advanced topics such as routes, views, middleware, forms, sessions, cookies and various other aspects of configuring an Express application. Jade; the recommended HTML template engine, and Stylus; the CSS pre-processor for Express, are covered in detail.

Last, but definitely not least, Express Web Application Development also covers practices and setups that are required to make Express apps production-ready.


Read More