<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>/var/log/vshivak - PHP</title>
    <link>http://kuziel.info/log/</link>
    <description>thoughts of Marek Kuziel</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.0.1 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Book about PEAR Installer coming out soon!</title>
    <link>http://kuziel.info/log/archives/2006/10/28/Book-about-PEAR-Installer-coming-out-soon!</link>
            <category>Lab</category>
            <category>PEAR</category>
            <category>PHP</category>
            <category>vshivak</category>
    
    <comments>http://kuziel.info/log/archives/2006/10/28/Book-about-PEAR-Installer-coming-out-soon!#comments</comments>
    <wfw:comment>http://kuziel.info/log/wfwcomment.php?cid=32</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://kuziel.info/log/rss.php?version=2.0&amp;type=comments&amp;cid=32</wfw:commentRss>
    

    <author>nospam@example.com (Marek Kuziel)</author>
    <content:encoded>
    &lt;p&gt;This is a book I have been awaiting for a quite long time! The &lt;a href=&quot;http://www.packtpub.com/PEAR-Installer/book&quot; title=&quot;http://www.packtpub.com/PEAR-Installer/book&quot;&gt;book about new version of the PEAR Installer&lt;/a&gt; (&lt;strong&gt;note&lt;/strong&gt;: PEAR Installer is part of the PEAR package), the package that allows you to deploy your PHP projects anywhere without a hassle.&lt;/p&gt;&lt;p&gt;As of version 1.4.0, PEAR (Installer) contains channel support, that allows PHP developers to deploy their PHP projects via their own channel server!&lt;/p&gt;&lt;p&gt;As a PHP developer, you might had been playing with the idea to automate deployment processes for your PHP (web)applications, right? OK, maybe not. Frankly, I don&amp;#39;t know anyone else in person, who would have tried to do deployment of the entire websites, or PHP applications using PEAR Installer and own channel server. I hope this book will change this&amp;#160; soon. &lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://kuziel.info/log/archives/2006/10/28/Book-about-PEAR-Installer-coming-out-soon!#extended&quot;&gt;Continue reading &quot;Book about PEAR Installer coming out soon!&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 28 Oct 2006 12:34:45 +1300</pubDate>
    <guid isPermaLink="false">http://kuziel.info/log/archives/2006/10/28/32</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/</creativeCommons:license>
</item>
<item>
    <title>Kuziel_PEAR_Command_Database - fix release (1.0.3)</title>
    <link>http://kuziel.info/log/archives/2006/04/26/Kuziel_PEAR_Command_Database-fix-release-1.0.3</link>
            <category>Lab</category>
            <category>PEAR</category>
            <category>PHP</category>
            <category>vshivak</category>
    
    <comments>http://kuziel.info/log/archives/2006/04/26/Kuziel_PEAR_Command_Database-fix-release-1.0.3#comments</comments>
    <wfw:comment>http://kuziel.info/log/wfwcomment.php?cid=24</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://kuziel.info/log/rss.php?version=2.0&amp;type=comments&amp;cid=24</wfw:commentRss>
    

    <author>nospam@example.com (Marek Kuziel)</author>
    <content:encoded>
    &lt;p&gt;I&amp;#39;ve packaged and deployed to my PEAR channel new version of Kuziel_PEAR_Command_Database package.&lt;/p&gt;&lt;p&gt;For those of you who don&amp;#39;t know what is it about, this package provides native PEAR commands for DB_DataObject and MDB2_Schema packages which will help you when it comes to generating DB DataObject classes and/or MDB2 schemas.&lt;/p&gt;&lt;p&gt;For more information about the package please read my previous &lt;a href=&quot;archives/2006/03/28/Kuziel_PEAR_Command_Database-package&quot;&gt;Kuziel_PEAR_Command_Database package&lt;/a&gt; entry.&lt;/p&gt;&lt;p&gt;Actually, I&amp;#39;d be interested if anyone uses this package (beside me and those of you who I bothered with it &lt;img src=&quot;http://kuziel.info/log/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; ). Please, leave me a comment if you&amp;#39;re using it. Thanks! &lt;br /&gt;   &lt;/p&gt;&lt;p&gt;Here are the release notes for version 1.0.3:&lt;/p&gt;&lt;p&gt;Fix: short options for &amp;#39;mdb2-create-schema&amp;#39; command were too long (2 characters) instead of&amp;#160;&amp;#160; required one character which caused that after installation almost all PEAR commands disappeared&amp;#160;&amp;#160; and it was unpossible to do anything with the PEAR repository.In case you have previus version installed and this happend to you. Solution how to fix this&amp;#160;&amp;#160; is to remove all files of this package (lib/PEAR/Command/Database.xml and&amp;#160;&amp;#160; lib/PEAR/Command/Database.php) and upgrade to this, fixed, version.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Important note:&lt;/strong&gt; This version contains following options set for MDB2 Schema&lt;/p&gt; &lt;ul&gt;   &lt;li&gt;portability = MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_FIX_CASE&lt;/li&gt;   &lt;li&gt;seqcol_name = id&lt;/li&gt; &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Wed, 26 Apr 2006 18:18:00 +1200</pubDate>
    <guid isPermaLink="false">http://kuziel.info/log/archives/2006/04/26/24</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/</creativeCommons:license>
