<?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>Sun, 12 Oct 2008 13:33:35 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Arnold Daniels' Blog: How I PHP: The Output Handler - Continued]]></title>
      <guid>http://www.phpdeveloper.org/news/9193</guid>
      <link>http://www.phpdeveloper.org/news/9193</link>
      <description><![CDATA[<p>
Continuing on from his <a href="http://www.phpdeveloper.org/news/9062">previous post</a> on output handling, <i>Arnold Daniels</i> shows how to build on the previous setup and add the ability to include dynamic data into the template.
</p>
<blockquote>
For instance, it would be nice if the data in the left column, 'Beauty Tips', could be different for each page. There are several ways to solve this, but for know I will choose the simplest.
</blockquote>
<p>He takes a few steps to make adding the content simple:</p>
<ul>
<li>Adding markers for the title and left menu to the template
<li>Change the OutputHandler class to make it less static
<li>use setData() to title the page
<li>user setData() to add left column content
<li>Use mark() and endmark() to section off a part of the template.
</ul>
<p>
He's <a href="http://blog.adaniels.nl/wp-content/code/output_handler_2/obdemo/">provided a demo</a> and made the <a href="http://blog.adaniels.nl/downloads/obdemo2.zip">source code available for download</a>.
</p>]]></description>
      <pubDate>Fri, 07 Dec 2007 09:32:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Dash's Blog: Dynamically adjusting your page title in symfony]]></title>
      <guid>http://www.phpdeveloper.org/news/8297</guid>
      <link>http://www.phpdeveloper.org/news/8297</link>
      <description><![CDATA[<p>
<i>Dave Dash</i> has posted a <a href="http://spindrop.us/2007/07/18/dynamically-adjusting-your-page-title-in-symfony/">quick hit</a> for symfony framework users - how to dynamically adjust your page title at your whim.
</p>
<blockquote>
A lot of the content on <a href="http://reviewsby.us/">reviewsBy.us</a> and other sites we make using <a href="http://symfony-project.com/">symfony</a> have dynamic content. We try to have our page titles reflect the content by prepending the name of the specific restaurant, document or menu item before the site name.
</blockquote>
<p>
Their path to the prize is a method, prependTitle that's included in a class (myActions.class.php) and used via it's reference in the application's app.yml file.
</p>]]></description>
      <pubDate>Fri, 20 Jul 2007 12:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Handling inline links to dynamic resources]]></title>
      <guid>http://www.phpdeveloper.org/news/6664</guid>
      <link>http://www.phpdeveloper.org/news/6664</link>
      <description><![CDATA[<p>
On the ThinkingPHP Blog today, there's <a href="http://www.thinkingphp.org/2006/11/06/handling-inline-links-to-dynamic-resources/">a look at</a> how to handle inline links to dynamic resources - specifically allowing users to create links in their own content to dynamic content elsewhere on the site.
</p>
<blockquote>
I thought of something that would be both, easy to implement and easy to use. What I finally came up with is tightly coupled to my <a href="http://www.thinkingphp.org/2006/09/18/dessert-11-welcome-back-friendly-urls/">new url system</a> that I'm using, so make sure to <a href="http://www.thinkingphp.org/2006/09/18/dessert-11-welcome-back-friendly-urls/">check it out</a> in case you've missed it.
</blockquote>
<p>
The basic idea of the system is that the URL of the page (made up partly of the title) would be the unique identifier for the page. For example, "[page 12]" would be expanded out to "/pages/12:my-title". <i>Felix</i> takes this idea and runs with it, showing how to implement it in a CakePHP project inside of a Model and a Component. The sample usage code is, of course, also included in <a href="http://www.thinkingphp.org/2006/11/06/handling-inline-links-to-dynamic-resources/">the post</a>.
</p>]]></description>
      <pubDate>Wed, 08 Nov 2006 07:21:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Two Tutorials - Title to Slug & Dependencies with If]]></title>
      <guid>http://www.phpdeveloper.org/news/6554</guid>
      <link>http://www.phpdeveloper.org/news/6554</link>
      <description><![CDATA[<p>
Over on the ThinkingPHP blog today, there's two new tutorials from <i>Felix Geisendorfer</i> - one dealing with <a href="http://www.thinkingphp.org/2006/10/19/title-to-url-slug-conversion/">the conversion</a> of WordPress titles into the "slugs" the system uses, and the other <a href="http://www.thinkingphp.org/2006/10/21/using-if-statements-to-express-dependencies/>an example</a> of using if statements to express dependencies.
</p>
<p>
In <a href="http://www.thinkingphp.org/2006/10/19/title-to-url-slug-conversion/">the first article</a> he shows a method how, inside the structure of CakePHP, to make a component to grab the slug out of the URL and parse it down to the different parts of the title.
</p>
<p>
In <a href="http://www.thinkingphp.org/2006/10/21/using-if-statements-to-express-dependencies/">the second</a>, <i>Felix</i> demonstrates how, with some simple if logic, you can simulate dependencies. His examples include a simple if to check for the return of "true" from various functions and an inline example of an svn export and FTP.
</p>]]></description>
      <pubDate>Mon, 23 Oct 2006 13:17:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Site News: Got a job you want the Community to know about? Let us post it!]]></title>
      <guid>http://www.phpdeveloper.org/news/6225</guid>
      <link>http://www.phpdeveloper.org/news/6225</link>
      <description><![CDATA[<p>
Here on PHPDeveloper.org, we're always trying to do whatever we can to help out the PHP community, so to further that effort we're going to start posting a weekly "jobs roundup" of the job information we recieve. There won't be a charge and it can be anything from contract jobs out to permenant positions anywhere in the world (hooray for the internet!).
</p>
<p>
Now, on to what we need from you - we'd prefer the information to be as concise as possible. Cut and paste of a full listing isn't the way to go here. We'd prefer the summary of the position with a link to more details.
</p>
<p>
Here's the key info we'd like:
<ul>
<li>Company Name
<li>Position title
<li>Position location
<li>Summary description of the position
<li>A link to more information on it (on Monster, Hotjobs, your site, etc.)
</ul>
Other information included along with the request might me truncated or modified slightly to fit within these guidelines.
</p>
<p>
To submit your job information, send it along to <a href="malto:jobs@phpdeveloper.org">jobs@phpdeveloper.org</a> and we'll get it posted and include the phrase "JOB POSTING" somewhere in the subject line. Since this will start off as a weekly thing, you'll need to wait until Friday to see the information show up.
</p>]]></description>
      <pubDate>Fri, 08 Sep 2006 07:50:16 -0500</pubDate>
    </item>
  </channel>
</rss>
