<?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, 19 Jun 2013 07:16:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Thilanka Kaushalya's Blog: How to use Mysql Transactions with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17701</guid>
      <link>http://www.phpdeveloper.org/news/17701</link>
      <description><![CDATA[<p>
In <a href="http://coders-view.blogspot.com/2012/03/how-to-use-mysql-transactions-with-php.html">this recent post</a> to his blog <i>Thilanka Kaushalya</i> shows how to use transactions in MySQL databases (using <a href="http://php.net/mysqli">mysqli</a>
</p>
<blockquote>
Web applications are more popular today than ever with the increasing number of internet users. Most of the standard alone applications converted as web based applications or at least they try to provide a web interface for users. PHP and Mysql are two leading technologies which allow uses on rapid development of web based systems. "Transaction" is a powerful concept which comes with Mysql 4.0 and above versions. Lets explore that.
</blockquote>
<p>
He introduces the concept of transactions first, providing an example of a bank transfer between two individuals. He uses this to create a simple code sample that turns off the autocommit for the connection (using <a href="http://php.net/mysqli_autocommit">mysqli_autocommit</a> set to false)  and running the SQL in order before the commit. He also includes an example of using the rollback function to return the data back to its original state if there's an error.
</p>]]></description>
      <pubDate>Tue, 20 Mar 2012 13:04:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: Only YOU can prevent web failures]]></title>
      <guid>http://www.phpdeveloper.org/news/14447</guid>
      <link>http://www.phpdeveloper.org/news/14447</link>
      <description><![CDATA[<p>
<i>Cal Evans</i> has a reminder to all of the businesses out there that have sites and use web site hosting services - <a href="http://blog.calevans.com/2010/04/30/only-you-can-prevent-web-failures/">only you can prevent web failures</a> and potentially alienate customers. 
</p>
<blockquote>
Last night I wrote the info@ email address on a website and asked a questions about their product. They politely responded with two links to their website. This morning however, when I went to visit them, I was greeted with the message above. It's now three hours later and the site is still "experiencing difficulties". [...] This problem can be prevented by business owners insisting on - and paying for - "Best Practices" in their software vendors.
</blockquote>
<p>
He offers a few suggestions to businesses to help prevent this sort of (catastrophic?) failure for their businesses including having a rollout and rollback plan and having a good set of tests to make doubly sure things work before the code even meets the public. 
</p>]]></description>
      <pubDate>Mon, 03 May 2010 09:37:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Implementing the commit() and rollback() Methods with mysqli and PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/5750</guid>
      <link>http://www.phpdeveloper.org/news/5750</link>
      <description><![CDATA[<p>
Continuing on with their "mysqli in PHP5" series, DevShed has posted <a href="http://www.devshed.com/c/a/MySQL/Implementing-the-commit-and-rollback-Methods-with-mysqli-and-PHP-5/">part two</a> highlighting the commit and rollback functions - their use and functionality.
</p>
<blockquote>
This is the second part of the series "Using mysqli with PHP 5." Welcome back. In three tutorials, this series shows how to use the most important methods and properties included in the "mysqli" extension that comes with PHP 5, in order to take advantage of the new features bundled with MySQL 4.1 and above.
</blockquote>
<p>
In <a href="http://www.phpdeveloper.org/news/5735">part one</a> they introduced the extension, providing the background for those just joining in. In <a href="http://www.devshed.com/c/a/MySQL/Implementing-the-commit-and-rollback-Methods-with-mysqli-and-PHP-5/">this latest part</a>, they take it to the next level and talk about these new handy functions - one to save the updates/additions you're making to the database and the other to undo those changes quickly and easily. As always, there's plenty of examples, explainations, and code to go around.
</p>]]></description>
      <pubDate>Sat, 08 Jul 2006 09:53:46 -0500</pubDate>
    </item>
  </channel>
</rss>
