Yeah I agree we really need to keep Drupal lean. I wouldn't want to see the entire Views package integrated as-is. I wouldn't mind some of the functionality included though that would give an easy way to alter some core queries. One that comes to mind is the comment query. Sometimes there are needs for extra data from the user table to be pulled in, and currently there really isn't an easy way to alter that query in comments.module.

I've thought in the past about a hook_query_alter, but that could really add some overhead - especially on sites with a large number of queries.

Jamie Holly
http://www.intoxination.net http://www.hollyit.net



Earnie Boyd wrote:
Quoting Jamie Holly <[email protected]>:

> I really like that whole idea. Then we could have handy hooks to > easily modify those queries if someone wishes, like maybe an easy > way to add index hinting.
>

But we can have those hooks maintained in a contrib module as well. We just need to have a api.contrib.drupal.org or drupal.org/contrib/api. I am with the crowd of keep Drupal core lean. The less optional modules Drupal has to consider the better it would be.

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/



Reply via email to