New topic: 

OOP Design -MVC

<http://forums.realsoftware.com/viewtopic.php?t=37719>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        mark.gregory          Post subject: OOP Design -MVCPosted: Fri 
Feb 18, 2011 6:45 pm                         
Joined: Thu Jan 07, 2010 7:57 am
Posts: 25                After mastering the art of creating an mvc 
implementation 
Using realbasic I have a question
When your entering data into the model using a secondary form 
Do you perform any validation on the model or the form
I think that it's in the model which you then throw an exception and pass this 
back to your 
Form via the controller it should the model handle the exception

I think it should pass the error back via the controller to the form that is 
acting as an 
Additional view so that the view can react to the error state

Does anyone have any ideas on this at all
Thanks
Mark   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to