after releasing the NDB Object-Relations mapping library some time
ago a lot of people suggested that I should include multiple
backend support (especially MySQL) and some features of ActiveRecord.
Moreover, I saw on the Rails wiki that some people would like
to add some NDB features to ActiveRecord (ie the ActiveSchema
proposal).
Og (ObjectGraph) is a new project that enhances NDB with
an ActiveRecord-like domain language. You can find a preview release
with docs and an example in the latest Nitro distribution:
after releasing the NDB Object-Relations mapping library some time
ago a lot of people suggested that I should include multiple
backend support (especially MySQL) and some features of ActiveRecord.
Moreover, I saw on the Rails wiki that some people would like
to add some NDB features to ActiveRecord (ie the ActiveSchema
proposal).
I stripped Active Record's database adapter code out and made it into its own
lib. I talked to David H. and he thinks it's a great idea, in fact he dubbed
it 'Abstract Adapter', but I guess he doesn't have the time to pursue it. It
works well. I use it for my own ORM (much like yours in functionality I
think). Of course there is DBI, but Abstract Adapter is more ORM oriented.
Would you like to take this over? It worth it IMHO and Active Record and NDB
could share the same code base on this which should be a win-win.
Og (ObjectGraph) is a new project that enhances NDB with
an ActiveRecord-like domain language. You can find a preview release
with docs and an example in the latest Nitro distribution:
Of course there is DBI, but Abstract Adapter is more ORM oriented.
Would you like to take this over? It worth it IMHO and Active Record
and NDB
could share the same code base on this which should be a win-win.
I thought about reusing the abstract adapter from ActiveRecord but I
wasnt
sure David would find this a good idea Anyway it really is no big
deal to write database adapters. If other people think that something
like you propose is interesting I could actually do it.
Rails lacks that tuns me off about it...
while you are at it, why dont you have a look at Nitro too, there are
lotsa changes coming really soon, but I would appreciate your opinion
and suggestions.