[dev] Re: [cvs] commit: horde/config html.php.dist registry.php.dist imp/lib/Block tree_folders.php horde/services/portal menu.php

Chuck Hagenbuch chuck at horde.org
Tue Aug 3 12:29:06 PDT 2004


Quoting Jan Schneider <jan at horde.org>:

>> 1. Set a $block_type variable along with $block_name.
>> 2. Use subdirectories in lib/Block/ to distinguish blocks by type.

> Both options allow to be extended for other block types in the future. I'd
> vote for $block_type, as we read $block_name anyway and it will cause less
> problems if people can drop block files into a single directory.

I think I agree; one last point for the directory way, though, is that it'd
allow lower-overhead filtering on block types.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list