Chapter 10. Class system foundations
This chapter covers
- Understanding prototypal inheritance
- Developing your first extension
- Knowing how plug-ins work
- Developing a real-world plug-in
- Looking into the Sencha Touch class loader
Every Sencha Touch developer faces challenges where reusability is an issue. Often, a component of an application is required to appear more than once within the application’s usage lifetime. Without mastering these techniques you could end up with what’s known as “function soup,” or unmaintainable code. This is why we’ll focus on the concept of reusability by the use of framework extensions and plug-ins.
In the first section of this chapter you’ll learn the basics of extending (subclassing) with Sencha Touch. ...
Get Sencha Touch 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.