<?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>Fri, 29 Aug 2008 19:32:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ProDevTips.com: CRUD with PHP Doctrine]]></title>
      <guid>http://www.phpdeveloper.org/news/10891</guid>
      <link>http://www.phpdeveloper.org/news/10891</link>
      <description><![CDATA[<p>
In a <a href="http://www.prodevtips.com/2008/08/24/crud-with-php-doctrine-and-smarty/">fourth part</a> of their series looking at using Doctrine in PHP, the ProDevTips blog moves on to implementing it in a typical CRUD interface.
</p>
<p>
They create the links between the tables (two hasOne relationships), a search() method to find the destinations for a user, a sorting method to multisort based on the subkeys of the value passed in and the methods for updating the information already in the database.
</p>
<blockquote>
That's it for now, feel free to download this tiny <a href="http://www.prodevtips.com/wp-content/uploads/2008/08/www.rar">Smarty and Doctrine framework</a>. Note that for this to work you have to put Smarty and Doctrine in the lib folder. There is a login interface involved, just click submit there without entering anything. There is also an SQL file in the trip_selector folder if you want to try this out with some test data (same as in the picture above).
</blockquote>]]></description>
      <pubDate>Mon, 25 Aug 2008 11:19:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Total PHP: Deleting files with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10774</guid>
      <link>http://www.phpdeveloper.org/news/10774</link>
      <description><![CDATA[<p>
The Total PHP site has another introductory tutorial posted showing you how to <a href="http://www.total-php.com/article/10/deleting-files-with-php/">correctly delete files</a> in your PHP scripts.
</p>
<blockquote>
Following our tutorials on <a href="http://www.total-php.com/article/10/deleting-files-with-php/article/9/uploading-files-with-php/">uploading files</a> and <a href="http://www.total-php.com/article/10/deleting-files-with-php/article/7/listing-files-stored-within-a-directory-using-php/">listing files</a>, this tutorial will walk you through deleting files from a directory. This is done using the unlink() function. 
</blockquote>
<p>
Their example is pretty simple (as is the concept) - they show how to check to be sure that the file you want to remove isn't in use/open and then issue the unlink to remove it from the file system.
</p>]]></description>
      <pubDate>Wed, 06 Aug 2008 11:19:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: Supporting PUT & DELETE in the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9719</guid>
      <link>http://www.phpdeveloper.org/news/9719</link>
      <description><![CDATA[<p>
<i>Ben Ramsey</i> has <a href="http://benramsey.com/archives/supporting-put-delete-in-the-zend-framework/">recently blogged about</a> some of the research and bit of development that he's done to add "more correct" functionality to the Zend Framework for working with RESTful interfaces - proper PUT and DELETE support.
</p>
<blockquote>
I've recently been wrapped up in an effort to design and implement a RESTful API using the Atom Protocol for a project at work. We are using the Zend Framework as the underlying framework for the project, so, in order to follow the Atom Protocol, I needed to support the HTTP methods PUT and DELETE
</blockquote>
<p>
Since the Zend Framework has been playing such a prominent role in the development, he's been digging into the Zend_Rest_Server component code and isn't too happy about its support for PUT and DELETE. As a result, he's proposed methods that might help resolve things such as isGet, isDelete, isOptions and getEntityBody. He' even created <a href="http://framework.zend.com/issues/browse/ZF-2723">a patch</a> to make the needed changes.
</p>]]></description>
      <pubDate>Thu, 28 Feb 2008 10:27:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-Learn-It.com: Cooking Cookies with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8623</guid>
      <link>http://www.phpdeveloper.org/news/8623</link>
      <description><![CDATA[<p>
On PHP-Learn-It.com today, there's <a href="http://www.php-learn-it.com/php_cookies.html">a new tutorial</a> looking to get you, the budding PHP developer, into working with cookies in PHP.
</p>
<blockquote>
A cookie is often used to store data which can be used to identify a user, for example, person's username. [...] In this tutorial, we will learn how to write, read and delete cookies in PHP.
</blockquote>
<p>
They show how to create the cookie (with set_cookie) - both one that will timeout when the browser closes and one that stays after - how to read the value from them and how to remove them by setting the data in the past.
</p>]]></description>
      <pubDate>Mon, 10 Sep 2007 15:10:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Transforming data centered XML into SQL statements]]></title>
      <guid>http://www.phpdeveloper.org/news/7798</guid>
      <link>http://www.phpdeveloper.org/news/7798</link>
      <description><![CDATA[<p>
In <a href="http://raphaelstolt.blogspot.com/2007/05/transforming-data-centered-xml-into-sql.html">this new post</a> on <i>Raphael Stolt</i>'s blog, he shows a way that you can take XML that holds SQL information (in his example INSERTs and DELETEs) and transforms them into SQL statements via XSL stylesheets.
</p>
<blockquote>
A canny data import technique that emerged from praxis, while working on the import of data-centered XML resources, is utilitizing the abilities of Xslt. The generation of the required SQL statements actually only needs a simple Xsl stylesheet which might import for an PHP XSLTProcessor object or pass to the <a href="http://xmlsoft.org/XSLT/xsltproc.html">xsltproc</a> command line tool. Both further described approaches are based upon the libxslt library and are assuming the use of XSLT 1.0.
</blockquote>
<p>
He starts with an example bit of XML that has the XSL stylesheet at the top that will be used to transform the data and the information to perform inserts on several "partner" values in the XML below. Following this, he <a href="http://raphaelstolt.blogspot.com/2007/05/transforming-data-centered-xml-into-sql.html">creates</a> a PHP class to load the file and apply the stylesheet.
</p>
<p>
He also mentions a few different approaches to the same problem - XSLTProcessor class approach returning a single SQL string , xsltproc approach and the XSLTProcessor class approach using the ability to use PHP functions as XSLT functions.
</p>]]></description>
      <pubDate>Tue, 08 May 2007 10:27:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Spindrop.us: Creating, Updating, Deleting documents in a Lucene Index with symfony]]></title>
      <guid>http://www.phpdeveloper.org/news/7697</guid>
      <link>http://www.phpdeveloper.org/news/7697</link>
      <description><![CDATA[<p>
In yet another follow-up in <a href="http://www.phpdeveloper.org/news/7689">their series</a> on using the Lucene search functionality the Zend Framework offers inside of Symfony.
</p>
<blockquote>
<p>
Previously we covered <a href="http://spindrop.us/2007/04/23/the-lucene-search-index-and-symfony/">an all-at-once approach</a> to indexing objects in your symfony app. But for some reason, people find the need to allow users to sign up, or change their email addresses and then all of a sudden our wonderful Lucene index is out of date.
</p>
<p>
Here lies the strength of using <a href="http://framework.zend.com/manual/en/zend.search.html">Zend Search Lucene</a> in your app, you can now get the flexibility of interacting with a Lucene index, no matter how it was created and add, update and delete documents to it.
</p>
</blockquote>
<p>
Instead of going the "clunky" route of having a cron job update the search information nightly, they <a href="http://spindrop.us/2007/04/24/creating-updating-deleting-documents-in-a-lucene-index-with-symfony/">opt for</a> a method that updates the database whenever new content is added/updated/deleted. They change up the class they generated before and add methods to reindex whenever each method is run.
</p>]]></description>
      <pubDate>Tue, 24 Apr 2007 15:28:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: Soft Delete, Authentication and Validation]]></title>
      <guid>http://www.phpdeveloper.org/news/7657</guid>
      <link>http://www.phpdeveloper.org/news/7657</link>
      <description><![CDATA[<p>
There's three new handy articles over on The Bakery for all of you CakePHP-ers out there:
<ul>
<li><a href="http://bakery.cakephp.org/articles/view/344">An example</a> of a "Soft delete" behavior implementation automatically in a current Model in your application.
<li>A <a href="http://bakery.cakephp.org/articles/view/212">new tutorial</a> showing an update in the "Simple Form Authentication" implementation for your app.
<li>A method for <a href="http://bakery.cakephp.org/articles/view/87">advanced validation</a> for your Models
</ul>
Check out these and many more great CakePHP-related tutorials, articles, and new bits of functionality over at <a href="http://bakery.cakephp.org/">The Bakery</a>.
</p>]]></description>
      <pubDate>Thu, 19 Apr 2007 10:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Wordpress 2.0.7 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/7113</guid>
      <link>http://www.phpdeveloper.org/news/7113</link>
      <description><![CDATA[<p>
<i>Ryan Malesevich</i> has <a href="http://ryanslife.net/2007/01/16/wordpress-207-released/">posted a release announcement</a> about the latest release of the popular blogging engine - <a href="http://wordpress.org/development/2007/01/wordpress-207/">Wordpress 2.0.7</a>.
</p>
<blockquote>
I just wanted to drop another quick line saying that our favorite blogging engine has once again been updated. The developers deemed it important to get some more security fixes pushed out to the Wordpress users, so <a href="http://wordpress.org/development/2007/01/wordpress-207/">Wordpress 2.0.7</a> has been released.
</blockquote>
<p>
Updates in <a href="http://wordpress.org/development/2007/01/wordpress-207/">this release</a> include:
<ul>
<li>a fix to wp_unregister_GLOBALS()
<li>Feeds now properly serve 304 Not Modified headers
<li>Deleting WordPress Pages no longer gives an 'Are You Sure?' prompt.
</ul>
You can grab the latest <a href="http://wordpress.org/download/">download here</a>.
</p>]]></description>
      <pubDate>Wed, 17 Jan 2007 13:49:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: User Management in a PHP Invoicing System]]></title>
      <guid>http://www.phpdeveloper.org/news/6377</guid>
      <link>http://www.phpdeveloper.org/news/6377</link>
      <description><![CDATA[<p>
DevShed has posted the <a href="http://www.devshed.com/c/a/PHP/User-Management-in-a-PHP-Invoicing-System/">last part</a> in their look at the creation of an invoicing system to help you manage your clients today. This time, they focus on the management of users of the system (not the clients to invoice, that was <a href="http://www.phpdeveloper.org/news/6322">this part</a>).
</p>
<blockquote>
In this fourth and final article covering the creation of a PHP invoicing system, we're going to put together the user management section. In this section we will be able to view all available users and do all the associated things like deleting or updating user details. We are also going to be able to add new users.
</blockquote>
<p>
They start with <a href="http://www.devshed.com/c/a/PHP/User-Management-in-a-PHP-Invoicing-System/">grabbing the information</a> of the current users of the system and listing them out. This allows simple modification and deletion of any of the users on the list. They give the code (and screenshots) for the user modification screen and show you how to set up an email reminder that sends out to the clients when a bill hasn't been paid.
</p>]]></description>
      <pubDate>Wed, 27 Sep 2006 10:30:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Craft a Webmail interface for PHP applications]]></title>
      <guid>http://www.phpdeveloper.org/news/5659</guid>
      <link>http://www.phpdeveloper.org/news/5659</link>
      <description><![CDATA[<p>
In <a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-webmail.html?ca=drs-">this new tutorial</a> from the IBM developerWorks site, they take a look at the development of a webmail interface with the help of PHP.
</p>
<blockquote>
You know how to get users to interact with a PHP application using a Web form, but sometimes e-mail is just more convenient. Maybe your users are using small devices like cell phones or interacting in a way that's not real time, such as subscribing to an e-mail list. Find out how to read and send e-mail by building a PHP Webmail application.
</blockquote>
<p>
They <a href="http://www-128.ibm.com/developerworks/edu/os-dw-os-php-webmail.html?ca=drs-">cover</a> connecting to the server, grabbing the information from a specific email inbox, pulling the data for a single message, deleting emails, getting a list of the current emails, and how to work with attachments and multipart MIME messages.
</p>
<p>
You'll need to log in to get to it, but it's a great example of how to work with email in PHP (more than just sending them with mail() or PEAR's mailer package).
</p>]]></description>
      <pubDate>Thu, 22 Jun 2006 09:29:33 -0500</pubDate>
    </item>
  </channel>
</rss>
