Book description
For experienced JavaScript developers this book is all you need to build highly scalable, robust applications using Express. It takes you step by step through the development of a single page application so you learn empirically.
- Learn how to build scalable, robust, and reliable web applications with Express using a test-first, feature-driven approach
- Full of practical tips and real world examples, and delivered in an easy-to-read format
- Explore and tackle the issues you encounter in commercially developing and deploying an Express application
In Detail
Building an Express application that is reliable, robust, maintainable, testable, and can scale beyond a single server requires a bit of extra thought and effort. Express applications that need to survive in a production environment will need to reach out to the Node ecosystem and beyond, for support.
You will start by laying the foundations of your software development journey, as you drive-out features under test. You will move on quickly to expand on your existing knowledge, learning how to create a web API and a consuming client. You will then introduce a real-time element in your application.
Following on from this, you will begin a process of incrementally improving your application as you tackle security, introduce SSL support, and how to handle security vulnerabilities. Next, the book will take you through the process of scaling and then decoupling your application. Finally, you will take a look at various ways you can improve your application's performance and reliability.
Table of contents
-
Advanced Express Web Application Development
- Table of Contents
- Advanced Express Web Application Development
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Foundations
- Feature set
- Installation
- package.json
- Testing Express with Mocha and SuperTest
- Feature: Heartbeat
- Continuous testing with Mocha
- Code coverage with Mocha and JSCoverage
- Configuring Express with Nconf
- Extracting routes
- 404 handling middleware
- Logging middleware
- Logging with Winston
- Task automation with Grunt
- Summary
-
2. Building a Web API
- Persisting data with MongoDB and Mongoose
- GitHub tokens
- Feature: Create a project
- Feature: Get a project
- Feature: Edit a project
- Feature: Delete a project
- Feature: List projects
- GitHub API
- Feature: List repositories
- Feature: List commits
- Feature: List issues
- Validating parameters with param middleware
- Route improvements
- Summary
-
3. Templating
- Server-side templating
- Feature: Master Page
- Package management with Bower
- Templates
- Client-side development with Backbone.js
- Feature: List projects
- Feature: List repositories
- Feature: Create a project
- Feature: Edit a project
- Feature: Delete a project
- Feature: List commits
- Feature: List issues
- Summary
- 4. Real-time Communication
- 5. Security
- 6. Scaling
- 7. Production
- Index
Product information
- Title: Advanced Express Web Application Development
- Author(s):
- Release date: November 2013
- Publisher(s): Packt Publishing
- ISBN: 9781783282494
You might also like
book
Express Web Application Development
Here’s a comprehensive guide to making the most of Express’s flexibility in building web applications. With …
book
Ajax Design Patterns
Ajax, or Asynchronous JavaScript and XML, exploded onto the scene in the spring of 2005 and …
book
Express.js Deep API Reference
Express.js Deep API Reference is your short, concise guide to Express.js APIs. This flexible Node.js web …
book
Web Animation using JavaScript: Develop and Design
We’ve come a long way since the days of flashing banner ads and scrolling news tickers. …