- They really need getters. Convert is not a getter. It is a setter that returns a value. Convert is also called before the data is loaded, and before associations are created, meaning you have to do lots of checks for those. Sencha, please add getters, that can still auto-load on forms and grids
- They really need validation scenarios. These are easy to do. Sencha, just copy Yii's validation scenarios.
- Please add some events to Models, such as datachanged. I don't want to have to add a model to store just to get notified when it changes.
Wednesday, December 14, 2011
ExtJS Models Need Some Work
Subscribe to: Post Comments (Atom)
Couldn't agree more. The lack of events is limiting, and just silly that you'd have to have a store exist just to listen for model changes. And having getters can definitely be useful, esp for computed fields.ReplyDelete
Thanks great blog postReplyDelete