<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 04 Jul 2008 16:49:23 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Symfony Blog: Internationalize your Propel Forms]]></title>
      <guid>http://www.phpdeveloper.org/news/10408</guid>
      <link>http://www.phpdeveloper.org/news/10408</link>
      <description><![CDATA[<p>
In <a href="http://www.symfony-project.org/blog/2008/06/12/internationalize-your-propel-forms">this new post</a> to the Symfony blog, <i>Nicolas Perriault</i> shows how to quickly and easily internationalize your Propel forms in your Symfony application.
</p>
<blockquote>
It has never been so easy to internationalize your Propel forms. In this post, you will learn how to leverage the new form framework bundled with symfony 1.1 to develop an interface to edit articles in several languages.
</blockquote>
<p>
He uses a <a href="http://www.symfony-project.org/book/1_1/13-I18n-and-L10n#Text%20Information%20in%20the%20Database">basic form layout</a> and shows how to build out the files (via a build-all) and what it ends up looking like. He configures the two languages - English and French - that he wants to use in the form and pushes it through the CRUD generator to make a full web interface for it.
</p>]]></description>
      <pubDate>Fri, 13 Jun 2008 08:46:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: How do I use Propel 1.3 in symfony 1.1?]]></title>
      <guid>http://www.phpdeveloper.org/news/10311</guid>
      <link>http://www.phpdeveloper.org/news/10311</link>
      <description><![CDATA[<p>
A new post over on the Symfony blog today show how to <a href="http://www.symfony-project.org/blog/2008/05/30/how-do-i-use-propel-1-3-in-symfony-1-1">combine the framework</a> with the <a href="http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3">Propel</a> templating system thanks to some new enhancements.
</p>
<blockquote>
Starting with <a href="http://www.symfony-project.org/blog/2008/05/07/symfony-1-1-0-rc1-is-out">symfony 1.1</a>, it is now possible to easily use <a href="http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3">Propel 1.3</a> in your project to take advantage of its speed improvements, nested set implementation, object instance pooling, among others. Most importantly, Propel 1.3 uses PDO instead of Creole as the DBAL, offering a significant performance boost.
</blockquote>
<p>
There's a few steps to getting everything all set up, but they're pretty simple. First, you'll need to grab the right plugin from the Symfony repository, then you change the yml file configuration for the PDO connection, change a few settings in your propel.ini and clear the cache and rebuild the models - you're all set! (Complete commands and example configurations are included)
</p>]]></description>
      <pubDate>Fri, 30 May 2008 16:12:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Martynas Jusevicius' Blog: Calculating great-circle distance in MySQL and Propel]]></title>
      <guid>http://www.phpdeveloper.org/news/10093</guid>
      <link>http://www.phpdeveloper.org/news/10093</link>
      <description><![CDATA[<p>
In a <a href="http://www.xml.lt/Blog/2008/05/01/Calculating+great-circle+distance+in+MySQL+and+Propel">new post</a> today, <i>Martynas Jusevicius</i> shows how to combine a little SQL magic with the <a href=http://propel.phpdb.org/">Propel</a> framework to fins the distance between two places:
</p>
<blockquote>
Eventually the simple distance formula that I have blogged about turned out to be too inaccurate, even for locations within city bounds. I needed to use a formula to calculate great-circle distance which takes into account that the Earth is a sphere.
</blockquote>
<p>
He includes the SQL to pull the data in the right format and the PHP code (using Propel) to reproduce it without having to write it by hand (complete with the bind variables to help with security and consistency).
</p>]]></description>
      <pubDate>Thu, 01 May 2008 16:08:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tony Bibbs' Blog: Geeklog_Generator 1.0.0 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/8000</guid>
      <link>http://www.phpdeveloper.org/news/8000</link>
      <description><![CDATA[<p>
<i>Tony Bibbs</i> <a href="http://www.tonybibbs.com/article.php/GeeklogGenerator1_0_0">points out</a> the latest release of the <a href="http://pear.geeklog.net/index.php?package=Geeklog_Generator">Geeklog_Generator</a> PEAR package today, version 1.0.0.
</p>
<blockquote>
<p>
What is Geeklog_Generator? It's a package that compliments the great ORM implementation, <a href="http://propel.phpdb.org/">Propel</a>. What's missing from Propel, you ask? First and foremost, it's always annoyed me that Propel (more concisely, the Propel Generator) doesn't generate pure PHP model objects...objects that don't need to include a bunch of persistence level code.
</p>
<p>
Geeklog_Generator gets around this by building minimal, pure PHP models (called Data Transfer Objects or DTO for short) that can not only be passed around easily via web services but it also but they can be quickly turned into the persistable Propel objects.
</p>
</blockquote>
<p>
Changes made for this release include "massive updates in preparation for GL2 GSoC and scafolding". You can grab the latest version of the package from <a href="http://pear.geeklog.net/index.php?package=Geeklog_Generator">its PEAR repository</a>.
</p>]]></description>
      <pubDate>Thu, 07 Jun 2007 11:17:00 -0500</pubDate>
    </item>
  </channel>
</rss>
