RE: [PHP] Building modular applications (long)
| From: | Chris W. Parker | Date: | Tue, 22 Mar 2005 17:03:53 +0000 |
| Subject: | RE: [PHP] Building modular applications (long) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211307@lists.php.net to get a copy of this message | ||
Brent Baisley <mailto:brent@landover.com>
on Tuesday, March 22, 2005 6:41 AM said:
> In your case, you are just saying the modules
> aren't there rather than being restricted. Your idea for having a
> script that would build the menu is good for a system with user level
> restrictions because things change depending on who is logged in. But
> I wouldn't build the menu from scratch every time if you are just
> checking for modules. The menu should be built when a module is
> installed or removed. That's the only time it will change anyway.
Yeah I thought of this near the end of writing my email. And you're
right, the script to build the menu should only be run when modules
change.
Thanks,
Chris.