Chapter 13. Class system foundations

This chapter covers

  • Understanding prototypal inheritance
  • Developing your first extension
  • Working with plug-ins
  • Exploring the Ext JS class loader

Every Ext JS developer faces challenges where reusability is an issue. Often a component must appear more than once within the application’s lifetime. Without mastering certain 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 with the use of framework extensions and plug-ins.

In this chapter, you’ll learn the basics of extending (subclassing) with Ext JS. You’ll begin by learning how to create subclasses with JavaScript, and you’ll see what it takes to get the ...

Get Ext JS in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.