Having a good architecture is a must. If we don't define a scalable and maintainable architecture, our project will be at risk. There are many horror stories by developers who have started a project without a good architecture and believe me when I say that it is a nightmare to work on those projects. By following the guidelines of Sencha we can work happily in a better manner.
Over the pages of this chapter we have learned how to organize our code using classes and following the MVC pattern to assign the right task to each class. Using a controller to write our logic for the views and give life to our components is a great way to keep our code clean and organized.
We also learned how to load new modules on demand with all their dependencies. The method we learned is great for the development phase because it's easy to debug our code. We need to add some changes when deploying our application to production, but that's another story that will be covered in the coming chapters.
In the...