Link to home
Create AccountLog in
Avatar of Mortarello
MortarelloFlag for United Kingdom of Great Britain and Northern Ireland

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 ?



ASKER CERTIFIED SOLUTION
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Mortarello

ASKER

Hi anarki_jimbel,

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