Forum: Nitro Easier Og store wrapping idea

Posted by Mark Van De Vyver (mvyver)
on 2007-11-29 11:59
(Received via mailing list)
Hi Devs,
Thinking out loud :)
A the moment AR users, and those with legacy db's have to 'redefine'
their db's in their Ruby scripts as Og classes - not trivial when you
don't know how Og 'expresses' things.
The link below makes me think it might be possible to instead use:

class MyOldTableName
 magic_orm_translation {}
end

and have the Og class 'details' returned.
Fully working out the store structures would require interrogating the
backend schema info, and here Dr Nic's MagicModels and DrySQL have
probably done much of the heavy lifting....
Obviously some implementation 'issues' will remain :)

http://blog.inquirylabs.com/2007/09/08/magic-scaff...
and
http://inquirylabs.com/downloads/MagicScaffoldDemo.html

this also makes me think about migrations and Og

Mark
Posted by George Moschovitis (Guest)
on 2007-11-29 14:56
(Received via mailing list)
Interesting,

thanks!

-g.
This topic is locked and can not be replied to.