Szczegóły ebooka

Advanced Express Web Application Development. 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

Advanced Express Web Application Development. 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

Andrew Keig

Ebook
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.
  • Advanced Express Web Application Development
    • Table of Contents
    • Advanced Express Web Application Development
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 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
      • Caching data with Redis
      • Populating Redis
      • Socket.IO
      • Socket.IO on the client
      • Scheduling Redis population
      • Summary
    • 5. Security
      • Setting up Passport
      • Acceptance testing with Cucumber and Zombie.js
      • Feature: Authentication
        • Scenario: User logs in successfully
        • Scenario: User logs out successfully
      • Securing our site with HTTPS
      • Sharing Express sessions with Socket.IO
      • Cross-site request forgery
      • Improving security with HTTP headers and helmet
      • Summary
    • 6. Scaling
      • Scaling Express sessions with Redis
      • Scaling Socket.IO with Redis
      • Scaling Express horizontally
        • vision-core
        • vision-api
        • vision-worker
        • vision-web
      • Vertical scale with Cluster
      • Balancing load with Hipache
      • Summary
    • 7. Production
      • Error handling, domains, and crash-only design
      • Redis sessions
      • SSL termination
      • Caching
      • Favicon
        • Minification
      • Compression
      • Logging
      • Summary
    • Index
  • Tytuł: Advanced Express Web Application Development. 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
  • Autor: Andrew Keig
  • Tytuł oryginału: Advanced Express Web Application Development. 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.
  • ISBN: 9781783282500, 9781783282500
  • Data wydania: 2013-11-25
  • Format: Ebook
  • Identyfikator pozycji: e_3azy
  • Wydawca: Packt Publishing