</item>
<item>
    <title>Installation of local PEAR repository</title>
    <link>http://kuziel.info/log/archives/2006/04/02/Installation-of-local-PEAR-repository</link>
            <category>Lab</category>
            <category>PEAR</category>
            <category>PHP</category>
            <category>vshivak</category>
    
    <comments>http://kuziel.info/log/archives/2006/04/02/Installation-of-local-PEAR-repository#comments</comments>
    <wfw:comment>http://kuziel.info/log/wfwcomment.php?cid=15</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://kuziel.info/log/rss.php?version=2.0&amp;type=comments&amp;cid=15</wfw:commentRss>
    

    <author>nospam@example.com (Marek Kuziel)</author>
    <content:encoded>
    &lt;p&gt;I use PEAR a lot. All my current work is based on PEAR libraries (only) and I create and deploy everything via PEAR. I think it&amp;#39;s been two or three years since I started playing with PEAR extensively.&lt;/p&gt; &lt;p&gt;Because of that, I need quite a lot of PEAR repositories for development, testing, staging, live versions, etc. That&amp;#39;s a quite a lot of repositories considering number of projects I work on.&lt;/p&gt; &lt;p&gt;I think it is a good practice to have one repository per project and per purpose. Although, for development purposes I usually use only one global repository with recent version of all packages I need. But testing, staging and especially live versions of my applications are in separate PEAR repositories.&lt;/p&gt; &lt;p&gt;Therefore, creation of new PEAR repository is sort of routine task for me.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried quite a few ways of doing it, but here&amp;#39;s the one I use mostly, because it&amp;#39;s quick and safe way how to get new local PEAR repository in a few seconds.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://kuziel.info/log/archives/2006/04/02/Installation-of-local-PEAR-repository#extended&quot;&gt;Continue reading &quot;Installation of local PEAR repository&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 02 Apr 2006 11:11:00 +1200</pubDate>
    <guid isPermaLink="false">http://kuziel.info/log/archives/2006/04/02/15</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/</creativeCommons:license>
</item>
<item>
    <title>Kuziel_PEAR_Command_Database package</title>
    <link>http://kuziel.info/log/archives/2006/03/28/Kuziel_PEAR_Command_Database-package</link>
            <category>Lab</category>
            <category>PEAR</category>
            <category>PHP</category>
            <category>vshivak</category>
    
    <comments>http://kuziel.info/log/archives/2006/03/28/Kuziel_PEAR_Command_Database-package#comments</comments>
    <wfw:comment>http://kuziel.info/log/wfwcomment.php?cid=12</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://kuziel.info/log/rss.php?version=2.0&amp;type=comments&amp;cid=12</wfw:commentRss>
    

    <author>nospam@example.com (Marek Kuziel)</author>
    <content:encoded>
    &lt;p&gt; It is a first package deployed via my channel &lt;a href=&quot;http://pear.kuziel.info&quot;&gt;pear.kuziel.info&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt; It provides commands for two PEAR libraries. DB DatabObject and MDB2 Schema. &lt;/p&gt;  &lt;h3&gt;Installation&lt;/h3&gt;  &lt;p&gt; Here&amp;#39;s the real example of what the help text of my &lt;a href=&quot;archives/2006/03/27/Serendipity-plugin-Very-Lite-PEAR-Channel-Frontend&quot;&gt;(Very Lite) PEAR Channel Frontend Serendipity plugin&lt;/a&gt; says. &lt;br /&gt; To discover my channel and install this package run:&lt;br /&gt; &lt;/p&gt;&lt;pre&gt;pear channel-dicover pear.kuziel.info&lt;br /&gt;pear install kuziel/Kuziel_PEAR_Command_Database&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;DB DataObject: dbdo-create-table&lt;/h3&gt; &lt;p&gt; This command is replacement for original createTables.php from DB DataObject package. &lt;/p&gt; &lt;p&gt; It generates DB DatabObject classes and database (schema) ini file for given DB DatabObject configuration ini file. &lt;/p&gt; &lt;p&gt; For more information about the configuration have a look at &lt;a href=&quot;http://pear.php.net/manual/en/package.database.db-dataobject.intro-configuration.php&quot;&gt;DB DataObject Configuration Options&lt;/a&gt;  documentation. &lt;/p&gt; &lt;p&gt; Run it:&lt;br /&gt; &lt;/p&gt;&lt;pre&gt;pear dbdo-create-tables /full/path/to/your/your-dbdo.ini&lt;br /&gt;&lt;/pre&gt; or, in case you&amp;#39;re located in the same directory where your DB DataObject ini file is, run:&lt;br /&gt; &lt;pre&gt;pear dbdo-create-tables your-dbdo.ini&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;p&gt; If you like shortcuts, you can use &amp;#39;ddct&amp;#39; as a shortcut for &amp;#39;dbdo-create-tables&amp;#39;. So, the previous example can also look like:&lt;br /&gt; &lt;/p&gt;&lt;pre&gt;pear ddct your-dbdo.ini&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;MDB2 Schema&lt;/h3&gt; &lt;p&gt; There are two commands available for MDB2 Schema package, only command &amp;#39;mdb2-create-schema&amp;#39; is working at the moment. There is also second command &amp;#39;mdb2-update-schema&amp;#39; available, however, it is not implemented yet. &lt;/p&gt;  &lt;h4&gt;MDB2 Schema: mdb2-create-schema&lt;/h4&gt;  &lt;p&gt; This command creates MDB2 Schema (xml) file for given database. &lt;/p&gt; &lt;p&gt; If you run it like this:&lt;br /&gt; &lt;/p&gt;&lt;pre&gt;pear mdb2-create-schema pgsql://username:password@host/database&lt;br /&gt;&lt;/pre&gt; &lt;br /&gt;Where, of course, &amp;#39;pgsql://username:password@host/database&amp;#39; is replaced with your real DSN, command will create database.xml file with structure and data dump of your database. &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;p&gt; Shortcut for the command &amp;#39;mdb2-create-schema&amp;#39; is &amp;#39;mdb2cs&amp;#39;. So previous example would look like:&lt;br /&gt; &lt;/p&gt;&lt;pre&gt;pear mdb2cs pgsql://username:password@host/database&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;p&gt; &lt;strong&gt;Note:&lt;/strong&gt; MDB2 Schema package has some issues with table names (, or more precisely with underscores in your table names), so this command may fail if you don&amp;#39;t have &amp;quot;correct&amp;quot; table names. &lt;/p&gt;  &lt;h3&gt;Help information&lt;/h3&gt; &lt;p&gt; For more information about the commands run:&lt;br /&gt; &lt;/p&gt;&lt;pre&gt;pear help dbdo-create-tables&lt;br /&gt;pear help mdb2-create-schema&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;p&gt; &lt;strong&gt;Note:&lt;/strong&gt; At the moment Kuziel_PEAR_Command_Database package has its dependencies set for DB DataObject and MDB2 Schema only as optional, not required. It&amp;#39;s because you may want to use only DB DataObject, or only MDB2 Schema command. If it is not obvious, you have to have those packages installed if you want to use their commands &lt;img src=&quot;http://kuziel.info/log/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;. &lt;/p&gt; 
    </content:encoded>

    <pubDate>Tue, 28 Mar 2006 00:22:02 +1200</pubDate>
    <guid isPermaLink="false">http://kuziel.info/log/archives/2006/03/28/12</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/</creativeCommons:license>
