Page 1 of 4
1 · 2 · 3 · 4

Lennaert :: 04.06.2009 06:39:22
Wow very useful! Thanks!
Matt Curry :: 18.06.2009 13:03:14
Nice trick. My only suggestion would be to wrap the listObjects line with a cache check. listObjects uses the files to get the list of controllers. Since controllers don't change very often it's a waste to do the check on every request.
lecterror :: 18.06.2009 13:10:44
Absolutely.

I actually did this to answer someone's question on StackOverflow, and I did recommend caching. I sure hope he did it... :)
Ben Pesso :: 19.06.2009 00:14:46
Excellent trick! Perhaps update the post with Matt's suggestion for a more complete example?
lecterror :: 19.06.2009 00:36:27
I've updated the article, thanks for your suggestions!