Posted about 1 year ago by jwage
Today I am happy to release two new maintenance releases for Doctrine. As usual we have a new version for the 1.0 branch and a new version for the 1.1 branch. The new versions can be gotten on the Download page.
You can review the changelogs for 1.0.10 and 1.1.2 to see what all issues have been addressed in these releases.
On a side note, development on the Doctrine 1.2 version will begin very soon so if you have any ideas or features you'd like to see in this version please bring them to our attention and we may be able to address them in this version. We plan for the 1.2 version to concentrate on bug fixes, performance fixes and small features to make the use of the 1.x version of Doctrine more enjoyable without any major BC breaks.
Comments (10) [ add comment ]
more inheritance types, please... Posted by Leon Sorokin about about 1 year ago.
say i have a main "products" table that holds all products and their generic attributes, and a "toys" table that holds ONLY the extra attributes that are specific to toy products. i's like some kind of "type_id" switch column in the main products table which identifies the set of extra tables which need to be joined to represent the entire object without cross-table field duplication.
a lack this inheritance type currently prevents me from migrating to Doctrine from my home-brew ORM.
regards, Leon
Entities and value objects Posted by Giorgio Sironi about about 1 year ago.
Doctrine is an Orm but since we write our model in yaml it should keep metadata about the domain classes. In a common application, some records are always edited in place in forms and have no identity by default (phonenumbers, addresses for example) while other are not interchangeable (user, group). This is the classic Domain-Driven Design disctinction between Value Objects and Entities. I think a pair of Doctrine_Template can be created (in 1.x or in 2.x) to modify the behavior of the record in some points, for instance array representation: User [ Phonenumbers => [ [0] => [ value => 5551234 ] [1] => [ value => 5553425 ] Address => [ street => "5th Avenue", zip => "12345" ] Group => 23 // group id ] where Group actAs Entity and Address and Phonenumbers actAs ValueObject (that can be default). I will write a detailed proposal in a blog post. The capability of doing some DDD in Doctrine would attract many users, especially in 2.0 where domain classes are persistence agnostic.
New hydration mode Posted by mh about about 1 year ago.
A new hydration mode - Doctrine::HYDRATE_OBJECT or Doctrine::HYDRATE_STDCLASS would be very useful.
Moreover, some tickets in bugtracking system, which has been postponed to 2.0 version of Doctrine, could have been revised if they could be fixed in 1.2 version already.
Thanks
@Giorgio Sironi Posted by romanb about about 1 year ago.
Support for embedded value objects and collections of value objects is planned for some 2.x release. It is quite an effort though so it would of course be great if you could write up a proposal and maybe you even want to participate in the implementation.
( http://trac.doctrine-project.org/ticket/2248 )
Composite foreign keys Posted by Jo Carter about about 1 year ago.
Please can you add support for composite foreign keys!
http://trac.doctrine-project.org/ticket/460
Change logs on site are empty Posted by nodkz about about 1 year ago.
Change logs on site are empty.
See http://www.doctrine-project.org/change_log/1_1_2
@Jo Carter Posted by romanb about about 1 year ago.
Composite foreign keys are supported in Doctrine 2. It is unlikely that they will be supported in a 1.x release unless somebody submits a patch for it.
@romanb Posted by Giorgio Sironi about about 1 year ago.
I wrote an informal proposal: http://ossigeno.sourceforge.net/blog/content/article/doctrine-proposal-entity-and-value-object about some features that includes value object. Of course I want to participate. I have to install another Ubuntu for php 5.3, now I'll document on JPA.
Changelogs broken Posted by Jacob about about 1 year ago.
It seems that the changelog page is broken. It only says "No change log history recorded for the x.y.z release. Use the menu to the right to view the change log for other releases." for every release... :(
@Jaboc Posted by Giorgio Sironi about about 1 year ago.
Maybe something went wrong during porting of website. I opened a ticket (http://trac.doctrine-project.org/ticket/2270).