<?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>Wed, 22 May 2013 20:51:54 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Timothy Boronczyk's Blog: Paste Ninja (a new kind of pastebin)]]></title>
      <guid>http://www.phpdeveloper.org/news/11525</guid>
      <link>http://www.phpdeveloper.org/news/11525</link>
      <description><![CDATA[<p>
<i>Timothy Boronczyk</i> has <a href="http://zaemis.blogspot.com/2008/12/dialog-and-paste-ninja.html">posted about</a> a new site/service he's created with PHP - <a href="http://pasteninja.com">Paste Ninja</a>. He details it more in the post:
</p>
<blockquote>
<p>
Paste Ninja is a pastebin application that lets you to share code snippets with others. Instead of flooding an IRC channel or your Instant Messenger conversations with lines of source code, you can paste it online for public viewing.
</p>
<p>
The world probably doesn't need another pastebin app, either, but there are several features in store that other pastebins don't have.
</p>
</blockquote>
<p>
Features for <a href="http://pasteninja.com">Paste Ninja</a> include:
</p>
<ul>
<li>the ability to create threaded pastes, 
<li>set an expiration date for the entry, 
<li>set a password to protect the code, 
<li>see how many times its been viewed 
<li>set the comments on a line-by-line basis
<li>and - a very cool feature - submitting it via an email account versus just through the site.
</p>]]></description>
      <pubDate>Mon, 08 Dec 2008 11:19:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Andy Bakun's Blog: Race Conditions with Ajax and PHP Sessions]]></title>
      <guid>http://www.phpdeveloper.org/news/6700</guid>
      <link>http://www.phpdeveloper.org/news/6700</link>
      <description><![CDATA[<p>
Race conditions in applications can be one of the hardest things to work out the kinks on, especially in a more complex application you're adding the new functionality to. One such instance comes up when you add Ajax functionality into the mix. Because of its asynchronous nature, it can cause a race condition version easily. <i>Andy Bakun</i> has been there and done that in his code and has found some helpful hints he's sharing in <a href="http://thwartedefforts.org/2006/11/11/race-conditions-with-ajax-and-php-sessions/">this (info packed) post</a> over on his blog.
</p>
<blockquote>
One of the problem with race conditions is that it is often difficult to actually witness the ramifications of one when it happens, especially if you are not aware of it. If you've used PHP's built-in, default session handling (that uses files), you'll never come across the problem. However, things get interesting once you start using <a href="http://us2.php.net/manual/en/function.session-set-save-handler.php">session_set_save_handler</a> to write your own session handler.
</blockquote>
<p>
He <a href="http://thwartedefforts.org/2006/11/11/race-conditions-with-ajax-and-php-sessions/">breaks it down</a> into some more manageable chunks:
<ul>
<li>A Multi-processing but non-Threaded Environment
<li>The Default PHP Session Handler
<li>Observing the Race Condition
<li>The Demo App Interface
<li>Resource Contention
<li>Minimizing Lock Holding Time
<li>Why is per-variable locking important?
<li>Rolling Your Own Session Handler
<li>The Code
</ul>
See? You didn't believe me when I said it was long...there's tons of great info in there about working with sessions in PHP and how to get Ajax to play nice when manipulating the data inside them. There's plenty of test code and some sidebars with additional information to keep you reading for a while. Be sure to check this one out, even if you're just working with PHP sessions and Ajax and don't have a race condition issue in your app - never hurts to be prepared.
</p>]]></description>
      <pubDate>Tue, 14 Nov 2006 09:49:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Creating an Administration Area for a Simple Threaded Discussion Forum]]></title>
      <guid>http://www.phpdeveloper.org/news/6553</guid>
      <link>http://www.phpdeveloper.org/news/6553</link>
      <description><![CDATA[<p>
DevShed continues their look at creating a simple treaded discussion foum with <a href="http://www.devshed.com/c/a/PHP/Creating-an-Administration-Area-for-a-Simple-Threaded-Discussion-Forum/">part two</a> in the series, a focus on creating the administrator panel to help you manage users and the topics/comments they make.
</p>
<blockquote>
This article, the second of two parts, will show you how to set up an administration area for a threaded discussion forum, and some of the functions you might want an administrator to manage.
</blockquote>
<p>
Included is the functionality to get a listing of all of the topics, delete topics quickly, start a new topics, and manage a "blacklist" of bad words to keep out of the discussions. Of course, the code is <a href="http://www.devshed.com/c/a/PHP/Creating-an-Administration-Area-for-a-Simple-Threaded-Discussion-Forum/">all there</a> and they explain each piece of it. They keep it simple though - the code is pretty procedural with only functions dividing up the functionality into the pieces.
</p>]]></description>
      <pubDate>Mon, 23 Oct 2006 12:12:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Creating a Simple Threaded Discussion Forum]]></title>
      <guid>http://www.phpdeveloper.org/news/6507</guid>
      <link>http://www.phpdeveloper.org/news/6507</link>
      <description><![CDATA[<p>
DevShed starts off another two parts series today with a look at a common feature of many a community site out there - the <a href="http://www.devshed.com/c/a/PHP/Creating-a-Simple-Threaded-Discussion-Forum/">creation of a simple forum</a> to allow visitors to interact and discuss the latest.
</p>
<blockquote>
Most websites have some method of interacting with a visitor. Some have a chat system and others have shoutboxes or other ways to attract the visitor to return. One of the most used methods is a discussion forum. And this is what we are going to create and discuss in this article.
</blockquote>
<p>
This is <a href="http://www.devshed.com/c/a/PHP/Creating-a-Simple-Threaded-Discussion-Forum/">part one</a> they create the main index page, listing out the current topics, a "view article" page to show the details of the post, and, of course, a way to respond to the current thread for any and all to use. Keep an eye out for the next article where they create the administrative section for the application.
</p>]]></description>
      <pubDate>Mon, 16 Oct 2006 10:57:00 -0500</pubDate>
    </item>
  </channel>
</rss>
