<?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, 21 May 2012 09:40:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Oliver John Tibi's Blog: Mobile-ize Your CakePHP Application]]></title>
      <guid>http://www.phpdeveloper.org/news/17281</guid>
      <link>http://www.phpdeveloper.org/news/17281</link>
      <description><![CDATA[<p>
In a new post to his blog, <i>Oliver John Tibi</i> has the first part of a series looking at <a href="http://tibi.ph/posts/view/mobile-ize_your_cakephp_app_part_1">mobile-izing your CakePHP application</a>, making it mobile friendly when a mobile browser is detected.
</p>
<blockquote>
I'll be writing a short series of posts on how to create a mobile version of your CakePHP app. I've always been bragging to my peers how awesome CakePHP is, and so now I'm writing a short tutorial on how to create a mobile-friendly version of a CakePHP app. I promise to make this as easy as possible. 
</blockquote>
<p>
In this first part of the series he helps you do two things - set up some custom routes for the mobile version of the site ("/m") and add in browser detection using the RequestHandler's "isMobile()" method.
</p>]]></description>
      <pubDate>Tue, 20 Dec 2011 09:11:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP podcast episode 17 - PHP 5.4 & PHP-GTK in the Browser]]></title>
      <guid>http://www.phpdeveloper.org/news/17063</guid>
      <link>http://www.phpdeveloper.org/news/17063</link>
      <description><![CDATA[<p>
On PHPClasses.org today they've released their <a href="http://www.phpclasses.org/blog/post/163-PHP-54-Release-Date-PHPGTK-Apps-Running-on-a-Web-Browser--Lately-in-PHP-podcast-episode-17.html">latest episode</a> of their "Lately In PHP" podcast - episode #17. In this new episode <i>Manuel</i> and <i>Ernani</i> talk about PHP-GTK in a web browser and the proposed PHP 5.4 release date.
</p>
<blockquote>
PHP 5.4 beta 2 was just released, so the final version of 5.4.0 is coming soon. Many PHP Developers want to know when it will be the final PHP 5.4 release date. Manuel Lemos and Ernani Joppert talk about this and other interesting PHP related topics in episode 17 of the Lately in PHP podcast.
</blockquote>
<p>
You can listen to this latest episode either through the <a href="http://www.phpclasses.org/blog/post/163-PHP-54-Release-Date-PHPGTK-Apps-Running-on-a-Web-Browser--Lately-in-PHP-podcast-episode-17.html">in-page player</a>, by <a href="http://www.phpclasses.org/blog/post/163/file/95/name/Lately-In-PHP-17.mp3">downloading the full mp3</a> or by <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribing to their feed</a> to get this and past episodes (including ones about <a href="http://modx.com/">MODX</a> and <a href="https://phpfog.com/">PHPFog</a>).
</p>]]></description>
      <pubDate>Mon, 31 Oct 2011 12:50:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Anson Cheung's Blog: Optimize Web Site Performance by using YSlow]]></title>
      <guid>http://www.phpdeveloper.org/news/16940</guid>
      <link>http://www.phpdeveloper.org/news/16940</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Anson Cheung</i> guides you through another tool that can help you optimize your web applications - <a href="http://www.ansoncheung.tk/articles/optimize-web-site-performance-using-yslow">using YSlow for the frontend</a> to detect trouble spots early (whether they're actually caused by the frontend or not).
</p>
<p>
He goes through the thirteen rules to help improve your website's performance including:
</p>
<ul>
<li>Make fewer HTTP requests
<li>Gzip components
<li>Make JS and CSS external
<li>Remove duplicate scripts
<li>Configure ETags
</ul>
<p>
For more information about the YSlow extension (available for Firefox, Chrome, Opera and mobile devices), check out the <a href="http://developer.yahoo.com/yslow/">project's page</a> on Yahoo's Developer section (including ten more rules it checks).
</p>]]></description>
      <pubDate>Mon, 03 Oct 2011 11:12:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: CakePHP - Web Test Cases with SimpleTest]]></title>
      <guid>http://www.phpdeveloper.org/news/16826</guid>
      <link>http://www.phpdeveloper.org/news/16826</link>
      <description><![CDATA[<p>
On DZone.com today there's a new post written up by <i>Mike Bernat</i> about <a href="http://css.dzone.com/news/cakephp-web-test-cases">making web test cases for CakePHP</a> applications with <a href="http://www.simpletest.org/">SimpleTest</a>.
</p>
<blockquote>
Most of the applications I work on have very straight-forward components and not a lot of complex functions/methods. I would only be testing whether or not they worked at all, rather than if they worked in a wide-array of situations. [...] For example, unit-testing a simple news list and detail page is probably overkill. Sure, you can test your classes by simple instantiating them but that only goes so far. My new method involves using SimpleTest's Scriptable Browser to actually crawl webpages and ensure that the proper data is being displayed.
</blockquote>
<p>
He includes a few snippets of code to show how to implement SimpleTest's web test functionality - one that just checks a HTTP response values, another that checks for text on the page, one testing for a login on an admin page and a test for add/edit pages to ensure valid loading based on URLs/links.
</p>]]></description>
      <pubDate>Wed, 07 Sep 2011 10:08:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[James Cohen's Blog: How to Avoid Character Encoding Problems in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16246</guid>
      <link>http://www.phpdeveloper.org/news/16246</link>
      <description><![CDATA[<p>
<i>James Cohen</i> has a recent post to his blog looking at a way you can <a href="http://webmonkeyuk.wordpress.com/2011/04/23/how-to-avoid-character-encoding-problems-in-php/">avoid some of the character encoding problems</a> in PHP that can come with working with multiple character sets.
</p>
<blockquote>
Character sets can be confusing at the best of times. This post aims to explain the potential problems and suggest solutions. Although this is applied to PHP and a typical LAMP stack you can apply the same principles to any multi-tier stack.
</blockquote>
<p>
He includes a "boring history" session (and recommends skipping if you just want the good stuff) that talks a bit about character sets and their history in computer system handling. All that said, he recommends using UTF-8 to ease your character encoding woes. He talks about configuring your editor to support it, making sure your browsers understand it and setting up your MySQL database connection to use it.
</p>]]></description>
      <pubDate>Mon, 25 Apr 2011 14:13:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jordi Boggiano's Blog: PHP Console in Your Browser]]></title>
      <guid>http://www.phpdeveloper.org/news/15183</guid>
      <link>http://www.phpdeveloper.org/news/15183</link>
      <description><![CDATA[<p>
<i>Jordi Boggiano</i> has <a href="http://seld.be/notes/php-console-in-your-browser">a new post today</a> looking at his PHP console script that works in your browser that sets up easily and works from your localhost web server - <a href="http://github.com/seldaek/php-console">php-console</a>.
</p>
<blockquote>
 Since I spend most of my days programming PHP I tend to need that a lot and a few years back I wrote a small script that would let me type php code in my browser and execute it. Nothing fancy, but quite useful. Over the years a few people got interest seeing me use it and asked for the sources, so instead of repackaging it every time, I thought I'd clean it up, polish a bit, add some features, and put it on github. 
</blockquote>
<p>
Setup is as simple as dropping the code somewhere in your local server's document root and offers a textarea for input and a expandable tree for the resulting output. It uses the <a href="http://krumo.sourceforge.net">Krumo</a> tool to create this modified output. You can see a <a href="http://seld.be/_misc/php-console.png">screenshot here</a>.
</p>]]></description>
      <pubDate>Fri, 24 Sep 2010 11:51:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: New Xdebug browser extensions]]></title>
      <guid>http://www.phpdeveloper.org/news/14042</guid>
      <link>http://www.phpdeveloper.org/news/14042</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has posted about <a href="http://derickrethans.nl/new-xdebug-helper.html">some new browser extensions</a> for the popular PHP-based debugger <a href="http://xdebug.de">Xdebug</a>. These are to replace the helper that is no longer available on FireFox's site (<a href="http://xdebug.org/files/xdebug_helper-0.3.1-fx.xpi">download</a>).
