Welcome Guest, Not a member yet? Register   Sign In
Basic design question - where to put the a API connection class - extend the model?
#5

[eluser]MEM[/eluser]
[quote author="bretticus" date="1286572710"]
That's actually a good way to go about it. I would have probably put it in the constructor for each Model where I needed it, but that's not very DRY.[/quote]

True. I found that I'm starting to understand, finally, the balance of this.
Better saying the economy around those decisions.

It seems that we can never be totally DRY on the process.
At some point we have to do it. On the other hand however, we can well think about abstraction and abstraction of abstraction, in order to build our systems...


Anyway, thanks a lot for your feedback. Wink More confident for the next issue.


ps- I still remember the day when someone said to me: "Extend the Controller class by creating your own" and I thought... no way. That's to complicated. Wink


Messages In This Thread
Basic design question - where to put the a API connection class - extend the model? - by El Forum - 10-08-2010, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB