O'Reilly logo

Pro Single Page Application Development: Using Backbone.js and ASP.NET by Ido Flatow, Gil Fink

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 3

image

Modular JavaScript Development

Modularity is a quality that you expect applications to have whether they are single page applications (SPAs) or just modern web applications. Modular code helps to create big and scalable applications. It also enables reusability and extensibility of your application’s parts. The lack of modular code can be the difference between a successful application and an unsuccessful one.

In the last part of Chapter 2, “JavaScript for SPAs,” you learned that ECMAScript 6 will include the option to create modules. Until modules are a part of JavaScript, we need ways to emulate modular behavior. That is where this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required