First post on the forum. I'm new to CodeIgniter. In fact, I'm planning to use a PHP framework for an upcoming project. CodeIgniter seems interesting at first glance, but I need an ORM to make life easier. That's why I came the "DataMapper OverZealous Edition". But before I commit myself into using these two projects, I have a question:
Is it possible with this ORM to generate the objects from the database-definition? So, I define my tables in a structured way, I define my foreign keys (relationships), then I can imagine it would be possible to generate the models. (incl. getters / setters). That will gain me a huge amount of time.
The other way around would be workable too, I code my models and call some kind of method that is generating the applicable database representation. For example, Author and Book have a many-to-many-relationship. I'm looking for something that automatically generates the join-table between the two. Or visa versa.
I've looked into the user guide of both CI and DMZ. I tried to use the search-feature, but couldn't find any related questions. I'm probably wrong, because this looks like question number #1 to me ;-) Correct me if i'm wrong, any help is appreciated.