<?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>Sat, 18 May 2013 08:00:41 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Swan's Blog: BACKUP and RESTORE A Database with the SQL Server Driver for PHP ]]></title>
      <guid>http://www.phpdeveloper.org/news/14322</guid>
      <link>http://www.phpdeveloper.org/news/14322</link>
      <description><![CDATA[<p>
In keeping with his SQL Server and PHP theme, <i>Brian Swan</i> has another new post talking about the combination, but this time he focuses on using the SQL Server driver for PHP to <a href="http://blogs.msdn.com/brian_swan/archive/2010/04/06/backup-and-restore-with-the-sql-server-driver-for-php.aspx">backup and restore a database</a> with the BACKUP and RESTORE SQL Server commands.
</p>
<blockquote>
The strategy you choose really depends on your application and your data. [...] Since I can't possibly cover everything between those extremes in one post, I'll aim for something in the middle. Like a blog, perhaps. In other words, I'll address the scenario in which I don't want to lose data, but I'm not willing to go to extremes to preserve it.
</blockquote>
<p>
The post is largely SQL Server related - mostly for the BACKUP and RESTORE - but it gives you a good idea of how to make a full backup, take a snapshot of your logs and restoring that information back up just in case.
</p>]]></description>
      <pubDate>Thu, 08 Apr 2010 12:48:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: The Cost of Test Isolation - Follow-Up]]></title>
      <guid>http://www.phpdeveloper.org/news/11774</guid>
      <link>http://www.phpdeveloper.org/news/11774</link>
      <description><![CDATA[<p>
Adding on a bit more to a <a href="http://sebastian-bergmann.de/archives/830-The-Cost-of-Test-Isolation-and-other-PHPUnit-Features.html">previous post</a> of his look at test isolation (ex. global variables from one test do not effect any others') with <a href="http://sebastian-bergmann.de/archives/843-The-Cost-of-Test-Isolation-Follow-Up.html">an update</a> he's made to the PHPUnit code concerning the isolation.
</p>
<blockquote>
Since the previous posting, I have added a <a href="http://www.phpunit.de/manual/3.4/en/fixtures.html#fixtures.global-state">backup/restore mechanism for static attributes of classes</a> to <a href="http://www.phpunit.de/">PHPUnit</a>. This is yet another feature of PHPUnit that makes the testing of code that uses global state (which includes, but is not limited to, <a href="http://sebastian-bergmann.de/archives/797-Global-Variables-and-PHPUnit.html">global and superglobal variables</a> as well as static attributes of classes) easier.
</blockquote>
<p>
Two graphs illustrate the difference - <a href="http://www.flickr.com/photos/sebastian_bergmann/3206494878/">one showing a normal run</a> and <a href="http://www.flickr.com/photos/sebastian_bergmann/3206494876/">another</a> with this new feature in use and showing off the performance increase it can give.
</p>]]></description>
      <pubDate>Tue, 20 Jan 2009 11:11:44 -0600</pubDate>
    </item>
  </channel>
</rss>
