14.4. Summary

In this chapter you created the ModelLocator and FrontController and added them to the main application file so that future components will be able to access them.

You also created a MainView component that provides spaces for views that you will create later. Separating your views into individual files makes each file more concise and means that it needs to contain only the code responsible for making that view work. This makes tracking down code related to a particular view easier, as you do not have to search through one large view file containing code for multiple event handlers and so on.

Now that you have the main application file set up, you are ready to begin building the individual application features.

Get Professional Cairngorm™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.