Welcome Guest, Not a member yet? Register   Sign In
noob building menus - is there a better way?
#2

[eluser]Rey Philip Regis[/eluser]
Quote:My questions:
1. Is using a /library/class with a factory class a good way to build the menus?
2. Menu elements are defined by multi-dimensional array assignment. This works, and should be relatively easy to maintain, but it looks kinda’ klugey to me. Isn’t there a more elegant way to do this?

For me building a menu which has many categories and sub categories, using factory pattern is a good implementation. As for me also using array is the most effective way of defining element in your array easy to see and understand.

Good day..


Messages In This Thread
noob building menus - is there a better way? - by El Forum - 12-03-2008, 03:02 PM
noob building menus - is there a better way? - by El Forum - 12-03-2008, 03:13 PM
noob building menus - is there a better way? - by El Forum - 12-03-2008, 06:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB