(UGH... I hate RTF Web editors) RobotLegs is not a big framework at all. In comparison with most of the other frameworks out there, it's overhead is far far less than ones like Cairngorm, Spring and Parsley. Even compared to Mate and SWIZ (which are very small to begin with), then RobotLegs is lighter at 47K overhead.
Main problem that I see with the code that was posted is that it breaks a major MVC rule and teaches a real bad habit: Views shouldn't have any knowledge of Models and Models shouldn't care who's using them (Controllers are just conduits between Views and Models). On a larger scale, this would present itself to be a huge maintenance nightmare and dependencies have now been created. Everything should be independent of each other enough that I could replace one section without affecting the operation of anything else in the application. In this case. the controller should be passing either Value or Transfer Objects back and forth between the View and Model. This way, I could change models on the fly and the controller and view wouldn't suspect a thing. RobotLegs is an excellent example for learning about MVC. jord -------- Original Message -------- Subject: RE: [Flashcoders] Fwd: MVC From: "Cor" <c...@chello.nl> Date: Thu, February 16, 2012 8:39 am To: "'Flash Coders List'" <flashcoders@chattyfig.figleaf.com> Ross, And you did get people started. At least me! I am also very interested in your fuller framework. I don't wish to use the big frameworks as RobotLegs, etc. I want to learn to create good MVC from scratch. Best regards, Cor van Dooren -----Original Message----- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ross Sclafani Sent: donderdag 16 februari 2012 14:28 To: Flash Coders List Subject: Re: [Flashcoders] Fwd: MVC I have a fuller framework that details a view life cycle, subModels, a Controller tree, animated transitions on change() and more. The classes I wrote are just the simplest examples that I thought would get people started. I'll get the framework polished up and open sourced to Github if you guys are interested Ross P. Sclafani Owner / Creative Director Neuromantic Industries http://www.neuromantic.com http://ross.sclafani.net http://www.twitter.com/rosssclafani 347.204.5714 _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders