Using components in your projects gives you several very powerful advantages. Having these at your disposal, you can quickly build
amazingly complex RIA without turning your code into a mess:
- Reusability. Write a component once, and use it throughout your application easily, or share it between applications.
- Composability. Build new components by combining existing components.
- Extensibility. Components are essentially Ruby classes, and can be easily extended using the object-oriented approach.
- Encapsulation. You (or your fellow developers) don't even need to know JavaScript or Sencha libraries in order to use existing components.