Welcome Guest, Not a member yet? Register   Sign In
How extensively do you utilize library functionality?
#1

[eluser]gullah[/eluser]
I'm working on a new site and this time have decided to go for a huge amount of readability and smaller controllers. With this in mind I have broken the work in my head into what could be several "objects" which would translate to libraries.

For Example...
/Products/view/item_name

This item would have a price history and a number of functions related to the price. Some of this could just be called from a model as it's a simple query but other involves more complex computation and looping.

My question lies in whether you think it's worth it to build an "item" library to that can be used to return these values and improve readability of the controller and make the code more functional (not having multiple functions in one function)?


Messages In This Thread
How extensively do you utilize library functionality? - by El Forum - 02-16-2011, 08:45 AM
How extensively do you utilize library functionality? - by El Forum - 02-16-2011, 07:58 PM
How extensively do you utilize library functionality? - by El Forum - 02-17-2011, 09:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB