<?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>Thu, 24 May 2012 14:01:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Freek Lijten's Blog: Currently on PHP's internals...]]></title>
      <guid>http://www.phpdeveloper.org/news/16476</guid>
      <link>http://www.phpdeveloper.org/news/16476</link>
      <description><![CDATA[<p>
<i>Freek Lijten</i> has a recent post looking at some of the <a href="http://www.freeklijten.nl/home/2011/06/10/Currently-on-PHPs-internals...">types of discussions that happen</a> on the php-internals mailing list.
</p>
<blockquote>
The internals list is the place to be to hear about the current state of PHP. It is one of PHP's many mailing lists, but this is the one where (core) developers discuss new features, current bugs and wild ideas. If you want to keep up with things it is a good idea to sign up, it is not an extremely high volume list and if you ignore the noise it is quite informative. In this article I would like to share examples of stuff typically discussed on the list.
</blockquote>
<p>
He mentions feature requests in general and, more specifically things like traits support (multiple inheritance), array dereferencing, callable arrays and the debate over the short array syntax.
</p>]]></description>
      <pubDate>Thu, 16 Jun 2011 08:57:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Short URLs]]></title>
      <guid>http://www.phpdeveloper.org/news/15940</guid>
      <link>http://www.phpdeveloper.org/news/15940</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has shared a method he's created for <a href="http://derickrethans.nl/short-urls.html">making short, descriptive URLs</a> with the help of his <a href="http://derickrethans.nl/projects.html#translit">translit</a> PHP extension that translates non-latin characters into latin ones.
