active records

Events happening in the community are now at Drupal community events on www.drupal.org.

Musings on a Data API

Posted by Crell on January 6, 2008 at 3:38am

I have been pondering the question of a data API for a while, as have a lot of people. Much of the recent discussion has focused on an Active Record approach to a data API. Now, Active Record is a very powerful architectural pattern. It maps nicely from storage to interface, it can be fairly self-documenting, and it is conceptually simple and approachable.

It is also, I believe, insufficient.

Read more

Active Records, a possible approach for consistent Data APIs

Posted by recidive on October 25, 2007 at 11:53pm

As mentioned on the other paper A Data API for Drupal. Here is a paper that shows how this could be accomplished with some OOP bits implementing the Active Records Pattern. While keeping the interface procedural.

We all know that Dupal will not go full OOP. But some OOP code could help us do things not possible with procedural code. Such as lazy loading of nested objects and 'on demand' database fields processing.

Read more
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /