[development] Separating configuration vs data tables
Bèr Kessels
ber at webschuur.com
Sun Jun 11 08:33:59 UTC 2006
Op zaterdag 10 juni 2006 00:18, schreef Dries Buytaert:
> What is inconsistent?
Example:
node_load($uid) vs user_load(array('uid' => $uid))
:: parameters of various load/save/update are very incosistent. Some eat
objects, other only certain arrays, again others dont eat anything, but grab
it from the form api.
taxonomy_get_term() vs foo_load
:: naming of apis.
And a lot more small, details.
> And why can't it be made consistent instead?
It can. It will. Given time. Categories module is one of the ways to get this.
But its not a real problem. It just needs work and code, not even a lot of
talk and reviews, I think. Though Drupal itself does not need this, It works
fine as it it, IMO, which is why no-one has not sat down for this, I think.
Its just the odd project like these fixtures that require consistent apis.
(Well, my brain would not mind either :) )
Bèr
--
| Bèr Kessels | webschuur.com | website development |
| Jabber & Google Talk: ber at jabber.webschuur.com
| http://bler.webschuur.com | http://www.webschuur.com |
Drupal repareert wederom een kritiek veiligheidslek:
http://help.sympal.nl/drupal_repareert_wederom_een_kritiek_veiligheidslek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20060611/fe8f886d/attachment.pgp
More information about the development
mailing list