Welcome Guest, Not a member yet? Register   Sign In
Direct Access to Model or to use Library?
#2

[eluser]bunal[/eluser]
For example:

Lets say we have a user update form where users update their phone, email etc etc.

When user clicks the update form controller would?

1.Would it be better to call the model method and update the date

or

2. Would it better to always create a method in library then call the model method from the the library?

What will be your choice?


Messages In This Thread
Direct Access to Model or to use Library? - by El Forum - 01-14-2010, 03:26 PM
Direct Access to Model or to use Library? - by El Forum - 01-14-2010, 03:54 PM
Direct Access to Model or to use Library? - by El Forum - 01-14-2010, 04:17 PM
Direct Access to Model or to use Library? - by El Forum - 01-14-2010, 04:26 PM
Direct Access to Model or to use Library? - by El Forum - 01-14-2010, 04:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB