all groups > flash actionscript > april 2005 >
You're in the

flash actionscript

group:

MVC: anyone actually implementing it?



MVC: anyone actually implementing it? mikeshank
4/12/2005 12:00:00 AM
flash actionscript: Do any of you actaully implement the MVC pattern to build sites? I'm intersted
in how one goes about it. I don't need concrete code examples, but more how you
went about separating the layers of the pattern. Thanks.
Re: MVC: anyone actually implementing it? Runicscript
4/12/2005 12:00:00 AM
Re: MVC: anyone actually implementing it? David Stiller
4/13/2005 8:09:10 AM
[quoted text, click to view]

I'm not sure about "sites" (what's a site?) ... but I use MVC-like
patterns when I write applications. I should mention, I'm not expert on
design patterns; in fact, I don't intentionally practice any of them -- at
least, not yet -- but find that many of my approaches tend to favor MVC in
hind-sight. Remember, patterns are merely suggestions for best practices.
They're tour guides for people who prefer not to investigate new locales on
their own.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

Re: MVC: anyone actually implementing it? mikeshank
4/13/2005 10:56:02 AM
Re: MVC: anyone actually implementing it? David Stiller
4/13/2005 11:48:09 AM
[quoted text, click to view]

The reason I asked was only because you can arguably write a Flash site
without using ActionScript at all, or very little.

[quoted text, click to view]

Many applications don't have a user interface at all. ;) But of
course, you make a good point: sophisticated sites and certain applications
could fall into a definition that may benefit from a particular design
pattern. I wish I knew more about them -- that way I could better evaluate
the benefit of choosing and using one over another.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

Re: MVC: anyone actually implementing it? David Stiller
4/13/2005 12:32:19 PM
[quoted text, click to view]

I've written a handful of non-UI apps for Flash. They're consumed by
ActionScript that *does* affect the UI, but the apps themselves (usually
static classes similar to the Math class) don't show their noses anywhere.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

Re: MVC: anyone actually implementing it? mikeshank
4/13/2005 3:34:10 PM
what's a site?
Well, navigation elements that correspond to content.
Re: MVC: anyone actually implementing it? mikeshank
4/13/2005 3:40:37 PM
Re: MVC: anyone actually implementing it? mikeshank
4/13/2005 4:16:07 PM
Many applications don't have a user interface at all

Re: MVC: anyone actually implementing it? mpetty
4/13/2005 4:26:25 PM
I'm currently in the process of using a combination of the mvc/mvp along with
event managers/broadcasters to build a digitial multi-meter "application". the
classic mvc applies to the interface of the dmm, but becomes hybridized when
dealing with additional data layers that relate to circuit boards.

The current tool being used is enormously complex (think arrays with a
permutation of nPr possibilities -most working examples have 20+ nodes) (note a
permutation is n! / r!).
AddThis Social Bookmark Button