<?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>Mon, 08 Sep 2008 03:34:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Debuggable Blog: How to have multiple paginated widgets on the same page with CakePHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10902</guid>
      <link>http://www.phpdeveloper.org/news/10902</link>
      <description><![CDATA[<p>
On the Debuggable blog <i>Tim Koschutzki</i> <a href="http://www.debuggable.com/posts/how-to-have-multiple-paginated-widgets-on-the-same-page-with-cakephp:48ad241e-b018-4532-a748-0ec74834cda3">shows a way</a> to have more than one paginated item on your page at a time (in a CakePHP application).
</p>
<blockquote>
Many of you might have run into the problem of having multiple boxes on the same page that need to be paginated. For example you might have a left column with a list of members of your site and a right column that shows for a example a list of forums. Yeah, that's not the best example, but you get the idea.
</blockquote>
<p>
The typical CakePHP pagination functional assumes that there's only one block of information that needs to be paginated per page. With <i>Tim</i>'s modification, the model name for where the data is being pulled from is appended to the end of the URL and parsed by the script to know which is which.
</p>]]></description>
      <pubDate>Tue, 26 Aug 2008 12:04:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Snook's Blog: Easier Static Pages for CakePHP 1.2 Update
]]></title>
      <guid>http://www.phpdeveloper.org/news/10556</guid>
      <link>http://www.phpdeveloper.org/news/10556</link>
      <description><![CDATA[<p>
Updating from a <a href="http://www.phpdeveloper.org/news/9567">previous post</a>, <i>Jonathan Snook</i> has updates some of his comments about a simple way to make static pages in your CakePHP framework application:
</p>
<blockquote>
So it seems that the old code I had didn't work in debug mode, although on the current CakePHP 1.2 RC2, I'm not even sure it works at all. However, I decided to take some time to revisit the code. Last time, I simply hacked up the missingAction and missingController calls and it felt kludgy. It looked kludgy.
</blockquote>
<p>
Instead of abusing the error handler like before he decides to opt for this missingAction/missingController combo to handle the fall through. It doesn't seem to be working 100% correctly, though and he's <a href="https://trac.cakephp.org/ticket/5052">put in a ticket</a> to see if its a bug or by design.
</p>]]></description>
      <pubDate>Mon, 07 Jul 2008 12:05:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: Does Wordpress 2.5.1 suck?]]></title>
      <guid>http://www.phpdeveloper.org/news/10340</guid>
      <link>http://www.phpdeveloper.org/news/10340</link>
      <description><![CDATA[<p>
On the KillerPHP blog today, <i>Stefan Mischook</i> <a href="http://www.killerphp.com/articles/wordpress-251-sucks/">comments on</a> whether or not WordPress version 2.5.1 "sucks".
</p>
<blockquote>
I just recently installed the this latest version of Wordpress (2.5.1) and quickly found it hanging (while trying to load a page) for as long as 40-50 seconds! I then proceeded to isolate the potential causes (database, custom fields, custom theme) and have since found out that something stinks in 2.5.1's core. 
</blockquote>
<p>
He details some of the steps he took to try to track down the bug - installing on another server, searching the web for others with the same issue. His suggestion?
</p>
<blockquote>
Before you upgrade your old working installation of Wordpress, I would suggest that you test 2.5.1 in some other directory just to be sure it works with your server.
</blockquote>]]></description>
      <pubDate>Wed, 04 Jun 2008 12:08:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Fred Wu's Blog: Ruby on Rails, Passenger (ModRails) vs CodeIgniter and Kohana (Benchmarks)]]></title>
      <guid>http://www.phpdeveloper.org/news/10274</guid>
      <link>http://www.phpdeveloper.org/news/10274</link>
      <description><![CDATA[<p>
On his ThisLab blog, <i>Fred Wu</i> has posted some <a href="http://thislab.com/2008/05/26/ruby-on-rails-passenger-modrails-vs-codeigniter-and-kohana/">quick benchmarks</a> comparing some of the popular frameworks out there - Ruby on Rails/Passenger versus CodeIgniter/Kohana.
</p>
<blockquote>
Last few days I have been playing with Ruby and Rails, again. Today, when someone was asking on a forum about the efficiency of web frameworks, I thought I'd give the few frameworks I work with some more benchmark testing.
</blockquote>
<p>
His benchmarking is based on basic "Hello World" page requests for each of the frameworks. His results were interesting with CodeIgniter coming out with the fewest number of requests responded to (per second) and Rails coming out on top by a margin of about eighty or ninety over CodeIgniter/Kohana. 
</p>
]]></description>
      <pubDate>Tue, 27 May 2008 08:47:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: Why build all your pages in PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/10196</guid>
      <link>http://www.phpdeveloper.org/news/10196</link>
      <description><![CDATA[<p>
On his blog today, <i>Stefan Mischook</i> shares <a href="http://www.killerphp.com/articles/why-build-all-your-pages-in-php/">his reasoning</a> for making all of your pages PHP pages, regardless of static content or dynamic.
</p>
<blockquote>
By making all your web pages PHP pages from the start, you are basically leaving open the possibility of using PHP in your web pages at any time.
</blockquote>
<p>
By his reasoning, it provides an "out" for you later on should you decide that a page needs to have some dynamic content thrown in there somewhere (without having to change the filename - bad for SEO, supposedly).
</p>]]></description>
      <pubDate>Fri, 16 May 2008 07:54:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Five Wordpress Tips for Power Users]]></title>
      <guid>http://www.phpdeveloper.org/news/10127</guid>
      <link>http://www.phpdeveloper.org/news/10127</link>
      <description><![CDATA[<p>
On the Developer Tutorials Blog today, there's a <a href="http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/">new post</a> aimed at WordPress users to help them on the path to becoming "power users" with five tips.
</p>
<blockquote>
If you're a wordpress power user, you'll inevitably have some questions about how you can improve your blog or add new features. Here are five tips that will make life easier for people wanting to maximize their use of Wordpress.
</blockquote>
<p>
<a href="http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/">The list</a> is:
</p>
<ul>
<li>Quickly Find Page/Post ID
<li>Custom Front Page
<li>Password Protect Wordpress
<li>Protect from the 'Digg Efect' with HTML
<li>Stop Hackers
</ul>
<p>
Each of them with their own explanations (and links to other resources detailing how they're done).
</p>]]></description>
      <pubDate>Wed, 07 May 2008 07:57:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[New Earth Online: Caching PHP pages]]></title>
      <guid>http://www.phpdeveloper.org/news/10006</guid>
      <link>http://www.phpdeveloper.org/news/10006</link>
      <description><![CDATA[<p>
The New Earth Online has <a href="http://www.newearthonline.co.uk/index.php?page=article&article=424">a quick look</a> at one easy method for speeding up your site in a few different ways - caching pages and information with things like Cache_Lite and APC.
</p>
<blockquote>
As your site traffic grows it takes longer and longer to generate a dynamic page from sending multiple queries to a database. One possible solution to limit queries is to cache the result of each query that is needed, or to have a complete full page cache for your site.
</blockquote>
<p>
They look at the two ways I mentioned - the <a href="http://pear.php.net/package/Cache_Lite">Cache_Lite</a> PEAR package and the <a href="http://pecl.php.net/package/APC">APC</a> extension (that will soon be included by default in the stable PHP releases). Bits of code are provided for each showing how to get them set up and get them working inside of your application.
</p>]]></description>
      <pubDate>Mon, 21 Apr 2008 09:31:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Girouard's Blog: Rolling Your Own MVC: The Page Load Scenario]]></title>
      <guid>http://www.phpdeveloper.org/news/9944</guid>
      <link>http://www.phpdeveloper.org/news/9944</link>
      <description><![CDATA[<p>
<i>Michael Girouard</i> has posted his <a href="http://www.lovemikeg.com/blog/2008/04/07/rolling-your-own-mvc-the-page-load-scenario/">10,00 foot view</a> of the typical structure of an Model/View/Controller application (and framework) and how a page request is handled:
</p>
<blockquote>
In my <a href="http://www.lovemikeg.com/blog/2008/02/21/rolling-your-own-mvc-introduction/">previous article</a>, I announced that I would be documenting the process of developing a simple MVC framework. In this post I will go into a little more detail about each of the specific components of our MVC and will discuss the series of events which occur each time a page loads, otherwise known as the page load scenario.
</blockquote>
<p>
He talks about how URIs work, the role of mod_rewrite, several of the objects involved (like the Front Controller, Request, Route and View) and how they all fit in with the custom Models, Views and Controllers the user could define.
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 15:33:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Complex Web Pages with the Zend Framework?]]></title>
      <guid>http://www.phpdeveloper.org/news/9907</guid>
      <link>http://www.phpdeveloper.org/news/9907</link>
      <description><![CDATA[<p>
On his blog, <i>Padraic Brady</i> <a href="http://blog.astrumfutura.com/archives/281-Complex-Web-Pages-with-the-Zend-Framework.html">talks about</a> the creation of custom web pages (in the Zend Framework) with the help of the Zend_View enhancements that have been introduced lately.
</p>
<blockquote>
With the inclusion of Zend_View Enhanced as first documented, discussed and publicized in this blog series, in the Zend Framework as of 1.5.0 I'd like to thank everyone involved in the process. [...] The main problem of a complex View, is that the current Controller is only aware of a subset of its own required Model (data) and the current View. So how do do you get the View to include extra sections - for example, details from Technorati for your blog - which are common to ALL pages?
</blockquote>
<p>
Normally, a call to _forward() would have been the norm, but this was more often overly complex for what the developer wanted to do. The new Composite View and View Helpers seem to be the remedy. They make it simpler to grab that information and pull it in without the need to make a whole other framework request to do so.
</p>]]></description>
      <pubDate>Thu, 03 Apr 2008 12:04:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: The PHP QC presentation featured on Slideshare's homepage]]></title>
      <guid>http://www.phpdeveloper.org/news/9877</guid>
      <link>http://www.phpdeveloper.org/news/9877</link>
      <description><![CDATA[<p>
In a (very) quick note on his blog today <i>Stoyan Stefanov</i> <a href="http://www.phpied.com/the-php-qc-presentation-featured-on-slideshares-homepage/">points out</a> that a presentation of his posted over on <a href="http://www.slideshare.net">Slideshare</a> made the front page Featured section (with over 2600 views too!).
</p>
<blockquote>
Not bad. Especially having in mind that this is the second time around. [...] Slideshare is a great service nevertheless, just like on youtube, you can spend hours browsing people's presentation slides.
</blockquote>
<p>
<a href="http://www.phpied.com/20-new-performance-best-practices/">The presentation</a> was originally given at the PHP Quebec conference this year (2008).
</p>]]></description>
      <pubDate>Fri, 28 Mar 2008 10:22:48 -0500</pubDate>
    </item>
  </channel>
</rss>
