[Nitro] Easier Og store wrapping idea

George Moschovitis george.moschovitis at gmail.com
Thu Nov 29 08:56:39 EST 2007


Interesting,

thanks!

-g.

On Nov 29, 2007 12:58 PM, Mark Van De Vyver <mvyver at gmail.com> wrote:

> 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-scaffold-for-merb/
> and
> http://inquirylabs.com/downloads/MagicScaffoldDemo.html
>
> this also makes me think about migrations and Og
>
> Mark
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://me.gr
http://joy.gr
http://cull.gr
http://nitroproject.org
http://phidz.com
http://joyerz.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20071129/9ccbc1de/attachment.html 


More information about the Nitro-general mailing list