O'Reilly logo

Ext.NET Web Application Development by Anup Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Plugins versus extending components

There is no one right answer to the question of whether you should use plugins or extend components. In reality you are likely going to need both in the right circumstance. If you extend components too much, you might have a hard time refactoring or reusing bits of functionality elsewhere. If you have too many plugins, it may be hard to handle specific features of controls in a manageable way.

If you are likely to use components such as Windows, TabPanels, GridPanels, Panels (perhaps with specific layouts) repeatedly to show very specific information, then that could be a candidate for subclass.

In object-oriented terms, if what you build "is a" component you are extending, then that is a good fit for extending. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required