</item>
<item>
    <title>Serendipity plugin - (Very Lite) PEAR Channel Frontend</title>
    <link>http://kuziel.info/log/archives/2006/03/27/Serendipity-plugin-Very-Lite-PEAR-Channel-Frontend</link>
            <category>Lab</category>
            <category>PEAR</category>
            <category>PHP</category>
            <category>vshivak</category>
    
    <comments>http://kuziel.info/log/archives/2006/03/27/Serendipity-plugin-Very-Lite-PEAR-Channel-Frontend#comments</comments>
    <wfw:comment>http://kuziel.info/log/wfwcomment.php?cid=11</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://kuziel.info/log/rss.php?version=2.0&amp;type=comments&amp;cid=11</wfw:commentRss>
    

    <author>nospam@example.com (Marek Kuziel)</author>
    <content:encoded>
    &lt;p&gt;I have created small Serendipity plugin for displaying information about your PEAR channel.&lt;/p&gt;
&lt;p&gt;It is sidebar plugin which shows list of categories with sublisted packages within the each category. Mouse over the package name shows summary of the package.&lt;/p&gt;
&lt;p&gt;It allows you to:
&lt;ul&gt;
&lt;li&gt;define your channel&#039;s 3rd party frontend and administration pages.&lt;/li&gt;
&lt;li&gt;decide if to show help for installation and channel discovery.&lt;/li&gt;
&lt;li&gt;choose categories from your channel server to hide (ie. &#039;Default&#039; category you may be not using at all).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It is still just in very basic code. It really just does the minumum, but I think it provides enough information of what categories and what packages are deployed via my channel.&lt;/p&gt;
&lt;p&gt;I need to add few more checkings and clean it up a bit, but I think I can release it in next few days.&lt;/p&gt;
&lt;p&gt;You can see how it works on the right side of this log.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 27 Mar 2006 23:55:28 +1200</pubDate>
    <guid isPermaLink="false">http://kuziel.info/log/archives/2006/03/27/11</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/</creativeCommons:license>
</item>
<item>
    <title>Few links to Selenium related articles</title>
    <link>http://kuziel.info/log/archives/2006/03/19/Few-links-to-Selenium-related-articles</link>
            <category>Lab</category>
            <category>PHP</category>
            <category>Test-Driven</category>
            <category>vshivak</category>
    
    <comments>http://kuziel.info/log/archives/2006/03/19/Few-links-to-Selenium-related-articles#comments</comments>
    <wfw:comment>http://kuziel.info/log/wfwcomment.php?cid=6</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://kuziel.info/log/rss.php?version=2.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    

    <author>nospam@example.com (Marek Kuziel)</author>
    <content:encoded>
    &lt;p&gt;I am quite interested in Selenium these days. Selenium is a unit testing framework for web application testing. Exactly the type of tool what I&amp;#39;ve been looking for a while.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve done little research to find at least something about Selenium and its usage for PHP web applications and PHP unit testing frameworks.&lt;/p&gt;&lt;p&gt;Here are some links to Selenium related articles I found: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.xisc.com/wiki/index.php/Functional_test_using_Selenium&quot; title=&quot;unctional_test_using_Selenium&quot;&gt;PRADO wiki&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.sitepoint.com/forums/showthread.php?t=308727&amp;amp;goto=nextnewest&quot; title=&quot;SitePoint Forums&quot;&gt;SitePoint Forums&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.josephmoore.net/2005/11/using-seleniums-waitforvalue.html&quot; title=&quot;Agile reality - Joseph Moore blog&quot;&gt;Agile reality - Joseph Moore blog&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www-128.ibm.com/developerworks/java/library/wa-selenium-ajax/index.html&quot; title=&quot;IBM&amp;#39;s developer works&quot;&gt;IBM&amp;#39;s developer works&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.openqa.org/selenium-ide/&quot; title=&quot;Selenium IDE - Firefox extension&quot;&gt;Selenium IDE - Firefox extension&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Sun, 19 Mar 2006 00:32:00 +1300</pubDate>
    <guid isPermaLink="false">http://kuziel.info/log/archives/2006/03/19/6</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/</creativeCommons:license>
</item>
<item>
    <title>Continuous Integration for PHP via PHPUnit</title>
    <link>http://kuziel.info/log/archives/2006/03/13/Continuous-Integration-for-PHP-via-PHPUnit</link>
            <category>Lab</category>
            <category>PHP</category>
            <category>Test-Driven</category>
            <category>vshivak</category>
    
    <comments>http://kuziel.info/log/archives/2006/03/13/Continuous-Integration-for-PHP-via-PHPUnit#comments</comments>
    <wfw:comment>http://kuziel.info/log/wfwcomment.php?cid=5</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://kuziel.info/log/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    

    <author>nospam@example.com (Marek Kuziel)</author>
    <content:encoded>
    &lt;p&gt;Sebastian Bergmann pointed out a blog entry of Sebastian Nohn who has written blog about how to setup Continuous Integration with CruiseControl, Ant and PHPUnit.&lt;/p&gt;&lt;p&gt;First of all, I thought &amp;#39;Why not Phing instead of Ant?&amp;#39;, but the blog has a good explanation for it and also there is an interesting comment, that you actually can use Ant&amp;#39;sExecTask to call your Phing build files when you need to. So, it&amp;#39;s all good. I can still use Phing for packaging my stuff into PEAR package format.&lt;/p&gt;&lt;p&gt;Reading through the blog and clicking on links of words I&amp;#39;ve never heard before (Selenium?), I&amp;#39;ve discovered (as you do) the whole new test driven universe. Not as I don&amp;#39;t use unit testing. I do! But, that means I can do the test driven development even better &lt;img src=&quot;http://kuziel.info/log/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.martinfowler.com/articles/continuousIntegration.html&quot; title=&quot;Continuous Integration&quot;&gt;Continuous Integration&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://nohn.org/blog/archives/8-Continuous-Builds-with-CruiseControl,-Ant-and-PHPUnit.html&quot; title=&quot;Sebastian Nohn blog entry&quot;&gt;Sebastian Nohn blog entry&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.sebastian-bergmann.de/blog/archives/583-Using-PHPUnit-with-CruiseControl.html&quot; title=&quot;Sebastian - Bergmann blog entry&quot;&gt;Sebastian Bergmann blog entry&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.openqa.org/selenium/index.html&quot; title=&quot;Selenium - Web application testing framework&quot;&gt;Selenium&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 13 Mar 2006 00:21:00 +1300</pubDate>
    <guid isPermaLink="false">http://kuziel.info/log/archives/2006/03/13/5</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/</creativeCommons:license>
</item>

</channel>
</rss>