Welcome Guest, Not a member yet? Register   Sign In
Advice on web application design
#2

[eluser]renownedmedia[/eluser]
I'd put the two database functions in the model, and the web service interaction in the model.

So it would be like this (C = Controller, M = Model):

C(init) -> M(db_select) -> C(check_result) -> M(web_service) -> C(parsing) -> M(db_update) -> C(message)

That way, the higher level logic is handled in your controller, and all the little data interaction components are done in your model(s).


Messages In This Thread
Advice on web application design - by El Forum - 10-19-2009, 12:50 PM
Advice on web application design - by El Forum - 10-19-2009, 02:24 PM
Advice on web application design - by El Forum - 10-19-2009, 02:48 PM
Advice on web application design - by El Forum - 10-19-2009, 04:23 PM
Advice on web application design - by El Forum - 10-19-2009, 04:31 PM
Advice on web application design - by El Forum - 10-20-2009, 02:09 AM
Advice on web application design - by El Forum - 10-20-2009, 08:06 AM
Advice on web application design - by El Forum - 10-20-2009, 03:26 PM
Advice on web application design - by El Forum - 10-20-2009, 10:15 PM
Advice on web application design - by El Forum - 10-21-2009, 08:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB