<?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, 23 May 2013 02:54:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Relational Databases for Dummies]]></title>
      <guid>http://www.phpdeveloper.org/news/19313</guid>
      <link>http://www.phpdeveloper.org/news/19313</link>
      <description><![CDATA[<p>
If you're relatively new to PHP development or have just meaning to get into using relational databases with your application, you should check out <a href="http://net.tutsplus.com/tutorials/tools-and-tips/relational-databases-for-dummies/">this new post</a> from NetTuts giving a "for dummies" approach to learning about RDBMSes.
</p>
<blockquote>
Web apps can be split into two major components: a front-end that displays and collects information, and a back-end for storing the information. In this article, I'll demonstrate what a relational database is, and how to properly design your database to store your app's information.
</blockquote>
<p>
They describe the usage of a database in several steps (no code is included, just SQL at the end):
</p>
<ul>
<li>Get Some Data
<li>Remove Repetitive Data Across Columns
<li>Remove Repetitive Data Across Rows
<li>Linking Tables with Keys
</ul>
<p>
This is followed by links to a few of the different RDBMSes out there and a brief introduction to what SQL is and what it looks like.
</p>]]></description>
      <pubDate>Thu, 14 Mar 2013 10:43:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: Poll Question: Which one is your Favorite PHP Category?]]></title>
      <guid>http://www.phpdeveloper.org/news/6515</guid>
      <link>http://www.phpdeveloper.org/news/6515</link>
      <description><![CDATA[<p>
The International PHP Magazine has posted <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26458,nodeid,5.html">the results from their latest poll</a> on their site today. The question of the week this time was "which of the following is your favorite category of PHP functionality?"
</p>
<p>
Among the options, there was "General PHP", "PHP Design", "PHP & XML" and "PHP Security". The one that came out on top, however, was "PHP & Databases" with 26.4% of the vote. Next in line was tied up between two options - "General PHP" and "PHP & Business/Ingegration" both with 15.3% of the votes.
</p>
<p>
Be sure anc check out (and vote on) their <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26457,nodeid,5.html">new poll for the week</a> asking readers what they think is the biggest advantage of making to move to PHP5 for their scripts.
</p>]]></description>
      <pubDate>Tue, 17 Oct 2006 10:48:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ana Aman's Blog:  PHPMyAdmin freezes on databases with too many tables]]></title>
      <guid>http://www.phpdeveloper.org/news/5599</guid>
      <link>http://www.phpdeveloper.org/news/5599</link>
      <description><![CDATA[<p>
From <i>Ana Aman</i>'s Blogspot blog today, there's <a href="http://anaaman.blogspot.com/2006/06/phpmyadmin-freezes-on-databases-with.html">a quick post</a> with a helpful hint for anyone working with PHPMyAdmin experiencing freeze-ups.
</p>
<blockquote>
<p>
If you are using phpmyadmin on a database with more 1500 or more tables, you may experience problems. The page will not load at all so you will not be able to operate propery with phpmyadmin.
</p>
<p>
Of course you can still run commands from a terminal or console but it is not as confortable as using phpmyadmin.
</p>
</blockquote>
<p>
The solution? Following a bit of digging, <i>Ana</i> <a href="http://anaaman.blogspot.com/2006/06/phpmyadmin-freezes-on-databases-with.html">discovered</a> that upping the memory limit for the server PHPMyAdmin installed on makes a world of difference.
</p>]]></description>
      <pubDate>Thu, 15 Jun 2006 12:37:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sitening.com: Getting Real With Databases in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5486</guid>
      <link>http://www.phpdeveloper.org/news/5486</link>
      <description><![CDATA[<p>
<a href="http://www.sitening.com/blog/2006/06/01/getting-real-with-databases-in-php/">This new post</a> on the Sitening.com blog (written up by <i>Tyler Hall</i>) today takes a look at PHP and databases (MySQL specifically in this case) and "getting real" with them.
</p>
<quote>
<i>
<p>
many of the ideas behind Ruby on Rails are spot on. I particularly like how well it abstracts database queries into separate objects for each table. That's very cool and can save having to write a lot of repetitive code. But having to run a Rails script to generate new files is a little too cumbersome for me. Like I said, I prefer to keep things simple. Can we do the same thing with PHP? Using just one file?
</p>
<p>
Yes.
</p>
</i>
</quote>
<p>
He proceeds to show a class that can perform operations similar to those styled in RoR - creating the object, applying proterties to it and performing the action (inserts/delete/etc). It's <a href="http://www.sitening.com/blog/2006/06/01/getting-real-with-databases-in-php/">all made possible</a> through the use of the __get and __set functions offered in PHP5. From there, it's just a simple matter of defining the functions for the actions.
</p>
<p>
To bring the point home, he also includes some examples of how to use this kind of functionality with a bit more than the previous example - selecting, updating, deleting, and inserting a new record (including the action function for each). Lastly, he gives an example of extending this base class, as mentioned in his first example (creating an object like "Animal" or "User" to abstract out the connections even more.
</p>]]></description>
      <pubDate>Thu, 01 Jun 2006 06:11:58 -0500</pubDate>
    </item>
  </channel>
</rss>