</p>
<blockquote>
The URLs for my articles are automatically generated from the title. There is a little function that uses translit's transliterate() function to ASCII-ify the titles. [...] However, [<a href="http://derickrethans.nl/pfcongrez-p2p-konferenciya-phptek-php-vikinger-dpc-and-ez-conference-and-awards.html">this</a>] is hardly a short URL. What we want is something short and descriptive. First of all, I thought it would work to generate short URLs automatically.
</blockquote>
<p>
In hindsight, though, he decided it would just be better to come up with his own short URLs but he still wanted a way to use them. Registering a <a href="http://drck.me/">short domain</a> helped and, along with some &lt;link> tags, made it easier for the right information to be automatically found.
</p>]]></description>
      <pubDate>Tue, 22 Feb 2011 09:44:13 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: Solar Framework Shorts - Using Jquery with Solar]]></title>
      <guid>http://www.phpdeveloper.org/news/13638</guid>
      <link>http://www.phpdeveloper.org/news/13638</link>
      <description><![CDATA[<p>
<i>Richard Thomas</i> has another <a href="http://www.phpjack.com/content/solar-framework-shorts-using-jquery-solar">Solar Framework Short</a> posted today looking at how to integrate the jQuery Javascript library directly into your Solar application.
</p>
<blockquote>
When it comes to Jquery integration you have 2 main uses. Calling a php function from a website or calling Jquery functions from php both are done through an XMLHttpRequest.
</blockquote>
<p>
By extending a jQuery-related controller, you gain some special automatic abilities like automatic json-ification of output data and being able to push out transformations directly back to the browser from a standard javascript call. Check out <a href="http://www.phpjack.com/content/solar-framework-shorts-using-jquery-solar">the post</a> for the complete source code</a> for his example.
</p>]]></description>
      <pubDate>Tue, 08 Dec 2009 09:45:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: Solar Framework Shorts - Deleting Caches]]></title>
      <guid>http://www.phpdeveloper.org/news/13294</guid>
      <link>http://www.phpdeveloper.org/news/13294</link>
      <description><![CDATA[<p>
<i>Richard Thomas</i> has <a href="http://www.phpjack.com/content/solar-framework-shorts-deleting-caches">posted a new "short"</a> for users of the <a href="http://solarphp.com">Solar Framework</a> to delete cached data.
</p>
<blockquote>
This one is simple but sweet, In your Models directory you define your Models and the basic rules they follow but do you know you can also make changes at the record level. Solar is smart and if it sees a Test/Record.php when creating records for the Test model it will load that class, this allows you to do all kinds of magic.
</blockquote>
<p>
His example shows how the script can automatically check, on pre-save, to see if the data is different than that in the cache and remove it if so. This cached data is replaced the next time through with the latest information.
</p>]]></description>
      <pubDate>Mon, 28 Sep 2009 11:11:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: Adding Supr urls to your site]]></title>
      <guid>http://www.phpdeveloper.org/news/12790</guid>
      <link>http://www.phpdeveloper.org/news/12790</link>
      <description><![CDATA[<p>
In <a href="http://blog.joshuaeichorn.com/archives/2009/06/30/adding-supr-urls/">this new post</a> to his blog <i>Joshua Eichorn</i> talks about a an automatic URL shortening service he has worked up, <a href="http://su.pr/">Su.pr</a>, and how you can use their <a href="http://stumbleupon.com/devblog/stumbleupon_developer_blog_and_supr_api/">API</a> to create shortened URLs for you own site.
</p>
<blockquote>
Last week we launched our <a href="http://stumbleupon.com/devblog/stumbleupon_developer_blog_and_supr_api/">API</a> which lets you integrate shorten and post functionality into any site or application. Today we are adding the ability to use your own domain for shortening. This lets you have urls like <A href="http://joshuaeichorn.com/9OPL">http://joshuaeichorn.com/9OPL</a> so your readers can know what domain they are going too before they click on the link.
</blockquote>
<p>
Using the API lets you set up, via a mod_rewrite (or any other URL rewriting tool) to match requests on your domain for a shortening code and make the call back to get the original URL as stored on the Su.pr service. You can find more details at <a href="http://www.stumbleupon.com/developers/Supr:Short_URLs_on_your_own_domain/">this page</a> on the StumbleUpon site.
<p>]]></description>
      <pubDate>Wed, 01 Jul 2009 09:22:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin van Zonneveld's Blog:  Kevin van Zonneveld]]></title>
      <guid>http://www.phpdeveloper.org/news/12661</guid>
      <link>http://www.phpdeveloper.org/news/12661</link>
      <description><![CDATA[<p>
On his blog today <i>Kevin van Zonneveld</i> shows how to <a href="http://kevin.vanzonneveld.net/techblog/article/create_short_ids_with_php_like_youtube_or_tinyurl/">create short URLs</a> for your content and store them in a MySQL database.
</p>
<blockquote>
IDs are often numbers. Unfortunately there are only 10 digits to work with, so if you have a lot of records, IDs tend to get very large. For computers that's OK. But human beings like their IDs as short as possible. So how can we make IDs shorter? Well, we could borrow characters from the alphabet as have them pose as additional numbers.... Alphabet to the rescue!
</blockquote>
<p>
He includes some sample code that takes the shortened code and converts it back down to the correct ID and returns it out of the function. The trick compresses values down into shorter alpha-numeric strings that can make for simpler links (and smaller messages for things like <a href="http://twitter.com">twitter</a>).
</p>]]></description>
      <pubDate>Thu, 11 Jun 2009 07:57:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Snook's Blog: Building a URL Shortener (with CakePHP)]]></title>
      <guid>http://www.phpdeveloper.org/news/12412</guid>
      <link>http://www.phpdeveloper.org/news/12412</link>
      <description><![CDATA[<p>
With recent discussions about URL shortners, <i>Jonathan Snook</i> decided to work up his own quick version using some of the built-in routing of the <a href="http://cakephp.org">CakePHP</a> framework.
</p>
<blockquote>
With all the talk of URL shortening services, I decided to add a quick service into Snook.ca, which is run on CakePHP, to redirect a short URL to a post. Because my static content already has short URLs and all I have are posts, creating a short URL handler for it was very easy.
</blockquote>
<p>
His shortener is used on his posts for his blog to redirect the smaller URLs back to the post they reference. The result is a route that connects something like "/s/id_number" over to the correct post (as seen <a href="http://snook.ca/s/1">here</a>). He also offers a suggestion for a "super-compressed" URL tat converts it down to a three-character shortened version that can then be easily converted back down to the decimal equivalent. 
</p>]]></description>
      <pubDate>Mon, 27 Apr 2009 12:06:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Moon's Blog: Short Array Syntax for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10296</guid>
      <link>http://www.phpdeveloper.org/news/10296</link>
      <description><![CDATA[<p>
There's been some talk floating around about a proposed additional syntax for creating arrays in PHP. <i>Brian Moon</i> <a href="http://brian.moonspot.net/2008/05/28/short-array-syntax-for-php/">sums it up nicely</a> in a new post to his blog.
</p>
<blockquote>
So, I was asked in IRC today about the proposed short array syntax for PHP. For those that don't know, I mean the same syntax that other languages (javascript, perl, python, ruby) all have. [...] It just feels like a good addition to the language. It is common among web languages and therefore users coming into PHP from other languages may find it more comfortable.
</blockquote>
<p>
He <a href="http://brian.moonspot.net/2008/05/28/short-array-syntax-for-php/">compares</a> it with other data type creation in PHP (you don't call int() to make an integer, so why call array() to make an array). However, according to <A href="http://marc.info/?l=php-internals&m=121151618528857&w=2">a post</a> from the internals mailing list, we might not be seeing this any time soon.
</p>]]></description>
      <pubDate>Thu, 29 May 2008 11:13:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPCult.com: PHP, Laziness and the consequences of bad habits]]></title>
      <guid>http://www.phpdeveloper.org/news/5131</guid>
      <link>http://www.phpdeveloper.org/news/5131</link>
      <description><![CDATA[In <a href="http://www.phpcult.com/archives/47-PHP,-Laziness-and-the-consequences-of-bad-habits-trade;.html">this new post</a> from <i>Vidyut Luther</i> on PHPCult.com, he mentions some difficulties he had installing some new PHP software - caused by bad habits the programmers used that caused trouble down the line. To help prevent further abuses of these issues, he lists out some of them.
<p>
His list so far is:
<ul>
<li>Turning "register globals" on
<li>using shot open tags
<li>using the ASP style of tagging
<li>single-line condition statements (without the curly braces)
<li>improper use of exit()
<li>assuming settings on a remote server
</ul>
<p>
For each of the above options, he briefly covers his opinion as to why they're wrong and can cause some serious headaches down the line. Most advanced programmers out there know about most of these issues, and have learned to work without them.]]></description>
      <pubDate>Mon, 10 Apr 2006 06:57:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: Ask Chris Is Back]]></title>
      <guid>http://www.phpdeveloper.org/news/4900</guid>
      <link>http://www.phpdeveloper.org/news/4900</link>
      <description><![CDATA[As noted in <a href="http://shiflett.org/archive/203">his latest blog entry</a>, <i>Chris Shiflett</i> and the Pro::PHP podcast are again collaborating to bring the listening community more "Ask Chris" shows.
<p>
<quote>
<i>
It's been a few months since <a href="http://shiflett.org/archive/133">Episode One</a>, but thanks to <a href="http://marcuswhitney.com/">Marcus</a>, <a href="http://shiflett.org/archive/131">Ask Chris</a> is back <a href="http://podcast.phparch.com/podcast/audio/20060224.mp3">on the air</a>. The format is a bit different - instead of doing separate shows, we'll be doing a short segment at the end of each interview.
<p>
<a href="http://podcast.phparch.com/podcast/audio/20060224.mp3">This interview</a> is with <a href="http://www.sklar.com/blog/">David Sklar</a> of <a href="http://www.ning.com/">Ning</a>. He and Marcus discuss Ning, of course, but David also provides some good perspective on the state of technology and how the definition of a programmer is becoming more and more inclusive.
<p>
This episode of Ask Chris is about email injection, a topic of growing concern for PHP developers. 
</i>
</quote>
<p>
You can find out more about this addition to the Pro::PHP lineup and how to subscribe to the podcast over on <a href="http://podcast.phparch.com">their site</a>.]]></description>
      <pubDate>Mon, 27 Feb 2006 08:20:25 -0600</pubDate>
    </item>
  </channel>
</rss>

