<?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>Wed, 23 May 2012 12:34:04 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Allen's Blog: One-to-Many Joins with Zend_Db_Table_Select]]></title>
      <guid>http://www.phpdeveloper.org/news/17515</guid>
      <link>http://www.phpdeveloper.org/news/17515</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has a tip for the Zend Framework users out there using the Zend_Db module to connect to their database resources - how to do a <a href="http://akrabat.com/zend-framework/one-to-many-joins-with-zend_db_table_select/">one to many join</a> with the help of Zend_Db_Table_Select (easier than it sounds).
</p>
<blockquote>
Let's say that you want to set up a one-to-many relationship between two tables: Artists and Albums because you've refactored my <a href="http://akrabat.com/zend-framework-tutorial">ZF1 tutorial</a>. [...] Assuming you're using Zend_Db_Table, the easiest way is to turn off the integrity check and do a join in a mapper or table method.
</blockquote>
<p>
He includes a few lines of source to illustrate, calling the "setIntegrityCheck" value to "false" to tell ZF not to worry about the additional join value over to the artists table. The result is a new column value with the artist's name instead of just the ID.
</p>]]></description>
      <pubDate>Wed, 08 Feb 2012 09:28:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Anna Filina's Blog: Doctrine Translation in leftJoin()]]></title>
      <guid>http://www.phpdeveloper.org/news/14411</guid>
      <link>http://www.phpdeveloper.org/news/14411</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Anna Filina</i> looks at <a href="http://annafilina.com/blog/doctrine-translation-in-leftjoin/">internationalization in Doctrine</a> and how Symfony auto-builds things to take care of it for you.
