On that last point, the Ext JS ViewController feels like a real step backwards from the Deft 0.9 VC design. Disappointing. Instead of promoting good itemId usage and a fantastic convention-over-configuration API (including auto-getters) there are new layers of abstraction that feel clunky and stringly-typed. The only advantage I've seen so far is that early component lifecycle events are available (i.e. beforerender).
Are there any plans to restore some of the original VC behavior?
Thanks very much for releasing the Deft 5-alpha! It's allowed us to move forward with our planned upgrade to Ext 5.
Just thought I'd share my experiences so far:
- Decided to create an Ext 5 app "shell" from scratch using Sencha Cmd 5, and port our app into it.
- Added deft-debug.js to the "classpath" in app.json.
- Didn't seem to need to pre-require Ext.ComponentQuery etc. like we did with Deft 0.9.
- Extending from Deft.mvc.Application in our main app class seems to be enough to make all the other Deft classes available early.
- Need to add Deft.mixin.Injectable to all our non-ViewController classes using "inject".
- In the process of converting all our ViewController classes over to the Ext JS "control" and "reference" system.
On that last point, the Ext JS ViewController feels like a real step backwards from the Deft 0.9 VC design. Disappointing. Instead of promoting good itemId usage and a fantastic convention-over-configuration API (including auto-getters) there are new layers of abstraction that feel clunky and stringly-typed. The only advantage I've seen so far is that early component lifecycle events are available (i.e. beforerender).
Are there any plans to restore some of the original VC behavior?
To view this discussion on the web visit https://groups.google.com/d/msgid/deftjs/398cdb1e-c11a-469d-b184-14bdc5e797e7%40googlegroups.com.--
Deft JS home page: http://deftjs.org/
Wiki: https://github.com/deftjs/DeftJS/wiki
For rules and tips on asking questions on the Deft JS mailing list: https://github.com/deftjs/DeftJS/wiki/Asking-Questions-on-the-Mailing-List
---
You received this message because you are subscribed to the Google Groups "Deft JS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deftjs+un...@googlegroups.com.