[development] Extend database abstraction layer,
to include table creation.
larry at garfieldtech.com
Sun May 14 06:36:26 UTC 2006
On Saturday 13 May 2006 11:49, Bèr Kessels wrote:
> There is a way inbetween this too. The Middle Road. And that is how Active
> Record works.
> Let us forget about OO vs non OO for a second and look at this:
> Comment.title = "Foo Bar"
> But you can also do:
> :conditions => "id = 12")
> ..same as above ..
I agree it's nice, but it's hardly a new concept. I was doing that with
PEAR::DB_DataObjects well before RoR existed.
We actually already have that, kinda, for nodes. node_load() and
node_save(). :-) True, they don't cover everything, but could we possibly be
leveraging that better?
Larry Garfield AIM: LOLG42
larry at garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
More information about the development