Welcome Guest, Not a member yet? Register   Sign In
avoiding redundancy
#1

[eluser]belbek[/eluser]
suppose in one controller 'shop' I have 3 functions 'item1,2,3' each of them gives to view file information about 3 items: http://localhost/shop/item1,2,3

and I need a block wich will show information about 4th item and it should be placed on every page together with 3 previous items.

how to avoid redundancy and not to place information about 4th item in each of 1-3 functions?


Messages In This Thread
avoiding redundancy - by El Forum - 08-21-2008, 07:32 AM
avoiding redundancy - by El Forum - 08-21-2008, 08:23 AM
avoiding redundancy - by El Forum - 08-21-2008, 08:50 AM
avoiding redundancy - by El Forum - 08-21-2008, 09:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB