Pluggable designs
| From: | Olivier Guilyardi | Date: | Thu, 05 Aug 2004 22:46:32 +0000 |
| Subject: | Pluggable designs | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13975@lists.php.net to get a copy of this message | ||
Hi,
http://www.oswd.org is a nice designs repository, but what about such
designs that would already be "templatized", that is : ready to use ?
Better : swapable ? Like a sort of theming framework... There could be
categories (online shop, news publishing, database frontend, etc...),
so that every designs in a given category obeys to a strict interface
definition.
That kind of interface would be more abstracted than a simple template
API ($shop->addProduct(), $news->publish(), etc...). A PEAR package may
then be ideal to define each of these category's interface, and to
provide the corresponding API to the host application.
Even without such categories, I believe that a repository would be nice:
Foo, in Mexico, develops an application and create some templates for
it, then Bar, in Tokyo, starting another project finds Foo's templates,
and since they're closed to his needs, decide to reuse them.
What do you think about that idea ? Is there an initiative out there
to provide such pluggable web designs ?
--
og