Welcome Guest, Not a member yet? Register   Sign In
An easy way to execute a method from the view ..
#13

[eluser]mvdg27[/eluser]
Off course you can use a complete template parsing method, but in this case I'd rather use something in the middle: easy to use and understand functions, that can save designers some work.

"Where do you get 100 different methods to build a menu from?"

I'm not just talking about building a simple menu. Look at some of the examples I posted in my first post. Things that come to mind:

- complete menu tree
- subpages of the current page
- next/ previous sibling page
- number of users online
- list of bread crumbs

And I'm sure that along the way I will add more. So you're right. At this point I might not have 100 methods. But I anticipate to be including more of these 'helper' functions. Then to me it seems wrong to be executing all of them, if most of them won't be used in a particular page.

-Michiel


Messages In This Thread
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 05:33 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 05:45 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 05:55 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:00 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:05 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:16 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:26 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:40 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:50 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 06:58 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:19 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:24 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:35 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:39 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:44 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 07:54 AM
An easy way to execute a method from the view .. - by El Forum - 07-31-2008, 08:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB