Welcome Guest, Not a member yet? Register   Sign In
Model, View, or Controller, which order?
#2

[eluser]WanWizard[/eluser]
There is no specific order, it all depends on the way you like to develop.

I usually start with controllers and views, where the controllers contain the basic control logic needed for the method, including model calls. The models at that point return dummy data, and the view contains static HTML. After I'm happy with the prototype (or my customer is), I start adding model code, additional controller code if needed, and display logic in the view.


Messages In This Thread
Model, View, or Controller, which order? - by El Forum - 04-12-2011, 06:19 AM
Model, View, or Controller, which order? - by El Forum - 04-12-2011, 06:30 AM
Model, View, or Controller, which order? - by El Forum - 04-12-2011, 06:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB