-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/21/10 5:21 PM, Acaz Souza Pereira wrote:
> "The store will then send a notification event to the grid, which will
> update the view to eliminate the row corresponding to the deleted item.
> This follows proper MVC flow, with the controller affecting the model,
> which then affects the view."
> 
> In MVC pattern, MODEL don't communicate with VIEW, MODEL will pass the
> action to controller to eliminate the row corresponding to the deleted item.

- From http://en.wikipedia.org/wiki/Model%E2%80%93View%E2%80%93Controller:

> "In event-driven systems, the model notifies observers (usually
> views) when the information changes so that they can react."

In proper MVC, a view "observes" a model so changes in the model don't
have to go through the controller.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0RO2AACgkQOIgX4HDKDz2gfQCfQtgXd2YjMrm9XTXvdI9b8Fff
ZkAAn1zjwCOmCjTI863ojj7ooBd6s1TW
=kZwS
-----END PGP SIGNATURE-----

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to