View Full Version : View units in ExtJS 4 MVC

29 Aug 2011, 3:53 AM
How in an ExtJS 4 MVC single web page application we can identify Views? Is it a good practice to consider each Ext.Window as a View unit? (one folder for each Window in app/view folder) What is best practice?

30 Aug 2011, 6:12 AM
I'm afraid there is no definitive answer to this, it's a judgement call to be made based on experience. As with all code you should aim to keep it easy to change your mind.

This blog post discusses this topic, maybe it will help you to decide what's best for you: