BBC has a nice way of presenting news – I believe it’s called “No Comment”. The viewers can watch some happenings in silence without hearing any comments. I’ll borrow this technique and will present you a Twitter “conversation” that started after I made a statement about MVC and Dependency Injection frameworks in Flex. I’m planning to prepare a presentation explaining my position for the Fourth Annual Farata Flex Symposium that will take place in June in New York City, but for now, enjoy the twitter conversation without comments. I’m going to use abbreviated Twitter nicks of people who responded to my twit – the rest are original twits.
@yfain There are 4 types of MVC/DI Flex Frameworks people: creators, evangelists,users,and myself who can’t get what are they for. #flex
@b… again, what?
@bp…Ummm… I think you’re probably a creator if you’re not one of the others. Over and over again, too.
@h…You don’t use it or not recommend any flex framework?
@j… DI itself or just the frameworks? I kind of agree with you on the frameworks, I try to only use the [Inject]
@yfain Not in general, specifically in Flex frameworks
@f… count me in 😛
@j…In my case, I (almost) refuse to develop without MVC / DI in client-side development.
@bp…They’re also great for learning… every MVC/DI framework I’ve used on any platform has taught me something new and valuable.
@_… The Flex Framework Frameworks only result in higher dev costs. Complexity up, Qualified devs down.
@yfain Exactly, Ted
@_…That said, I am finding that robotlegs might be the exception…
@yfain While MVC/DI frameworks can be good in Java EE world,they damage minds of Flex/AS developers. Pros: they keep consultants longer on billing.
@b… I see – I must have forgotten, best practices are only for Java. How silly of me all this time, leaving behind maintainable code…
@bp…Can you give an example of bad habits or practices we’re learning?
@yfain Wrong. You’ve forgotten that Java is a language while Flex is already a framework with a great event model.
@b… wrong. flex as a framework doesn’t address the need for application patterns. the free for all approach doesn’t cut it
@neosavvy It is true. Vendors use design patterns to hide low qualification and prove legit design to clients who don’t know how to argue.
@m… you honestly can’t see a need for DI? Ever write a unit test?
@b… yakov’s just out trolling again. Don’t worry about it too much, he’s warned that you’ll “damage your mind” in the process
@yfain what’s wrong with using events instead of DI?
@m… How would you use an event to provide dependencies to an obj? Injection is a means to allow isolation which is a precursor to tests
@yfain An object is listening to events. There are no dependencies.
@n… I find this conversation hilarious because I think the statement “keeps consultants longer on billing” might be true wrt DI in Flex.
@yfain It is true. Vendors use design patterns to hide low qualification and prove legit design to clients who don’t know how to argue.
@n…Isn’t that how Cairngorm got so prevalent? I agree that design patterns may be for the weak minded. Useful for handoff and support.
@yfain De mortuis nil nisi bonum. Speak no ill of the dead
@i… I’d really like to see some examples of the proper way of doing things without frameworks in Flex. Think you could post some up?
@yfain Start here http://bit.ly/dQPywI