[development] changes to hook_nodeapi

Gerhard Killesreiter gerhard at killesreiter.de
Thu Aug 31 17:17:57 UTC 2006


Andrew Lee wrote:
> This just feels super hacky to me. When I am doing things programmatically
> with a node, I don't necessarily want form validation to run. It may very
> well screw me up. Often times I don't want to closely couple my node and 
> its
> operations with a form. It's not that this isn't possible with this patch;
> it's just makes a lot less sense.

Unless it is for development purposes, I cannot imagine why my 
programmatically created nodes shouldn't be validated as any other nodes.

> The other issue I have here is module compatibility. The Drupal philosophy
> is to the keep the core as compact as possible, and provide additional
> functionality in modules. A noble plan, indeed. This puts a lot of the 
> value
> of Drupal in the modules. When we radically change the API and create a
> nightmare for module developers to bring their code up to compliance, we 
> end
> up eliminating many modules and devaluing the Drupal product overall. Why


Please stop right here. Read http://buytaert.net/the-pain-before-the-payoff

Cheers,
	Gerhard


More information about the development mailing list