<?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, 24 May 2013 06:03:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Robert Basic's Blog: A hack for Zend Framework's translated route segments]]></title>
      <guid>http://www.phpdeveloper.org/news/16203</guid>
      <link>http://www.phpdeveloper.org/news/16203</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has put together a new post to his blog about <a href="http://robertbasic.com/blog/zend-frameworks-translated-route-segments-hack/">a hack he's found</a> for the <a href="http://framework.zend.com">Zend Framework</a> translated route segments when a "gotcha" popped up when he was trying to use them in a  multi-language website. 
</p>
<blockquote>
The web site's default locale, language, is English. If the user has no locale in the session/cookie, she, or he, will get the English version of the web site. [...] But! If the user's first visit is on the http://example.com/vesti URL ("vesti" is "news" in Serbian), the router can't route that because it depends on the locale and the default locale is English and not Serbian, thus directing the user to the 404 page.
</blockquote>
<p>
To get around this issue he created a front controller plugin that fires in the postDispatch hook to change the locale manually if the current request's isn't found to be English. It then redirects the user to the correct location for the new language and things proceed normally.
</p>]]></description>
      <pubDate>Fri, 15 Apr 2011 09:17:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: Ask Chris Is Back]]></title>
      <guid>http://www.phpdeveloper.org/news/4900</guid>
      <link>http://www.phpdeveloper.org/news/4900</link>
      <description><![CDATA[As noted in <a href="http://shiflett.org/archive/203">his latest blog entry</a>, <i>Chris Shiflett</i> and the Pro::PHP podcast are again collaborating to bring the listening community more "Ask Chris" shows.
<p>
<quote>
<i>
It's been a few months since <a href="http://shiflett.org/archive/133">Episode One</a>, but thanks to <a href="http://marcuswhitney.com/">Marcus</a>, <a href="http://shiflett.org/archive/131">Ask Chris</a> is back <a href="http://podcast.phparch.com/podcast/audio/20060224.mp3">on the air</a>. The format is a bit different - instead of doing separate shows, we'll be doing a short segment at the end of each interview.
<p>
<a href="http://podcast.phparch.com/podcast/audio/20060224.mp3">This interview</a> is with <a href="http://www.sklar.com/blog/">David Sklar</a> of <a href="http://www.ning.com/">Ning</a>. He and Marcus discuss Ning, of course, but David also provides some good perspective on the state of technology and how the definition of a programmer is becoming more and more inclusive.
<p>
This episode of Ask Chris is about email injection, a topic of growing concern for PHP developers. 
</i>
</quote>
<p>
You can find out more about this addition to the Pro::PHP lineup and how to subscribe to the podcast over on <a href="http://podcast.phparch.com">their site</a>.]]></description>
      <pubDate>Mon, 27 Feb 2006 08:20:25 -0600</pubDate>
    </item>
  </channel>
</rss>
