The first concept that I have learned about is MVC which is a design pattern. My understanding is that I would create my order entry form in view. This view/form would call the controller which determines what must be done from the information entered into the form. The controller would then hand this information to the model. The model is used to insert the data into the database. The model also contains business logic.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Zach Young:
This will always be a web application.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Would this be a MVC 1?
Building your core methods in plain old java objects (POJOs) allows you run them from the command line before you start fussing with web-specific code. I've found that small amount of extra time it takes to write the extra code involved with MVC is more than made up for when I can start the web coding knowing that the core methods already work
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Zach Young:
If you have a database change for example adding a column. With the Model2 design you would have to change it in three or more places?
Does a .net programmer use these same design patterns?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus