Tuesday, May 08, 2007

一錯 ... 再錯 ...

start from the 1st wk of this semester ... MCV pattern in my mind like this ...

USER --> VIEW --> CONTROLLER --> MODEL .

user interacts with the view and invoke the controller to make changes to model ...

BUT ... in this week ... i "awake" ...

view and controller observe the changes of the model to make corresponding changes ...

that says ...

1. user interacts with the view and the state of the view changes (this fires an event... to the controller)
2. controller takes corresponding action to invoke the model to update its state
3. model notifies the view and controller to update their information about the model
4. done. XD

No response to “一錯 ... 再錯 ...”

 
© 2009 Emptiness Blogging. All Rights Reserved | Powered by Blogger
Design by psdvibe | Bloggerized By LawnyDesignz