<?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, 19 May 2013 19:11:39 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Swan's Blog: PDO Cheat Sheet for SQL Server Driver for PHP ]]></title>
      <guid>http://www.phpdeveloper.org/news/14395</guid>
      <link>http://www.phpdeveloper.org/news/14395</link>
      <description><![CDATA[<p>
For those using (or wanting to use) the SQL Server driver for PHP via PDO, <i>Brian Swan</i> has a handy resource for you - a <a href="http://blogs.msdn.com/brian_swan/archive/2010/04/21/pdo-cheat-sheet-for-sql-server-driver-for-php.aspx">PDO Cheat Sheet</a>.
</p>
<blockquote>
With this weeks release of the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=df4d9cc9-459c-4d75-a503-ae3fceb85860&displaylang=en">SQL Server Driver for PHP 2.0 CTP 1</a> (which includes a PDO driver for SQL Server), I need to get up to speed quickly. And, the truth is, I'm fairly inexperienced with PDO, so a cheat sheet is helping me learn the API. Besides, there are some constants that are database specific...I don't stand a chance of keeping those at the ready without a cheat sheet. 
</blockquote>
<p>
This cheat sheet is for this first release of the PDO driver, so it'll probably change as time goes on, but it's a good starting place. You can find out more details about the methods and constants mentioned on the <a href="http://us3.php.net/manual/en/book.pdo.php">PDO page</a.> of the PHP.net site.
</p>]]></description>
      <pubDate>Thu, 22 Apr 2010 12:09:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Scott Klarr's Blog: PHP Cheat Sheets]]></title>
      <guid>http://www.phpdeveloper.org/news/9594</guid>
      <link>http://www.phpdeveloper.org/news/9594</link>
      <description><![CDATA[<p>
<i>Scott Klarr</i> has <a href="http://www.scottklarr.com/topic/100/php-cheat-sheets/">pulled together</a> a listing of the top cheat sheets that he's found out there relating to PHP (and things surrounding it) like:
</p>
<ul>
<li><a href="http://www.blueshoes.org/en/developer/php_cheat_sheet">this one</a> from blueshoes.org
<li>a sheet covering <a href="http://www.pixelated-dreams.com/uploads/misc/cheatsheets/FilteringAndEscapingCheatSheet.pdf">filtering and escaping</a>
<li>a <a href="http://www.phpxperts.net/SmartyCheatSheet.pdf">Smarty cheat sheet</a>
<li>a few <a href="http://wpcandy.com/the-wordpress-help-sheet/">covering</a> <a href="http://bueltge.de/wp-content/download/wp/WP_Plugin_API.pdf">WordPress</a>
<li>and ones covering <a href="http://cakephp.org/files/cakesheet.pdf">CakePHP</a> and <a href="http://drupal.org/files/drupal_core_hooks_cheat_sheet_v5.pdf">Drupal</a>
</ul>
<p>
Check out <a href="http://www.scottklarr.com/topic/100/php-cheat-sheets/">his page</a> for more (and thumbnails for each).
</p>]]></description>
      <pubDate>Fri, 08 Feb 2008 14:37:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: The Joy of Regular Expressions [3]]]></title>
      <guid>http://www.phpdeveloper.org/news/6380</guid>
      <link>http://www.phpdeveloper.org/news/6380</link>
      <description><![CDATA[<p>
<i>Harry Fuecks</i> has gotten busy and posted <a href="http://www.sitepoint.com/blogs/2006/09/28/the-joy-of-regular-expressions-3/">the third part</a> of his "Joy of Regular Expressions" series over on the SitePoint PHP Blog today.
</p>
<blockquote>
Following on from the <a href="http://www.sitepoint.com/blogs/2006/09/27/the-joy-of-regular-expressions-2/">last part</a>, this one is more of an intermission-a round up of regex syntax seen so far and a couple of links following feedback.
</blockquote>
<p>
He looks at two <a href="http://www.sitepoint.com/blogs/2006/09/28/the-joy-of-regular-expressions-3/">different topics</a>:
<ul>
<li>A "must reads" section of resources for getting the most out of regular expressions
<li>A comprehensive "cheat sheet" with tips on expression delimiters, literals, pattern modifiers, character classes, quantifiers, assertions, sub-patterns, and working with the blackslash.
</ul>
</p>]]></description>
      <pubDate>Wed, 27 Sep 2006 14:40:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[AddedBytes.com: Regular Expressions Cheat Sheet]]></title>
      <guid>http://www.phpdeveloper.org/news/6282</guid>
      <link>http://www.phpdeveloper.org/news/6282</link>
      <description><![CDATA[<p>
One of the more elusive concepts of programming can be working with regular expressions. Now, there's lots of places to learn them and to get a handle on what they can do (such as <a href="http://www.oreilly.com/catalog/regex3/index.html">this book</a>), but what if you don't need the full-blown reference and just want a quick and dirty reference source? AddedBytes.com is happy to be of service with <a href="http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/">their latest cheat sheet</a> divided up into the different formats (anchors, character classes, assertions, escape characters, etc).
</p>
<blockquote>
The Regular Expressions cheat sheet is designed to be printed on an A4 sheet of paper and live by a designer or developer's desk, to make life a bit easier. A description of what is on the cheat sheet follows, or if you are impatient, you can go straight to the full size Regular Expressions cheat sheet.
</blockquote>
<p>
This time, they've posted it in a few different formats, including <a href="http://www.addedbytes.com/regular_expressions_cheat_sheet.torrent">a torrent file</a> to make for faster/easier download. They still have <a href="http://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/">the usual methods</a> (PDF and PNG) but you'll need to visit the page for those links - it's been requested not to directly link to them.
</p>]]></description>
      <pubDate>Fri, 15 Sep 2006 07:46:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[456Bereastreet.com: Build your own PHP style sheet switcher]]></title>
      <guid>http://www.phpdeveloper.org/news/6134</guid>
      <link>http://www.phpdeveloper.org/news/6134</link>
      <description><![CDATA[<p>
At the 456 Berea St blog today, there's <a href="http://www.456bereastreet.com/archive/200608/build_your_own_php_style_sheet_switcher/">a popular new post</a> that demonstrates a simple (yet effective) method for switching out the style sheets on your site at the whim of the user.
</p>
<blockquote>
<p>
Want to have a style switcher that lets your site's visitors choose a different style sheet? Want it to work even if there is no JavaScript support? The trick is to use a server-side language like PHP, which is what I use for my style switcher.
</p>
<p>
Using PHP to let the user switch to a different CSS file is nothing new. But it is one of the things that I am often asked about, so I thought it would be good to have a write-up to refer people to in the future.
</p>
</blockquote>
<p>
The code for <a href="http://www.456bereastreet.com/archive/200608/build_your_own_php_style_sheet_switcher/">the switcher</a> is only about five lines long, implementation and all, but it's a nice, clean way to do it. It would break if the viewer didn't have cookies allowed on their system, though.
</p>]]></description>
      <pubDate>Thu, 24 Aug 2006 15:19:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: Filtering & Escaping Cheat Sheet]]></title>
      <guid>http://www.phpdeveloper.org/news/5409</guid>
      <link>http://www.phpdeveloper.org/news/5409</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> <a href="http://pixelated-dreams.com/archives/231-Filtering-Escaping-Cheat-Sheet.html">has created</a> a cheat sheet useful for any developer out there using a database, one to remind you of the filtering and escaping techniques to use before putting data into your database or outputting it to your site.
