Propel 1.3, Doctrine 1.0, and symfony 1.2

After more that two years of development, the Propel team has released Propel 1.3 yesterday. This is a great achievement as Propel 1.3 sports a lot a new exciting features. Here are some major features available in this version:

  • PDO: Propel 1.3 uses PDO to connect to the database which means that everything will be much faster than before.
  • Object Instance Pooling: For a given primary key, only one object instance will ever exist even with several calls to retrieveByPK() or doSelect*() (it's not an Identity Map because the database request is still needed).
  • Date Handling: The support has been improved by using the PHP 5.2 built-in DateTime class, which also means that Propel 1.3 supports pre/post Epoch dates natively.
  • Default Values: You can now use expressions (like CURRENT_TIMESTAMP) for default values in your database schema.
  • and also native support for One-to-One Relationships, Master-Slave connections, Identifier Quoting, Nested Sets, and much more...

Propel 1.3 and symfony 1.2

This is also a great news for symfony as Propel 1.3 will be the default version of Propel bundled with symfony 1.2. Dustin has already upgraded symfony 1.2 to use Propel 1.3. If you can't switch to Propel 1.3 for whatever reason, you will still be able to use Propel 1.2 by installing the sfPropelPlugin.

Dustin will update the UPGRADE_TO_1_2 file in the coming days to highlight the changes you need to do to upgrade to Propel 1.3, but you can start today by reading the excellent upgrade page on the Propel wiki.

As symfony 1.2 is now in active development, the 1.2 branch may be a bit unstable over the next few weeks.

Doctrine 1.0 and symfony 1.2

As announced in the symfony 1.2 roadmap, Doctrine 1.0 will be officially supported and the sfDoctrinePlugin will be bundled with symfony 1.2. Doctrine 1.0 beta1 has been released two weeks ago and the Doctrine team will release Doctrine 1.0 final on September 1st.

I have another great news for the Doctrine community and the symfony community. Jonathan Wage, the lead developer of Doctrine, will start working full-time for Sensio Labs on September 1st. He will spend most of his time working on Doctrine and helping us with the official integration of Doctrine with sfDoctrinePlugin.

Comments

Great news for symfony community ....
Good to hear that Jwage is joining Sension....
Great news, guys!
We soon starting a internal portal using symfony. We already have decided that we will use Symfony with Doctrine plugin (instead Propel) but we are wondering if we wait for 2.0 to released or we should initiate our project using 1.1 and migrate later. We have few questions pertaining to Symfony 2.0:
1. Is there any tentative timeline for 2.0 release?
2. How difficult it will be to migrate our code from Symfony 1.1 to 1.2?

We will be grateful if you can response on these questions so that we can plan accordingly.

Thank you for creating such a great tool.

Amit Sinha
Congrats Jonathan!
That's great to here. I have one question regarding symfony 1.0 + Doctrine. I just installed sfDoctrinePlugin. I explored integrated version of Doctrine and that seems to me "0.11.1". But doctrine community has released "1.0.3" version. how can i upgrade Doctrine 1.0.3 version. is it possible.

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.