Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Ross Sclafani
thanks, its just how i do MVC it really get interesting when you follow a mitosis development pattern... You start with one model, controller, and view, add features to each in parallel, and as each class gets too big, you break them out into subcontrollers, submodels, and subviews. Then sub-su

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Karl DeSaulniers
BTW Ross, I thought your example was great. On Feb 26, 2012, at 9:51 PM, Karl DeSaulniers wrote: I have not created any MVC (I don't think) per se, so I am no authoritarian by any means. It just seems that when coding a paradigm, you want to keep it simple as possible so as to not confuse yo

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Karl DeSaulniers
I have not created any MVC (I don't think) per se, so I am no authoritarian by any means. It just seems that when coding a paradigm, you want to keep it simple as possible so as to not confuse yourself or the paradigm. I would tend to agree that a controller should do just that... control. a v

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Paul Andrews
On 27/02/2012 01:45, Karl DeSaulniers wrote: So is the basic construct to choose between a controller or multiple adaptors? It seems (to me) that a combination of the two is overkill. If you cant fit everything your trying to do within a MVC or MVA style pattern, your coding it wrong. Not sett

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Karl DeSaulniers
So is the basic construct to choose between a controller or multiple adaptors? It seems (to me) that a combination of the two is overkill. If you cant fit everything your trying to do within a MVC or MVA style pattern, your coding it wrong. Not setting flame, just inquiring. :) Karl On Feb

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Kevin Newman
I would say an adapter class is part of the controller, and it's ok for the controller to know about the formats of both the model and the view - it's job is to translate, and facilitate model data into generic view data (and back), even if all it does is setup a delegate, like an adapter. Man

Re: [Flashcoders] Importing A Button or Other Component Dynamically With Pure AS 3

2012-02-26 Thread Henrik Andersson
Please don't tell us what the error is. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Importing A Button or Other Component Dynamically With Pure AS 3

2012-02-26 Thread ITSCO
Hello Actionscript Experts, Scenario: I have a shared library *.swf file with most of my assets. It is loaded after the main introductory *.swf file is already loaded. I then call from the Shared Library file the needed assets. Appears that this scenario of importing assets works great w

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread tom rhodes
i've done stuff with my own informal model, view and controller separation. i've done things with pureMVC and now i've done a couple of things with robotlegs. i much prefer robotlegs, it's made me think of a lot of things differently, has reduced the size of my classes and i think enforces a better

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread John McCormack
Thanks Henrik, I guess things are much simpler if all parts know enough about the data format to be able to do what they need to do. I think I was imagining things more complicated than they need be. Thanks Ben, this was interesting... http://www.slideshare.net/RichardLord/application-framewo

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Henrik Andersson
John McCormack skriver: > Kevin mentions... > "...need to transform the format to fit the view, you would do that in > the controller" > > Henrik mentions... > "The data changing should be done in an adapter that the controller puts > in between the model and the view." > > So the problems arise

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread John McCormack
Kevin mentions... "...need to transform the format to fit the view, you would do that in the controller" Henrik mentions... "The data changing should be done in an adapter that the controller puts in between the model and the view." So the problems arise because the data that isn't quite wha