--- In flexcoders@yahoogroups.com, shaun etherton [EMAIL PROTECTED] wrote:
Troy Gilbert wrote:
On 3/27/07, shaun etherton [EMAIL PROTECTED] wrote:
Troy Gilbert wrote:
Brett,
Events are actually an a pretty fundamental component of an MVC
implementation. Events are most often
After a bit more research, I realized that what I was doing was what Martin
Fowler calls Anemic Domain Model, i.e. it's just plain-old-data with no
behavior/logic. Following his arguments I totally agree, it's really wasting
the potential of the data model by taking that route. You end up (like
Paul DeCoursey wrote:
[snip]
Yes the model knows nothing about the controller, but the model can
only tell the view the data has changed. Here is one scenario where
the controller would need to know about the change as well. If the
view needs to change to a different view based on the new
Brett,
You can read about this in more detail on any website which discusses
the pattern but I will try and simplify it here for you. I highly
recommend also trying out Cairngorm (A Flex MVC framework) even if
only to better understand the concepts.
If your view is firing events, the events are
4 matches
Mail list logo