</p>
<quote>
<i>
<p>
After having two conversation on escaping data for MySQL? insertion within 5 minutes of each other in ##php@freenode, I decided to created a cheat sheet on Filtering & Escaping in general.
</p>
<p>
I think what most people are not aware of is that not just outputting to the browser is output. So it querying a database, or calling one of the exec functions, or even using the mail function (not mentioned on the cheat sheet, perhaps for v2.
</p>
</i>
</quote>
<p>
You can grab the <a href="http://pixelated-dreams.com/uploads/misc/cheatsheets/FilteringAndEscapingCheatSheet.pdf">cheat sheet here</a> in a PDF format.
</p>]]></description>
      <pubDate>Mon, 22 May 2006 05:42:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Thingoid.com: Markdown and PHP Markdown Extra Cheat Sheet]]></title>
      <guid>http://www.phpdeveloper.org/news/4661</guid>
      <link>http://www.phpdeveloper.org/news/4661</link>
      <description><![CDATA[From <i>Trevor</i>'s blog, <a href="http://www.thingoid.com">thingoid</a>, today, there's <a href="http://www.thingoid.com/2006/01/markdown-cheat-sheet/>this new post</a> linking to a Markdown and PHP Markdown "cheat sheet" he's created.
<p>
<quote>
<i>
Here's my <a href="http://www.thingoid.com/assets/PHPMarkdownExtraSyntaxSummary1.0.1.pdf>Markdown/PHP Markdown cheat sheet</a> or syntax summary.
<p>
I really enjoy using <a href="http://daringfireball.net/projects/markdown/>Markdown</a>. It's great to be able to write in (nearly) plain English - say, for submitting something for print - and being able to dump the same text down into the blog and have it work on the web. Setting aside writing-for-web vs. writing-for-print issues, I find this a great help.
<p>
And <a href="http://www.michelf.com/projects/php-markdown/extra/">PHP Markdown Extra</a> adds a few niceties, like Markdown inside HTML block tags, simple tables, and definition lists. It just drops straight into WordPress and away you go.
</i>
</quote>
<p>
For more information on Markdow (or it's use in PHP), you can check out the <a href="http://daringfireball.net/projects/markdown/syntax">Markdown manual</a> first and the <a href="http://www.michelf.com/projects/php-markdown/extra/">PHP one</a> to follow up...]]></description>
      <pubDate>Fri, 13 Jan 2006 07:30:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[John Cox's Blog:  Perl to PHP Translation]]></title>
      <guid>http://www.phpdeveloper.org/news/4632</guid>
      <link>http://www.phpdeveloper.org/news/4632</link>
      <description><![CDATA[<i>John Cox</i> has a pointer today in <a href="http://wyome.com/index.php?module=articles&func=display&ptid=10&aid=504">this new entry</a> on his blog to a <a href="http://www.cs.wcupa.edu/~rkline/perl2php">handy cheat sheet</a> for converting Perl to PHP.
<p>
<quote>
<i>
<a href="http://www.cs.wcupa.edu/~rkline/perl2php">Robert Kline has a handy little cheat sheet</a> to translate Perl to PHP or vice versa. It's been quite some time since I had written any Perl, besides a quick parser or two. This certainly does the trick for me in getting my thinking correct for the Perl syntax. I would assume Perl hackers would say the same thing when needing to use PHP.
</i>
</quote>
<p>
The <a href="http://www.cs.wcupa.edu/~rkline/perl2php">sheet</a> goes through things like arrays, array split/joins, string comparisons, HTML elements, and MySQL database access. Obviously, it works the other way around too, allowing PHP programmers to get some of the basics of Perl...]]></description>
      <pubDate>Mon, 09 Jan 2006 06:58:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[24ways.org: Introducing UDASSS!]]></title>
      <guid>http://www.phpdeveloper.org/news/4526</guid>
      <link>http://www.phpdeveloper.org/news/4526</link>
      <description><![CDATA[On our sister site, <a href="http://www.ajaxdeveloper.org">AjaxDeveloper.org</a> today, there's <a href="http://ajaxdeveloper.org/news/615">a new post</a> that references an "Unobtrusive Degradable Ajax Style Sheet Switcher" powered on the backend by PHP - <a href="http://24ways.org/advent/introducing-udasss">UDASSS</a>.
<p>
<quote>
<i>
First of all, the idea is very simple. I wanted something just like what Paul Sowden put together in
<a href="http://www.alistapart.com/articles/alternate/">Alternative Style: Working With Alternate Style Sheets</a> from <a href="http://www.alistapart.com/">Alistapart Magazine</a> EXCEPT a few minor (not-so-minor actually) differences which I've listed briefly below:
<ul>
<li>Allow users to switch styles without JavaScript enabled (degradable)
<li>Preventing the <a href="http://www.bluerobot.com/web/css/fouc.asp">F.O.U.C.</a> before the window 'load' when getting preferred styles
<li>Keep the JavaScript entirely off our markup (no onclick's or onload's)
<li>Make it very very easy to implement (ok, Paul did that too)
</ul>
What I did to achieve this was used server-side cookies instead of JavaScript cookies. Hence, PHP. However this isn't a "PHP style switcher" '" which is where Ajax comes in. For the extreme technical folks, no, there is no xml involved here, or even a callback response. I only say Ajax because everyone knows what 'it' means. With that said, it's the Ajax that sets the cookies 'on the fly'. Got it? Awesome!
</i>
</quote>
<p>
The <a href="http://24ways.org/advent/introducing-udasss">rest of the post</a> is a tutorial on how to use it (simply), and a direct link to <a href="http://www.dustindiaz.com/downloads/udasss.zip">download it</a>.]]></description>
      <pubDate>Mon, 19 Dec 2005 07:27:01 -0600</pubDate>
    </item>
  </channel>
</rss>
