<?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, 04 Dec 2008 14:09:04 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SaniSoft Blog:  The prefix automagic in CakePHP routing]]></title>
      <guid>http://www.phpdeveloper.org/news/9941</guid>
      <link>http://www.phpdeveloper.org/news/9941</link>
      <description><![CDATA[<p>
On the SaniSoft blog, <i>Tarique Sani</i> <a href="http://www.sanisoft.com/blog/2008/04/04/the-prefix-automagic-in-cakephp-routing/">talks briefly</a> about some of the prefix "automagic" that's already built in to the CakePHP framework's routing.
</p>
<blockquote>
There are times when you need more than just admin routing, how about something like http://blah.com/user/profiles/edit and http://blah.com/user/profiles/changepassword ? If this could be routed to an action like user_add and user_changepassword wouldn't it be great!! (eg: think ownership ACL checks)
</blockquote>
<p>
Good thing the CakePHP developers already planned for something like this - they included the connect() method for Router objects that maps the URL request to a method with that same prefix in the controller.
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 13:06:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: MySQL Table Prefix Changer Tool in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9340</guid>
      <link>http://www.phpdeveloper.org/news/9340</link>
      <description><![CDATA[<p>
On DevShed today there's <a href="http://www.devshed.com/c/a/MySQL/MySQL-Table-Prefix-Changer-Tool-in-PHP/">a new tutorial</a> showing a method for preventing SQL injection attacks on your site - a MySQL table prefix changer.
</p>
<blockquote>
Changing these [table] prefixes can be a tedious job if you had to do it manually. Even tools like phpMyAdmin don't provide a clean, quick method of doing this. But with a little help from PHP, we are able to create our own tool very quickly.
</blockquote>
<p>
<a href="http://www.devshed.com/c/a/MySQL/MySQL-Table-Prefix-Changer-Tool-in-PHP/">The tutorial</a> follows the construction of the tool, making the modifications to the current database tables and pushing all of the changes back into the database.
</p>]]></description>
      <pubDate>Wed, 02 Jan 2008 09:54:00 -0600</pubDate>
    </item>
  </channel>
</rss>
