The unit tests for the next version of ORM are at 98.72% now. It’s just a formality though ,since it’s already fully working an all functional tests pass. As promised on the forum I have created a small tutorial to get you started right away.
Unfortunately because of some namespace conflicts ( namely \PHPixie\ORM and \PHPixie\Config) you won’t be able to use it with PHPixie v2 yet, although a bridge packets will be released that will allow you to use new components with the older version of the framework.
I created quickstart example with some explanation on how things work. Running it is super simple:
1
2
3
4
5
6
7
8
9
git clone https://github.com/phpixie/orm
cd orm/examples
#if you don't have composer yet
curl -sS https://getcomposer.org/installer | php
php composer.phar install
php quickstart.php
More examples to come soon, next time we’ll take a look at embedded relationships with Mongo =)