[development] the time of $op is over?

Jerad Bitner sirkitree at gmail.com
Tue May 13 15:38:49 UTC 2008

This is great, I understand the pros of this approach, however, when first
learning about hooks and $op, it was nice to be able to dsm($op) and find
out what all was available to me. How would a newer dev find this
information now? In the registry?

On Tue, May 13, 2008 at 11:34 AM, Adrian Rossouw <adrian at bryght.com> wrote:

> On 13 May 2008, at 6:40 AM, Larry Garfield wrote:
> > I have an irrational hatred of switch statements, so eliminating hooks
> > that
> > are nothing but nested switch statements half the time gets a big +1
> > from
> > me. :-)
> >
> the very first iteration of fapi was to have each form be one function
> with
> a switch statement.
> can you imagine how nasty that would have been ?
> i'm _firmly_ in the multiple function camp. I even write little stubs for
> my own nodeapi functions, that call modulename_nodeapi_$op functions
> etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080513/4ba6cb59/attachment.htm 

More information about the development mailing list