Summary – mind your own beeswax

In this chapter, we drove several points home.

When it comes to structuring your application, make life easy for yourself. Go for the principle of least surprise and don't pile all of your classes in a single namespace.

Keep your code in manageable blocks using architectural devices such as mixins. When you look in a class, you don't want to see thousands of meandering lines, but want a concise logical unit.

Use the Ext JS framework as structural inspiration. It may not be 100 percent, but it does show us something very important, which should inform every aspect of your application architecture: having a system is always better than not having one and you should be consistent at all times.

In the next chapter, we will look at Sencha Cmd, a tool that goes hand in hand with Ext JS to help us generate, develop, and deploy our applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset