Posted over 3 years ago by jwage
Today I am happy to introduce two new versions of Doctrine! We have made available yet another maintenance release for the 1.0 version, 1.0.5. This release contains dozens of fixes that are logged here. In addition to the monthly 1.0.x maintenance release, we have made available the first beta of the 1.1 development branch of Doctrine.
This is exciting news because this means we are very close to releasing a stable version. We just need to work out the last final kinks and we need your help to do it. You can read about what has changed in the upgrade to 1.1 file.
Comments (11) [ add comment ]
SoftDelete Template changes Posted by nodkz about over 3 years ago.
Jwage please add to upgrade file information about changes in SoftDelete Template. That field deleted(boolean) changed to deleted_at(timestamp). In upgrading LIB of Doctrine can corrupt existed data, it can produce that deleted rows, became restored.
Maybe Templates have some other changes, but I didn't find it, yet. Please inform community about it.
re: SoftDelete Posted by jwage about over 3 years ago.
@nodks Thanks for pointing that out. I updated the file to include some information on the change
Doctrine 1.1 Beta Posted by nodkz about over 3 years ago.
I compare performance of Doctrine 1.0.2 and Doctrine 1.1-Beta1.
Performance in new version decrease about 15% (((
Jwage, try to produce benchmark yourself of this versions. May be something forgot clean up.
Thanks.
@nodkz Posted by jwage about over 3 years ago.
When you say performance decrease? performance of what specifically?
Loading of framework Posted by nodkz about over 3 years ago.
Loading of basic Doctrine Framework classes for working with models.
No matter, fetching data from empty or non-empty tables.
Great work Posted by Branko Ajzele about over 3 years ago.
Hi guys, and possible girls :)
Nice work on this one. Just started learning it. I know from before that Microsoft has this thing called Entity Framework... Finally, Doctrine... something of a great value for PHP developers.
I'm beginning to see quite a big importance in ORM frameworks.
Thank you so much!
automated migrations Posted by Markus.Staab about over 3 years ago.
----------------- QUOTE [php] public function migrate($direction) { $this->column($direction, 'table_name', 'column_name', 'string', '255'); }
The above example will create the column when $direction == up and will remove the column when $direction == down.
----------------- /QUOTE
how to do the same in the revered direction? -> drop the column on "up" and remove on "down"
phpDoc Posted by nodkz about over 3 years ago.
Very good improvement in Generated Models! Thnx.
@Markus.Staab Posted by jwage about over 3 years ago.
You would simple do.
Maybe we can add some convenience method for this?
HYDRATE_ARRAY Posted by skandal about over 3 years ago.
Thanks for the Doctrine::HYDRATE_ARRAY :) it really helped.
migrations Posted by Markus.Staab about over 3 years ago.
@jwage
would agree with you... some convencience methods would be fine..