Mortarello
asked on
View and Model
Guys,
I'm a bit confuse about model and view..
I'm using this approach :
View --> subscribe Model..If the model change will notify all the view.
But the problem is, If I want to select some model by ID. Should I retrieve data from DB and fill the Model and then notify the view ?
Is that correct ?
I'm a bit confuse about model and view..
I'm using this approach :
View --> subscribe Model..If the model change will notify all the view.
But the problem is, If I want to select some model by ID. Should I retrieve data from DB and fill the Model and then notify the view ?
Is that correct ?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks for your answer.
Anarki_jimbel is it possible to send my code for you and you just give me a feedback saying is OK or NOT, because i'm studying at home and same times is difficult to learn by my self.
My email is mortarello@gmail.com , if is ok just send me a message and i will replay back to you ok
Many Thanks