</p>
<blockquote>
If you use Doctrine, then you probably know how lazy loading can hurt your performance. I carefully craft every query to everything that I need in one shot, but only what I need. One thing that evaded me at first was the i18n part. I am pleased with the way <a href="http://www.doctrine-project.org/">Doctrine</a> + <a href="http://www.symfony-project.org/">symfony</a> magically creates all my models and database tables with i18n support. 
</blockquote>
<p>
She talks a bit about the internationalization (i18n) support is put into the schema.yml file and the bit of confusion she had over how to handle a left join using its structure. The key lies in the Translation relationships.
</p>]]></description>
      <pubDate>Mon, 26 Apr 2010 11:39:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Keith Casey's Blog: Joining a Startup]]></title>
      <guid>http://www.phpdeveloper.org/news/13756</guid>
      <link>http://www.phpdeveloper.org/news/13756</link>
      <description><![CDATA[<p>
Many software developers (the ones that haven't been in on a start-up usually) are tempted to make the jump into the seemingly glamorous start-up world to build that next killer web app. <i>Keith Casey</i> has posted a bit of a <a href="http://caseysoftware.com/blog/joining-a-startup">reality check</a> for developers thinking of making the move.
</p>
<blockquote>
In the last few weeks, I've talked with a number of friends about career changes. Some are feeling antsy and just want to move, others are starting their own consulting, and others are starting and joining startups.  While I've done all the above - to varying levels of <del>failure</del> success - I thought I'd share the things I've learned along the way.
</blockquote>
<p>
He gives six things to keep an eye out for when considering your entry into the startup world:
</p>
<ul>
<li>Everyone does everything
<li>There's no career path
<li>You never have enough money
<li>v1.0 never looks like the original Vision
<li>Every founder believes in him/herself
<li>Most startups don't explode, they fizzle
</ul>
<p>
He's not saying all of this to push you away from startups, though - more to help you go in "with eyes open" and ready to ask the harder questions before you get into a bad situation.
</p>]]></description>
      <pubDate>Thu, 31 Dec 2009 11:19:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Micheal Kimsal's Blog: Symfony __toString() generation]]></title>
      <guid>http://www.phpdeveloper.org/news/10865</guid>
      <link>http://www.phpdeveloper.org/news/10865</link>
      <description><![CDATA[<p>
<i>Michael Kimsal</i> has <A href="http://michaelkimsal.com/blog/symfony-__tostring-generation/">pointed out</a> a small irritation when using the Symfony framework and models - an issue when using models that have relationships.
</p>
<blockquote>
If there are relations (an Author has a Book, for example). the generated forms will complain that the generated Models need a __toString() method to be used in the Form/View.  In grails, this is the case, but every domain (corresponding to a Symfony 'model') has an implicit toString() method already generated, which return the string "<domain>:<id>".  For most production work, you'll want to override it with whatever you need the string to read, but for prototyping, it's fine.
</blockquote>
<p>
He went in and modified the Symfony core to add in a __toString call that would return the object correctly. Several of the commentors agree with his frustration and some of the Symfony developers even chime in with some of the reasoning behind why it's like that.
</p>]]></description>
      <pubDate>Wed, 20 Aug 2008 11:14:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Patrick Reilly's Blog: Join the PHP Evangelism Team - Mailing List]]></title>
      <guid>http://www.phpdeveloper.org/news/8881</guid>
      <link>http://www.phpdeveloper.org/news/8881</link>
      <description><![CDATA[<p>
<i>Patrick Reilly</i> has posted about a new group that's being formed in the PHP world - a PHP Evangelism Team designed to help promote the language.
</p>
<blockquote>
The goal of the PHP Evangelism Team is to bring together the right people, resources and experience from across the PHP Community to provide developers with the process guidance and best practices needed to create new opportunities for the web.
</blockquote>
<p>
They're also looking to help support local user groups and aid in any PHP-related event they can. You can subscribe to their mailing list to get more information as the group develops. Check out the post for the address to join the list.
</p>]]></description>
      <pubDate>Wed, 17 Oct 2007 13:31:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Turn SQL into XML with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8326</guid>
      <link>http://www.phpdeveloper.org/news/8326</link>
      <description><![CDATA[<p>
On the IBM developerWorks site today, there's a <a href="http://www.ibm.com/developerworks/xml/library/x-query2xml/index.html">new tutorial</a> by <i>Vikram Vaswani</i> walking through the use of the <a href="http://pear.php.net/package/XML_Query2XML/">XML_Query2XML PEAR package</a> to pull data from your SQL database and push it into an XML structure.
</p> 
<blockquote>
Ever wished for an easy way to transform SQL result sets into XML? It's a PEAR package named XML_Query2XML, and it provides a comprehensive framework to efficiently turn the results of a database query into a customizable XML document. This article introduces the package, and demonstrates useful real-world applications, including using it with XSL and XPath, combining it with data from external Web services, and creating database dump files.
</blockquote>
<p>
They <a href="http://www.ibm.com/developerworks/xml/library/x-query2xml/index.html">go through</a> the installation and the steps to create the XML:
</p>
<ul>
<li>Convert SQL to XML
<li>Transform XML output with XSL
<li>Customize XML output
<li>Work with SQL joins
<li>Filter SQL records with XPath
<li>Merge data from multiple sources
<li>Create database backups
</ul>
<p>
Check out <a href="http://www.ibm.com/developerworks/xml/library/x-query2xml/index.html">the full tutorial</a> for an excellent guide to using this powerful PEAR package.
</p>]]></description>
      <pubDate>Wed, 25 Jul 2007 09:21:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Splitbrain.org: Joining .WAVs with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6770</guid>
      <link>http://www.phpdeveloper.org/news/6770</link>
      <description><![CDATA[<p>
In <a href="http://www.splitbrain.org/blog/2006-11/15-joining_wavs_with_php">this new post</a> from the splitbrain.org website (creators of the <a href="http://www.splitbrain.org/projects/dokuwiki">Dokuwiki</a> application), there's an example of how to join wav files together with PHP with a quick and easy script.
</p>
<blockquote>
I'm currently working on a <a href="http://wiki.splitbrain.org/plugin%3Acaptcha">CAPTCHA plugin</a> for <a href="http://www.splitbrain.org/projects/dokuwiki">DokuWiki</a> and thought about providing audio output for users not able to see the image. This is pretty simple for CAPTCHAs - there is no need for complicated speech synthesis because you only need recordings of the 26 possible letters. But you need a way of joining those recordings on the fly...
</blockquote>
<p>
There was an example he found <a href="http://articles.techrepublic.com.com/5100-3513-5810215.html">previously</a>, but it seemed like overkill, so he rolled together his own solution - a 24 line script that takes in the filenames of the wav files and spits back out the joined resource. This functionality has already been added to <a href="http://wiki.splitbrain.org/plugin%3Acaptcha">the CAPTCHA plugin</a> if you'd like to check it out.
</p>]]></description>
      <pubDate>Mon, 27 Nov 2006 08:50:00 -0600</pubDate>
    </item>
  </channel>
</rss>

