<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Stefan Gabos &#187; Zebra_Database</title>
	<atom:link href="http://stefangabos.ro/category/zebra-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://stefangabos.ro</link>
	<description>web developer extraordinaire</description>
	<lastBuildDate>Mon, 06 May 2013 19:47:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Zebra_Database, version 2.8 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-8-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-8-now-available/#comments</comments>
		<pubDate>Fri, 15 Mar 2013 13:07:14 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=2073</guid>
		<description><![CDATA[The big news: dropped support for PHP4 and for the mysql extension; Now that we&#8217;re through, I can tell you that, even though I am against it, the next major release will most probably be based on the PDO extension because with mysqli I cannot use prepared statements and all the nice methods that the [...]]]></description>
				<content:encoded><![CDATA[<p>The big news: dropped support for PHP4 and for the mysql extension; Now that we&#8217;re through, I can tell you that, even though I am against it, the next major release will most probably be based on the PDO extension because with mysqli I cannot  use prepared statements <strong>and</strong> all the nice methods that the library has (like seek, fetch_*, etc); so, because of the limitations of the mysqli extension I had to &#8220;fake&#8221; prepared statements, just as I did in all the previous versions; so, in the end, the current release has no speed advantage when compared to the older ones, and I feel like there&#8217;s no real gain with this version.</p>
<p>Here&#8217;s what&#8217;s new in 2.8:</p>
<ul class="default">
<li>dropped support for PHP 4; minimum required version is now PHP 5;</li>
<li>dropped support for PHP&#8217;s <em>mysql</em> extension, which is <a href="http://php.net/manual/en/changelog.mysql.php">officially deprecated as of PHP v5.5.0</a> and will be removed in the future; the extension was originally introduced in PHP v2.0 for MySQL v3.23, and no new features have been added since 2006; the library now relies on PHP&#8217;s <a href="http://php.net/manual/en/book.mysqli.php">mysqli</a> extension which you&#8217;ll need to have it activated in order for the library to work;</li>
<li>removed the &#8220;is_new&#8221; argument from the &#8220;connect&#8221; method as it&#8217;s not needed by the mysqli extension; this means that &#8220;connect&#8221; is now the 5th argument and that this may break your code so be sure to update accordingly;</li>
<li>inversed the order of last 2 arguments of the &#8220;query&#8221; method (&#8220;calc_rows&#8221; now comes before &#8220;highlight&#8221;); <strong style="color: #C40000">if you were using this argument make sure to addapt your code, or risk breaking the space-time continuum</strong>;</li>
<li>changed an instance of mktime() to time() as it was giving a &#8220;PHP Strict Standards&#8221; error since PHP 5.3.0;</li>
<li>fixed a bug when specifying custom paths for the &#8220;write_log&#8221; method ; thanks <strong>Andrei Bodeanschi</strong>;</li>
<li>fixed an issue where setting &#8220;cache_path&#8221; to a path without trailing slash would break the script;</li>
<li>fixed an issue where setting the caching time to 0 would still create (empty) cache files;</li>
<li>the JS and CSS files used by the debugger window are now loaded &#8220;protocol-less&#8221; in order to solve those mixed-content errors; thanks to <strong>Mark Bjaergager</strong></li>
<li>tweaked the CSS file a bit</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-8-now-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zebra_Database, version 2.7.3 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-3-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-3-now-available/#comments</comments>
		<pubDate>Mon, 16 Jul 2012 11:10:19 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1824</guid>
		<description><![CDATA[Here&#8217;s what&#8217;s new in 2.7.3: the library now tries to write errors to the system log (if PHP is configured so; read more here) when the &#8220;debug&#8221; property is set to FALSE (as when the &#8220;debug&#8221; property is set to TRUE the error messages are reported in the debug console); the library will now show [...]]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s what&#8217;s new in 2.7.3:</p>
<ul class="default">
<li>the library now tries to write errors to the system log (if PHP is configured so; read more <a href="http://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors">here</a>) when the &#8220;debug&#8221; property is set to FALSE (as when the &#8220;debug&#8221; property is set to TRUE the error messages are reported in the debug console);</li>
<li>the library will now show a warning message in the debug console if the &#8220;memcache&#8221; extension is loaded but it is not used;</li>
<li>cached data is now gzcompress-ed and base64_encoded which means cached data is a bit more secure and a bit more faster to load; thanks to <strong>PunKeel</strong> for suggesting this a while ago;</li>
<li>changed (again!) the order of the arguments for the &#8220;select&#8221; method &#8211; &#8220;limit&#8221; now comes before &#8220;order&#8221;; <em style="color:#C40000">note that this update made the select() method backward incompatible and that you will have to change the order of the arguments for this to work!</em></li>
<li>added a small example on how to use caching through memcache; see the documentation for the &#8220;caching_method&#8221; property;</li>
</ul>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>&#8216;s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-3-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.7.2 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-2-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-2-now-available/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 16:54:22 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1768</guid>
		<description><![CDATA[In version 2.7.2 fixed a bug that most likely appeared since 2.7, where the "seek" method (and any method relying on it, like all the "fetch" methods) would produce a warning in the debug console if there were no records in the sought resource; also, fixed a bug where NULL could not be used in the "replacements" array of a query; thanks to <strong>בניית אתרים</strong>]]></description>
				<content:encoded><![CDATA[<p>In version 2.7.2 fixed a bug that most likely appeared since 2.7, where the &#8220;seek&#8221; method (and any method relying on it, like all the &#8220;fetch&#8221; methods) would produce a warning in the debug console if there were no records in the sought resource; also, fixed a bug where NULL could not be used in the &#8220;replacements&#8221; array of a query; thanks to <strong>בניית אתרים</strong></p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-2-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.7.1 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-1-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-1-now-available/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 12:27:36 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1734</guid>
		<description><![CDATA[In version 2.7.1 fixed a bug where the select() method took arguments in a different order than specified in the documentation; note that this update made the select() method backward incompatible and that you will have to change the order of the arguments for this to work; fixed a bug where the update() and insert_update() methods were not working if in the array with the columns to update, the INC() keyword was used with a replacement marker instead of a value, and the actual value was given in the replacements array; fixed a bug where the insert_update() method was not working when the only update field used the INC() keyword; the generated query contained an invalid comma between UPDATE and the field name;]]></description>
				<content:encoded><![CDATA[<p>In version 2.7.1 fixed a bug where the select() method took arguments in a different order than specified in the documentation; note that this update made the select() method backward incompatible and that you will have to change the order of the arguments for this to work; fixed a bug where the update() and insert_update() methods were not working if in the array with the columns to update, the INC() keyword was used with a replacement marker instead of a value, and the actual value was given in the replacements array; fixed a bug where the insert_update() method was not working when the only update field used the INC() keyword; the generated query contained an invalid comma between UPDATE and the field name;</p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-1-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.7 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-now-available/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 16:46:26 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1610</guid>
		<description><![CDATA[In version 2.7 support was added for caching query results using <strong>memcache</strong> - thanks to <strong>Balazs</strong> for suggesting it a while ago, and to <strong>Ovidiu Mihalcea</strong> for introducing me to memcache; fixed a bug where the script would crash if the object was instantiated more than once and the <em>language</em> method was being called for each of the instances - thanks to <strong>Edy Galantzan</strong>; completely rewritten the <em>dlookup</em> method which was not working correctly if anything else than a comma separated list of column names was used (like an expression, for example) - thanks to <strong>Allan</strong>; the "connect" method can now take an additional argument instructing it to connect to the database right away rather than using a "lazy" connection; fixed a bug where some of the elements in the debug console were incorrectly inheriting the page's body color.]]></description>
				<content:encoded><![CDATA[<p>In version 2.7 support was added for caching query results using <strong>memcache</strong> &#8211; thanks to <strong>Balazs</strong> for suggesting it a while ago, and to <strong>Ovidiu Mihalcea</strong> for introducing me to memcache; fixed a bug where the script would crash if the object was instantiated more than once and the <em>language</em> method was being called for each of the instances &#8211; thanks to <strong>Edy Galantzan</strong>; completely rewritten the <em>dlookup</em> method which was not working correctly if anything else than a comma separated list of column names was used (like an expression, for example) &#8211; thanks to <strong>Allan</strong>; the &#8220;connect&#8221; method can now take an additional argument instructing it to connect to the database right away rather than using a &#8220;lazy&#8221; connection; fixed a bug where some of the elements in the debug console were incorrectly inheriting the page&#8217;s body color.</p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-7-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.6 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-6-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-6-now-available/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 09:07:35 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1350</guid>
		<description><![CDATA[In version 2.6 the name of "get_columns" method was changed to "get_table_columns" as it returned the number of columns in a given table, and a new "get_columns" method was added which takes as argument a resource and returns the number of columns in the given resource; some clarifications in the documentation were also made;]]></description>
				<content:encoded><![CDATA[<p>In version 2.6 the name of &#8220;get_columns&#8221; method was changed to &#8220;get_table_columns&#8221; as it returned the number of columns in a given table, and a new &#8220;get_columns&#8221; method was added which takes as argument a resource and returns the number of columns in the given resource; some clarifications in the documentation were also made;</p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-6-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.5 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-5-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-5-now-available/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 03:50:56 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1227</guid>
		<description><![CDATA[In version 2.5 a new method is available: "get_link" which returns the MySQL link identifier associated with the current connection to the MySQL server. Why as a separate method? Because the library uses "lazy connection" (it is not actually connecting to the database until first query is executed) there's no link identifier available when calling the <em>connect</em> method; a new argument is now available for the <em>insert</em> and <em>insert_bulk</em> methods which allows the creation of INSERT IGNORE queries which will skip records that would cause a duplicate entry for a primary key; the default value of the "debug" property was set to FALSE]]></description>
				<content:encoded><![CDATA[<p>In version 2.5 a new method is available: &#8220;get_link&#8221; which returns the MySQL link identifier associated with the current connection to the MySQL server. Why as a separate method? Because the library uses &#8220;lazy connection&#8221; (it is not actually connecting to the database until first query is executed) there&#8217;s no link identifier available when calling the <em>connect</em> method; a new argument is now available for the <em>insert</em> and <em>insert_bulk</em> methods which allows the creation of INSERT IGNORE queries which will skip records that would cause a duplicate entry for a primary key; the default value of the &#8220;debug&#8221; property was set to FALSE</p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-5-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.4 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-4-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-4-now-available/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 06:46:25 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=1072</guid>
		<description><![CDATA[<strong>Zebra_Database</strong> it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.
<br /><br />
In version 2.4 a bug was fixes in the <em>insert_bulk</em> method; a new method was added called <em>table_exists</em> which checks to see if a table with the name given as argument exists in the database; the <em>select</em> method now also accepts <em>limit</em> and <em>order</em> arguments; due to this change, this method is not compatible with previous versions; some documentation refinements.]]></description>
				<content:encoded><![CDATA[<p><strong>Zebra_Database</strong> it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.</p>
<p>In version 2.4 a bug was fixes in the <em>insert_bulk</em> method; a new method was added called <em>table_exists</em> which checks to see if a table with the name given as argument exists in the database; the <em>select</em> method now also accepts <em>limit</em> and <em>order</em> arguments; due to this change, this method is not compatible with previous versions; some documentation refinements.</p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-4-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.3 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-3-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-3-now-available/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 17:26:34 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=695</guid>
		<description><![CDATA[<strong>Zebra_Database</strong> it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.
<br /><br />
In version 2.3 a bug was fixed where where the script would generate a warning if the <em>update</em> method was called with invalid arguments and changed how the <em>insert_bulk</em> method needs to receive arguments, making it more easier to use.]]></description>
				<content:encoded><![CDATA[<p><strong>Zebra_Database</strong> it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.</p>
<p>In version 2.3 a bug was fixed where where the script would generate a warning if the <em>update</em> method was called with invalid arguments and changed how the <em>insert_bulk</em> method needs to receive arguments, making it more easier to use.</p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-3-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zebra_Database version 2.2 now available</title>
		<link>http://stefangabos.ro/php-libraries/zebra_database-version-2-2-now-available/</link>
		<comments>http://stefangabos.ro/php-libraries/zebra_database-version-2-2-now-available/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 18:09:11 +0000</pubDate>
		<dc:creator>Stefan Gabos</dc:creator>
				<category><![CDATA[PHP libraries]]></category>
		<category><![CDATA[Zebra_Database]]></category>

		<guid isPermaLink="false">http://stefangabos.ro/?p=615</guid>
		<description><![CDATA[<strong>Zebra_Database</strong> it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.
<br /><br />
In version 2.2 a bug was fixed where the "select" method war returning a boolean value rather than a resource (thanks to Monil); the class now uses "lazy connection" meaning that it will not actually connect to the database until the first query is run; the debug console now shows also session variables; the "show_debug_console" method can now be instructed to return output rather than print it to the screen; the highlighter now highlights more keywords; improved documentation for the "connect" method.]]></description>
				<content:encoded><![CDATA[<p><strong>Zebra_Database</strong> it is an advanced, compact (one-file only), lightweight, object-oriented MySQL database wrapper built upon PHP’s MySQL extension. It provides methods for interacting with MySQL databases that are more intuitive and fun to use than PHP’s default ones.</p>
<p>In version 2.2 a bug was fixed where the &#8220;select&#8221; method war returning a boolean value rather than a resource (thanks to Monil); the class now uses &#8220;lazy connection&#8221; meaning that it will not actually connect to the database until the first query is run; the debug console now shows also session variables; the &#8220;show_debug_console&#8221; method can now be instructed to return output rather than print it to the screen; the highlighter now highlights more keywords; improved documentation for the &#8220;connect&#8221; method.</p>
<p>Visit <a href="http://stefangabos.ro/php-libraries/zebra-database/">Zebra_Database</a>‘s page</p>
]]></content:encoded>
			<wfw:commentRss>http://stefangabos.ro/php-libraries/zebra_database-version-2-2-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
