Jim Tann wrote:
> Hello again all,
Hey Jim!
>
> What I want to know is if there is a good all round tutorial not
> necessarily in any programming language just a good description of how
> best the MVC thingy works? Or if one of you guys has a solid
> understanding, can you give me a rundown of how it should be working?
>
Since your are familiar to OOP and working with AS2 you won't need a
tutorial, because the MVC paradigm is as easy as spelling it:
Split logic from user interface!
Maybe you want to drink some beer and think about that sentence over and
over again. You should end up in finding more advantages than
disadvantages. Much more!
Let me give you some starting points:
+ flexibility (in so many different ways!)
+ maintainabilty
+ ease of debuging (e.g. unittests love your logic, but hates mixed in
UI elements)
- overhead of work, because more interfaces needs to be used
+ code looks more sexy - it's just better shaped ;)
- events will be a pain in your ass if you don't design it carefully
(you will see... :-P )
So, what I want to tell you: MVC is a pardigm, because it's no certain
pice of code, it's a idea of how you design and organize your code.
IMHO a thingy like a tutorial would be the wrong way to teach MVC - if
you don't understand its meaning by thinking about it, you maybe should
look for a book describing it in detail...
Please let me know if my effort was useful.
with kind regards,
günter dressel.
PS: if you are interested in real codeings done with MVC in mind, just
have a look at any bigger opensource project (user applications, no
daemons) - they should all honor MVC
PPS: This is my fist posting on this mailing list (AFAIK). Thats why I
need to tell you osflash community: Go on kickin' Macromedias/Adobes
ass! And let them feel the force (of opensource) by bringing their own
concepts and ideas beyond their knowledge!
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org