<?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>Tue, 18 Jun 2013 22:09:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gareth Heyes: Tweetable PHP-Non Alpha]]></title>
      <guid>http://www.phpdeveloper.org/news/18885</guid>
      <link>http://www.phpdeveloper.org/news/18885</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has a new post that <a href="http://www.thespanner.co.uk/2012/12/13/tweetable-php-non-alpha/">shares some of his efforts</a> to write "non-alpha PHP", using characters other than the alpha-numeric ones to write executable PHP scripts. In his case, this involves a lot of pluses, underscores and square brackets.
</p>
<blockquote>
I started to try and break the 10 charset limit of PHP non-alpha after @InsertScript showed me that PHP Dev supports [] syntax for arrays. I wondered if it would be possible to break the limit within production PHP. At first I thought you could but then after some testing I found that there was no way to concat without "." and no way to call a string as a function without $ and =. However since I got into PHP Non-alpha again I thought why not try and improve it and make the code tweetable.
</blockquote>
<p>
He works through the whole process of his discovery - starting with the creation of a non-alpha version of "0" (zero), moving into letter creation and finally all the way up to a full word..."assert". The result is tweetable code that echoes that string and contains more symbols than letters. If you're interested in more of this non-alpha kind of coding, check out some of the other posts on <a href="http://www.thespanner.co.uk/">his blog</a>.
</p>]]></description>
      <pubDate>Thu, 13 Dec 2012 09:40:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Emanuele Minotto: PHP in a Tweet]]></title>
      <guid>http://www.phpdeveloper.org/news/18479</guid>
      <link>http://www.phpdeveloper.org/news/18479</link>
      <description><![CDATA[<p>
<i>Emanuele Minotto</i> has a recent post with a set of <a href="http://emanueleminotto.wordpress.com/2012/09/13/php-in-a-tweet/">"PHP in a tweet" posts</a> that do all sorts of things.
</p>
<blockquote>
Yesterday an ex colleague tweeted something that captured my attention, so I started thinking to a Twitter-powered <a href="http://en.wikipedia.org/wiki/Code_golf">code golf</a>ing competition. Looking for other examples.
</blockquote>
<p>Tweets included in the list are snippets like:</p>
<ul>
<li>A dependency injection container
<li>A super simple web framework
<li>A microframework
<li>Bypassing <a href="http://php.net/array_intersect">array_intersect</a>
</ul>
<p>
There's some <a href="http://emanueleminotto.wordpress.com/2012/09/13/php-in-a-tweet/">game rules</a> included in the post so you can contribute your own to the <A href="http://emanueleminotto.wordpress.com/2012/09/13/php-in-a-tweet/#comments">the comments</a>. Several have already been added including a base64 encoding variant and getting the extension of a file.
</p>]]></description>
      <pubDate>Fri, 14 Sep 2012 10:19:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Win a phpDay/jsDay 2012 Ticket]]></title>
      <guid>http://www.phpdeveloper.org/news/17750</guid>
      <link>http://www.phpdeveloper.org/news/17750</link>
      <description><![CDATA[<p>
The <a href="http://2012.jsday.it">jsDay/<a href="http://2012.phpday.it">phpDay</a> organizers have <a href="http://2012.jsday.it/2012/03/win-a-jsday-or-phpday-ticket/">announced a contest to win a free ticket</a> to this year's event(s), one for each conference:
</p>
<blockquote>
GrUSP is organising a tweet contest and its prizes will be two tickets, one for each conference. The contest will start today (March 29th) at 1pm CEST and will end April 1st at 7pm CEST.
</blockquote>
<p>
Anyone can enter - all you have to do is tweet a post with a few things: the "#grsup" hashtag, a mention of the twitter accounts for the events, a link to the conference site and something about the event. Be sure and get those tweets posted before April 1st a 9am CEST - they'll pick the winners soon after! (Oh and multiple entries are accepted so the more you tweet, the better your chances!)
</p>]]></description>
      <pubDate>Thu, 29 Mar 2012 10:20:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Understanding OAuth - Tweeting from Scratch, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/17037</guid>
      <link>http://www.phpdeveloper.org/news/17037</link>
      <description><![CDATA[<p>
On PHPMaster.com today they're posted the <a href="http://phpmaster.com/understanding-oauth-2/">second part of their OAuth series</a> showing you how to use the authentication mechanism to connect to <a href="http://twitter.com">Twitter</a>'s API. (Part one <a href="http://phpdeveloper.org/news/17006">is here</a>.
</p>
<blockquote>
Welcome back to Understanding OAuth - Tweeting from Scratch. This is Part 2 of the two-part series and picks up right where we left off in <a href="http://phpmaster.com/understanding-oauth-1">Part 1</a> with your returned Access Credentials. Since obtaining the credentials is the grueling part of the process, there's not much more left to do except posting a tweet on the user's behalf. Hopefully you'll find the final steps to be a lot easier to follow and more fun to implement.
</blockquote>
<p>
They show you how to store the credentials from Part 1 into your session for safe keeping and  include a simple form you will use to send a tweet to Twitter. They choose to manually build the HTTP POST request, including the credential headers along with the payload (oauth_consumer_key, oauth_signature, oauth_token, etc).
</p>]]></description>
      <pubDate>Tue, 25 Oct 2011 10:09:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Phil Sturgeon's Blog: Twiny-Framework: the framework small enough to tweet]]></title>
      <guid>http://www.phpdeveloper.org/news/13698</guid>
      <link>http://www.phpdeveloper.org/news/13698</link>
      <description><![CDATA[<p>
Inspired by <a href="http://twitto.org/">Twitto</a>, <i>Phil Sturgeon</i> has <a href="http://philsturgeon.co.uk/news/2009/12/Twiny-Framework-the-framework-small-enough-to-tweet">create his own tweetable framework</a> to try to "one-up" <i>Fabien Potencier</i>'s version.
</p>
<blockquote>
This idea was not my own, but was inspired by <a href="http://twitto.org/">Twitto</a>. During some extreme boredom at work I decided to "one-up" this teeny-tiny framework and improve on it. My framework does this by allowing you to run Controller files and methods in a similar way to CodeIgniter, while Twitto only has the ability to run functions from a single file.
</blockquote>
<p>
He includes both the code for the "framework" and an example of how to create a simple controller class to work with it. He also shows how you can get a bit more MVC with it by adding in a view layer.
</p>]]></description>
      <pubDate>Fri, 18 Dec 2009 09:28:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: The PHP framework that fits in a tweet!]]></title>
      <guid>http://www.phpdeveloper.org/news/12092</guid>
      <link>http://www.phpdeveloper.org/news/12092</link>
      <description><![CDATA[<p>
In the spirit of making the most out of the room you have <i>Fererico Cargnelutti</i> has <a href="http://blog.fedecarg.com/2009/03/06/the-php-framework-that-fits-in-a-tweet/">pointed out a framework in a tweet</a> (on <a href="http://twitter.com">Twitter</a>) with some of the new PHP 5.3 additions - <a href="http://twitto.org/">Twitto</a>.
</p>
<blockquote>
<a href="http://twitto.org/">Twitto</a> is the smallest and fastest PHP Web framework, and the first one to use the newest features of PHP 5.3. Packed in less than 140 characters, it fits in a <a href="http://twitter.com/">tweet</a>! Despite its size, Twitto is bundled with a default controller, is E_STRICT compliant, and generates an error if you try to access a controller that does not exist.
</blockquote>
<p>
It was developed by <a href="http://fabien.potencier.org/">Fabien Potencier</a> (of symfony framework fame) as a part of the <A href="http://f055.net/article/final-wrap-up-of-the-140-characters-webapp-challenge/">140 Characters Webapp Challenge</a>
</p>]]></description>
      <pubDate>Mon, 09 Mar 2009 11:16:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Doug Brown's Blog: Use PHP to Twitter Your Tweets]]></title>
      <guid>http://www.phpdeveloper.org/news/11726</guid>
      <link>http://www.phpdeveloper.org/news/11726</link>
      <description><![CDATA[<p>
<i>Doug Brown</i> has <a href="http://www.brownphp.com/2009/01/use-php-to-twitter-your-tweets/">posted a quick tutorial</a> showing how to use the <a href="http://php.net/curl">cURL extension</a> in PHP to send tweets off to the <a href="http://www.twitter.com">Twitter API</a>.
</p>
<blockquote>
I recently got an email from a reader asking me if I could help them with a small script to post updates to a Twitter account using PHP. I figured this might be something that a few others might be interested in, so I decided to post about it.
</blockquote>
<p>
His script opens a connection to the "twitter.com/statuses/update.xml" file and posts the username, password and contents of the tweet. If it returns a 200 code (the HTTP "Success" code), then all is well and it was posted. Of course, this simple script is just a start - he recommends other things to add like more input validation, making it into a class rather than procedural and adding in some Javascript to check the length of the tweet.
</p>]]></description>
      <pubDate>Tue, 13 Jan 2009 07:57:34 -0600</pubDate>
    </item>
  </channel>
</rss>