</p>
<blockquote>
Years ago I wrote about a Firefox extension that allows you to start an Xdebug debugging session by clicking on an icon in Firefox' status bar. For some unexplained reason, this extension is no longer available through Firefox' addon-site. [...] There are now a few other browser extensions that do the same thing.
</blockquote>
<p>
He lists three new extensions that can most of what you'd need to keep your testing going - <a href="https://addons.mozilla.org/en-US/firefox/addon/58688">easy Xdebug</a>, <a href="http://blog.remailed.net/2010/01/xdebug-enabler-v0-2/">Xdebug enabler</a> (for Chrome) and <a href="http://highervisibilitywebsites.com/simple-cross-browser-xdebug-helper-session-starter-and-stopper-no-add-ons-needed">this blog post</a> with a pure Javascript method done with bookmarklets.
</p>]]></description>
      <pubDate>Wed, 17 Feb 2010 11:20:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DotVoid.com: Problem with downloading files with Internet Explorer over HTTPS]]></title>
      <guid>http://www.phpdeveloper.org/news/13316</guid>
      <link>http://www.phpdeveloper.org/news/13316</link>
      <description><![CDATA[<p>
On the DotVoid.com blog <i>Danne</i> shares a <a href="http://www.dotvoid.com/2009/10/problem-with-downloading-files-with-internet-explorer-over-https/">quick tip</a> on forcing downloads over HTTPS to Internet Explorer (which, of course, has to be difficult about it).
</p>
<blockquote>
The problem is that Internet Explorer does not handle file dowloads without caching over https very well. Or at all. According to knowledge articles on Microsofts website the problem occurs when having one or two of the http headers. [...] Previously I have have just omitted the http header "Pragma: nocache" for IE but it seems it does not always help.
</blockquote>
<p>
So the fix is relatively simple - rely on the $_SERVER['HTTP_USER_AGENT'] value to tell if it's an IR browser or not. If it is, "Pragma: cache" works. If not, stick with "Pragma: no-cache".
</p>]]></description>
      <pubDate>Thu, 01 Oct 2009 09:48:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magazine: 50 Extremely Useful PHP Tools]]></title>
      <guid>http://www.phpdeveloper.org/news/11778</guid>
      <link>http://www.phpdeveloper.org/news/11778</link>
      <description><![CDATA[<p>
Smashing magazine has <a href="http://www.smashingmagazine.com/2009/01/20/50-extremely-useful-php-tools/">compiled a list</a> of fifty things they think every PHP developer should not be without:
</p>
<blockquote>
It makes perfect sense to provide the huge community of PHP developers with an overview of useful tools and resources that can make their development process easier and more effective. This post presents 50 useful PHP tools that can significantly improve your programming workflow. Among other things, you'll find a plethora of libraries and classes that aid in debugging, testing, profiling and code-authoring in PHP.
</blockquote>
<p>Their long list includes tools is broken up into sections:</p>
<ul>
<li>Debugging
<li>Testing and Optimization
<li>Documentation
<li>Security
<li>Image Manipulation and Graphs
<li>PHP Code Beautifier
<li>Version-Control Systems
<li>Useful Extensions, Utilities and Classes
<li>PHP Online Tools and Resources
<li>In-Browser Tools (Firefox Add-Ons)
<li>Frameworks for PHP
<li>PHP IDEs and Editors
<li>Other Sources and Resources
</ul>]]></description>
      <pubDate>Wed, 21 Jan 2009 07:54:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ivan Guardado's Blog: How to debug PHP code]]></title>
      <guid>http://www.phpdeveloper.org/news/11204</guid>
      <link>http://www.phpdeveloper.org/news/11204</link>
      <description><![CDATA[<p>
<i>Ivan Guardado</i> has <a href="http://yensdesign.com/2008/10/how-to-debug-php-code/">posted a recent tutorial</a> looking at debugging your PHP code with the help of a popular tool - <a href="https://addons.mozilla.org/en-US/firefox/addon/1843">FirePHP</a> (that interfaces with an equally popular Firefox extension, <a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a>).
</p>
<blockquote>
Nowadays, the code debugger is a tool that has almost all programing environments which allows you to watch the internal work of your applications and finding errors at run time for a easy way. The trouble is when you are working in a client-server architecture model, because from where you send the request (client) can not access the code hosted on the server.
</blockquote>
<p>
He points out <a href="https://addons.mozilla.org/en-US/firefox/addon/1843">FirePHP</a> as one that doesn't require this sort of installation. Included is a quick tutorial on getting it up and running for your development environment as well as the output formats and how to handle the output you want for debugging only.
</p>]]></description>
      <pubDate>Tue, 14 Oct 2008 08:44:17 -0500</pubDate>
    </item>
  </channel>
</rss>

