Chapter 16. Developing for reusability

This chapter covers

  • Learning to develop with reusability in mind
  • Organizing your code via namespace
  • Discovering how to layer code
  • Reviewing basic application requirements
  • Developing reusable components

To me, developing an application is more of an art than a science. The methods and patterns chosen for application construction vary based on many factors, some of which may be completely out of your control.

For example, what if the requirements dictate that the server-side controller either includes or excludes one or more JavaScript modules or files based on security rules? Such a requirement isn’t uncommon in larger role- or permission-based applications. The implications of this type of requirement ...

Get Ext JS in Action 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.