Re: Suggestions of GPL plugin-system?
| From: | Larry Garfield | Date: | Tue, 30 Jan 2007 03:25:39 +0000 |
| Subject: | Re: Suggestions of GPL plugin-system? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248004@lists.php.net to get a copy of this message | ||
On Monday 29 January 2007 8:37 pm, Robert Cummings wrote:
> On Mon, 2007-01-29 at 20:02 -0600, Larry Garfield wrote:
> > I was looking for a similar good-example about 2 years ago. What I found
> > was Drupal (http://drupal.org/), and it's hook system. I have since
> > given up on writing my own plugin system and became a small fry Drupal
> > developer. :-)
> >
> > YMMV.
>
> Be prepared to cry sometimes when you have to do 10 times the usual work
> to work around the Drupal system... that said, it's quite nice even
> though terribly inefficient with all the layers of wrapping hooks.
There is no problem in computer science that cannot be solved by adding
another layer of indirection, except performance. :-)
When you really get into complex stuff, yes, you really have to make sure you
think about a problem the "Drupal Way". Of course, you could say the same
for pretty much any complete framework. Drupal is all about doing
things "sideways" for maximum flexibility and extensibility, which does come
at a penalty of conceptual complexity.
> On another up side, if you don't know how to do CSS properly, Drupal
> will hammer proper CSS usage into you as you try to style menus and
> other modules.
Also true. :-)
--
Larry Garfield AIM: LOLG42
larry@garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson