Welcome Guest, Not a member yet? Register   Sign In
How To Go About This
#5

[eluser]Colin Williams[/eluser]
There are Passive Models and Active Models: Models that are unaware of their role in the MVC triad and models that update Controllers and Views of their status using an Observer pattern, respectively. Neither patterns suggest letting the View directly access the model. The latter, Active Models, allow for it via the Observer pattern (you only get Model updates, you don't alter the state of the Model). For the web, because of its stateless nature, it is generally recommended that you use a passive model.


Messages In This Thread
How To Go About This - by El Forum - 12-20-2008, 03:41 PM
How To Go About This - by El Forum - 12-20-2008, 05:39 PM
How To Go About This - by El Forum - 12-20-2008, 06:17 PM
How To Go About This - by El Forum - 12-20-2008, 11:33 PM
How To Go About This - by El Forum - 12-20-2008, 11:44 PM
How To Go About This - by El Forum - 12-21-2008, 05:54 AM
How To Go About This - by El Forum - 12-21-2008, 05:59 AM
How To Go About This - by El Forum - 12-21-2008, 06:19 AM
How To Go About This - by El Forum - 12-21-2008, 07:59 PM
How To Go About This - by El Forum - 12-21-2008, 10:47 PM
How To Go About This - by El Forum - 12-22-2008, 03:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB