O'Reilly logo

SproutCore Web Application Development by Tyler Keating

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

Using frameworks and modules

One of the challenges of working with large-scale web apps turns out to be just the organization of code. When apps get sufficiently large, it actually becomes a lot of work just finding where things are and knowing where to put new code. We already went over the standard directory structure for an app in Chapter 1, Introducing SproutCore, and by sticking to that structure you will have a much easier time organizing the code within your apps. Next though, let's look at ways to split the project into larger components for sharing and optimized delivery.

The first approach is for sharing large components of code between apps by creating frameworks. Frameworks are simply collections of code placed in a folder within the ...

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