<?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, 20 May 2013 07:46:49 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP-Learn-It.com: Ajax Edit in Place]]></title>
      <guid>http://www.phpdeveloper.org/news/8452</guid>
      <link>http://www.phpdeveloper.org/news/8452</link>
      <description><![CDATA[<p>
From the PHP-Learn-It.com website, there's a <a href="http://www.php-learn-it.com/tutorials/ajax_edit_in_place.html">quick tutorial</a> on how to create a bit of edit in place functionality with some simple Javascript and PHP.
</p>
<blockquote>
Suppose we have an article page on our site where people can edit articles. The article has an edit and save button which allows the user to edit the article and save the changes as necessary. <a href="http://www.php-learn-it.com/tutorials/demos/ajax_edit_in_place/articles.html">View the ajax_edit_in_place demo</a> to see what I'm talking about.
</blockquote>
<p>
They've gone with <a href="http://www.prototypejs.org/">Prototype</a> to handle the AJAX connection and provide both the Javascript and PHP code for editing, saving and canceling an edit on the page's content.
</p>]]></description>
      <pubDate>Tue, 14 Aug 2007 14:49:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Ajax Edit in Place Using Prototype]]></title>
      <guid>http://www.phpdeveloper.org/news/6852</guid>
      <link>http://www.phpdeveloper.org/news/6852</link>
      <description><![CDATA[<p>
In a new tutorial from PHPBuilder.com today, they introduce you to a very handy bit of functionality that can help make working with content on your site a much simpler process - <a href="http://www.phpbuilder.com/columns/ben_robinson20061207.php3">Ajax Edit-in-Place</a> (using Prototype).
</p>
<blockquote>
Edit in place, like many other Ajax functions, uses the XmlHttpRequest Object to call an external page to send and receive information. 
</blockquote>
<p>
They <a href="http://www.phpbuilder.com/columns/ben_robinson20061207.php3">start with the planning</a>, the layout of how the mini application would work before even getting into the code. They assume that you already know how to work with a MySQL database and have an abstraction layer in place before starting in with the Javascript - echoing out the records (print_records), switching from a div to a textarea (changeClass), putting the content back into the database (save), and updating the page with the new information (update_page).
</p>
<p>
By <a href="http://www.phpbuilder.com/columns/ben_robinson20061207.php3">the end</a> you're left with a simple, clean edit-in-place that you can drop into any page that uses divs to contain the content.
</p>]]></description>
      <pubDate>Fri, 08 Dec 2006 08:31:00 -0600</pubDate>
    </item>
  </channel>
</rss>
