[development] Possibility of API *additions* post-code freeze?

Jeremy Epstein jazepstein at gmail.com
Sun Aug 20 10:17:45 UTC 2006


On 8/20/06, Angela Byron <drupal-devel at webchick.net> wrote:
> For this volunteer project I'm working on, I'm developing an install
> profile. It occurs to me that there aren't really any nice ready-made
> functions for doing a lot of basic stuff in Drupal like:
>
> - Creating a role, with a given list of permissions
> - Adding a user to a role
> - Enabling an input format
> - Turning on/off a block
> - etc.

Personally, I am in favour of this kind of stuff going in during the
freeze. I think that it's very important that we try to ensure as
clean a separation as possible between all the aspects of CRUD, and of
course between all the aspects of MVC (of which CRUD generally forms
the 'M' component). As Angie said, this is not new functionality; it's
cleanup work.

I know that I have more of an extreme view on this than other people,
but I would consider any CRUD functionality (i.e. most
SELECT/INSERT/UPDATE queries) that's embedded within other code (such
as form _submit() functions, themable functions, and cruft-filled menu
callback functions) to be a bug. And bugs can always go in during the
freeze. ;-)

Cheers,
Jaza.


More information about the development mailing list