Welcome Guest, Not a member yet? Register   Sign In
Model questions
#6

[eluser]Colin Williams[/eluser]
And what would cloning it achieve? It's already a new object created by the database driver. If it is conveniently already structured in the way you've intended, why do more? I'm not sure what you are looking to do in the end.

Again, the model need not be the representation of the object. I tend to treat database-based objects as methodless, and I use the model to provide the functionality that these method would typically provide themselves.


Messages In This Thread
Model questions - by El Forum - 10-14-2008, 02:45 PM
Model questions - by El Forum - 10-14-2008, 03:26 PM
Model questions - by El Forum - 10-14-2008, 04:13 PM
Model questions - by El Forum - 10-14-2008, 06:25 PM
Model questions - by El Forum - 10-15-2008, 01:01 AM
Model questions - by El Forum - 10-15-2008, 01:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB