[eluser]Doug Lerner[/eluser]
Thanks. I'll check it out.
It's my impression that ORM implementations (even in RoR) only work so far as scalar properties go. Is that correct? Or do they also try to map out entire objects, which may contain object which may contain arrays which may contains objects as elements, etc.?
Thanks,
doug
[eluser]sophistry[/eluser]
yes, there is something like such a thing in native CI - it's a new feature called db forge. i haven't used it but it looks like a way to manage dbs and tables and fields. then you'd use active record (or IgnitedRecord style ORM) to insert. there is nothing that i am aware of in CI that will map something like an XML definition to db and table definitions with data inserts, but i'm sure it's possible to make it with any abstract representation you want (xml, arrays, yaml, bbcode, json, etc...).
but, why? sql *is* an abstract representation of a schema and has a well-known and pithy data insertion language.
cheers.