Annotation, Migrate, and Auto-complete accepted style
Requested by @devmohsh
Hi all,
i hope that Migration feature will be found in this version, so that we did not need to create Tables, then generate Models, we can create the Models and let's the DM2 create the tables itself?
for this purpose we should add some configurations for the fields and foreign key, it will be amazing if these configuration done by Annotation instead of configurations array
the last feature i request is to take Auto Complete in your mind when you chose the syntax :)
Regards
To start with your last point, the API for 2.0 will be largely the same as for 1.x. A lot of production applications depend on DataMapper, the last thing I want is to introduce a huge migration effort.
For your second point I can be short. Anything PHP should be aware of should be in PHP. I find hiding information the code depends on in comments a horrendous idea, which will not be implemented. If you want that, I suggest you look at Doctrine.
And I don't think migrations should be an integral part of DataMapper. Creating your database structure is a one-time effort, and for migrations there's an excelllent solution available for CodeIgniter from @philsturgeon. At the moment I don't see a reason to duplicate that.