<?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>Rich Buggy</title>
	<atom:link href="http://buggy.id.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://buggy.id.au</link>
	<description>Developer, Manager, Entrepreneur</description>
	<lastBuildDate>Sat, 22 May 2010 12:09:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Auto Increment in SugarCRM</title>
		<link>http://buggy.id.au/2010/05/22/auto-increment-in-sugarcrm/</link>
		<comments>http://buggy.id.au/2010/05/22/auto-increment-in-sugarcrm/#comments</comments>
		<pubDate>Sat, 22 May 2010 12:09:09 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[sugarcrm]]></category>
		<category><![CDATA[sydphp]]></category>

		<guid isPermaLink="false">http://buggy.id.au/?p=369</guid>
		<description><![CDATA[Earlier today I posted about creating a DateTime Picker in SugarCRM. A second problem I had was creating an auto increment field. This turned out to be slightly more difficult than the datetime picker. Again you need to edit your vardefs.php but this time you add the following to your field. 'auto_increment' =&#62; true, You [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier today I posted about creating a <a href="http://buggy.id.au/2010/05/22/datetime-picker-in-sugarcrm/">DateTime Picker in SugarCRM</a>. A second problem I had was creating an auto increment field. This turned out to be slightly more difficult than the datetime picker. Again you need to edit your <code>vardefs.php</code> but this time you add the following to your field.</p>
<pre>'auto_increment' =&gt; true,</pre>
<p>You then need to manually alter the table structure so the <code>id</code> field is a unique index instead of a primary key then add your new column to the database as an <code>auto_increment</code> field and the tables primary key. I also found that if you try to install the module on another system it will fail because it can&#8217;t create the table properly. You can solve that by creating the table then installing the module.</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2010/05/22/auto-increment-in-sugarcrm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Date/Time Picker in SugarCRM</title>
		<link>http://buggy.id.au/2010/05/22/datetime-picker-in-sugarcrm/</link>
		<comments>http://buggy.id.au/2010/05/22/datetime-picker-in-sugarcrm/#comments</comments>
		<pubDate>Sat, 22 May 2010 11:04:34 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[sugarcrm]]></category>
		<category><![CDATA[sydphp]]></category>

		<guid isPermaLink="false">http://buggy.id.au/?p=366</guid>
		<description><![CDATA[Recently I needed to add a date/time field to a custom SugarCRM module. Sadly the module builder doesn&#8217;t include support this and the documentation is pretty bad. Eventually I managed to solve my problem and the solution is suprisingly simple. After adding a date field to the form I edited my vardefs.php file. You&#8217;ll find [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I needed to add a date/time field to a custom SugarCRM module. Sadly the module builder doesn&#8217;t include support this and the documentation is pretty bad. Eventually I managed to solve my problem and the solution is suprisingly simple.</p>
<p>After adding a date field to the form I edited my <code>vardefs.php</code> file. You&#8217;ll find the file in <code>custom/modulebuilder/packages/<em>package_name</em>/modules/<em>module_name</em>/</code>. Find the field and change it&#8217;s type to <code>datetime</code>.</p>
<p>Next you need to change your views. They&#8217;re located in <code>custom/modulebuilder/packages/<em>package_name</em>/modules/<em>module_name</em>/metadata</code>. In my case I wanted to the edit view to show a datepicker plus a time combo. I found the field and added</p>
<pre>'type' =&gt; 'Datetimecombo'</pre>
<p>After that I deployed the package and my module was now saving as a date/time and in the edit view I could set both the date (using a date picker) and time (using drop down lists).</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2010/05/22/datetime-picker-in-sugarcrm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#039;t blame the framework for bad performance</title>
		<link>http://buggy.id.au/2010/04/08/dont-blame-the-framework-for-bad-performance/</link>
		<comments>http://buggy.id.au/2010/04/08/dont-blame-the-framework-for-bad-performance/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 12:47:38 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=361</guid>
		<description><![CDATA[As a developer it&#8217;s all too easy to blame a framework for your applications bad performance. Before you do you might like to ask if you&#8217;re contributing to the problem. Most developers don&#8217;t think about what they&#8217;re really doing or how they could improve performance. I&#8217;ve seen a lot of code where every request results [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer it&#8217;s all too easy to blame a framework for your applications bad performance. Before you do you might like to ask if you&#8217;re contributing to the problem. Most developers don&#8217;t think about what they&#8217;re <em>really</em> doing or how they could improve performance. I&#8217;ve seen a lot of code where every request results in at least one database query even though the database rarely changes.</p>
<p>Below are some stats for an application using the Zend Framework:</p>
<p>PHP &#8211; 36 requests/second</p>
<p>PHP + APC &#8211; 111 requests/second</p>
<p>PHP + APC + Memcache &#8211; 2,048 requests/second</p>
<p>By spending around 3 minutes to add code so the pages output is cached I&#8217;ve been able to improve performance 56 times without needing to throw out the framework. Of course this is an extreme example but it applies to most CMS, blogs, etc&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2010/04/08/dont-blame-the-framework-for-bad-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>API equals dollars</title>
		<link>http://buggy.id.au/2009/12/20/api-equals-dollars/</link>
		<comments>http://buggy.id.au/2009/12/20/api-equals-dollars/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 11:34:29 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=349</guid>
		<description><![CDATA[Lately I&#8217;ve been looking at a number of SaaS providers covering a range of areas. It amazes me how many of them have no API or only a reporting API. If you&#8217;re thinking of building a SaaS start-up then you should be thinking about creating an API that allows your customers to do everything they can [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been looking at a number of SaaS providers covering a range of areas. It amazes me how many of them have no API or only a reporting API. If you&#8217;re thinking of building a SaaS start-up then you should be thinking about creating an API that allows your customers to do <strong><em>everything</em></strong> they can with your user interface.</p>
<p>Service providers with this API have an obvious advantage when it comes to migration and integration but they also have a more subtle and more important advantage. When reviewing potential providers I looked at those with an API before those without. Your SaaS may be the best but without this API are potential customers even considering you?</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/12/20/api-equals-dollars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Please sack the NSW Government</title>
		<link>http://buggy.id.au/2009/12/03/please-sack-the-nsw-government/</link>
		<comments>http://buggy.id.au/2009/12/03/please-sack-the-nsw-government/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 10:17:33 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=347</guid>
		<description><![CDATA[Committing unlawful acts one month, Premier elect the next. The NSW Government has imploded and is no longer capable of governing this state. It&#8217;s time for the Governor of NSW to stand up for the people of NSW. If this is all we have left to run the state then it&#8217;s time to sack the [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Minister's unlawful act scuppers 7200 homes" href="http://www.smh.com.au/national/ministers-unlawful-act-scuppers-7200-homes-20091018-h2y0.html">Committing unlawful acts one month</a>, <a title="Keneally first female NSW Premier" href="http://www.smh.com.au/national/keneally-first-female-nsw-premier-20091203-k8j0.html">Premier elect the next</a>.</p>
<p>The NSW Government has imploded and is no longer capable of governing this state. It&#8217;s time for the Governor of NSW to stand up for the people of NSW. If this is all we have left to run the state then it&#8217;s time to sack the government.</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/12/03/please-sack-the-nsw-government/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebBlast</title>
		<link>http://buggy.id.au/2009/11/30/webblast/</link>
		<comments>http://buggy.id.au/2009/11/30/webblast/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 22:21:36 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=345</guid>
		<description><![CDATA[It&#8217;s that time of year again. Tickets are available now http://www.webblast.com.au/]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of year again. Tickets are available now <a href="http://www.webblast.com.au/">http://www.webblast.com.au/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/11/30/webblast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where&#039;s the data Nathan?</title>
		<link>http://buggy.id.au/2009/10/15/wheres-the-data-nathan/</link>
		<comments>http://buggy.id.au/2009/10/15/wheres-the-data-nathan/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 09:54:32 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=341</guid>
		<description><![CDATA[After reading Pia&#8217;s post about opening up government data I went back to a post I made the day the NSW Government announced that it was opening up government data. That was the 4th September. We were promised that a trial feed was being tested and a full feed would be opened on 21st Septemer. [...]]]></description>
			<content:encoded><![CDATA[<p>After reading Pia&#8217;s post about <a href="http://pipka.org/blog/2009/10/15/opening-up-government-data-get-hacking-people/">opening up government data</a> I went back to a post I made the day the NSW Government announced that it was opening up government data. That was the 4<sup>th</sup> September. We were promised that a trial feed was being tested and a full feed would be opened on 21<sup>st</sup> Septemer. It&#8217;s now 15<sup>th</sup> October (nearly a month after the feed <strong>should</strong> have started) and the one government dataset covering NSW comes  from the Commonwealth Government.</p>
<p>Where&#8217;s the data Nathan?</p>
<p>Let&#8217;s be honest. The Commonwealth Government has started to open access to data. So have other states. The NSW Government has simply extended it&#8217;s policy of making grand announcements with no intention of following through. If there really is data available then put it in your <a href="http://data.nsw.gov.au/">data catalogue</a> so we can find it!?!? I guess they&#8217;ll re-announce this every 12 months in between announcing yet another rail line that won&#8217;t be built.</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/10/15/wheres-the-data-nathan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NSW opens up data</title>
		<link>http://buggy.id.au/2009/09/04/nsw-opens-up-data/</link>
		<comments>http://buggy.id.au/2009/09/04/nsw-opens-up-data/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 09:38:45 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=333</guid>
		<description><![CDATA[Normally I&#8217;m highly critical of the NSW Government but they seem to finally be doing something right. According to Builder AU the NSW Government is now starting to open data to developers. They&#8217;re even running a competition for developers and have an entire website dedicate to providing public sector information. Sadly the site doesn&#8217;t contain [...]]]></description>
			<content:encoded><![CDATA[<p>Normally I&#8217;m highly critical of the NSW Government but they seem to finally be doing something right. According to Builder AU the NSW Government is now starting to <a title="Rees opens govt data to developers" href="http://www.builderau.com.au/news/soa/Rees-opens-govt-data-to-developers/0,339028227,339298306,00.htm">open data to developers</a>. They&#8217;re even running a <a title="apps4nsw" href="http://www.information.nsw.gov.au/apps4nsw">competition for developers</a> and have an entire website dedicate to providing <a title="Open Public Sector Information" href="http://www.data.nsw.gov.au/">public sector information</a>. Sadly the site doesn&#8217;t contain anything yet but at least they seem to heading in the right direction.</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/09/04/nsw-opens-up-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unit tests</title>
		<link>http://buggy.id.au/2009/08/28/unit-tests/</link>
		<comments>http://buggy.id.au/2009/08/28/unit-tests/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 13:09:06 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sydphp]]></category>
		<category><![CDATA[unit testing]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=330</guid>
		<description><![CDATA[I just read a post asking if my unit test take too long. In it the author suggests that 5 minutes is long and asks if anyone has solved this problem. This reminded me of a discussion I had with some developers about 12 months ago about unit testing in which my argument was simply [...]]]></description>
			<content:encoded><![CDATA[<p>I just read a post asking if <a href="http://www.advogato.org/person/robertc/diary/111.html">my unit test take too long</a>. In it the author suggests that 5 minutes is long and asks if anyone has solved this problem. This reminded me of a discussion I had with some developers about 12 months ago about unit testing in which my argument was simply that unit tests need to be comprehensive and not necessarily quick.</p>
<p>There are many projects where the unit tests take several hours to run. This shouldn&#8217;t matter during development when you&#8217;re probably only interested in a few unit tests as most test tools provide a way to filter the tests that are run. You only need to run the entire test suite prior to committing or during continuous integration.</p>
<p>Having said all of that I can recommend using memory tables if your database supports them. The operations are generally a lot faster as the database doesn&#8217;t need to write to disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/08/28/unit-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planet MicroISV</title>
		<link>http://buggy.id.au/2009/08/05/planet-microisv/</link>
		<comments>http://buggy.id.au/2009/08/05/planet-microisv/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 12:56:16 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[microisv]]></category>
		<category><![CDATA[planet-microisv.com]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=313</guid>
		<description><![CDATA[I was a big fan of Planet MicroISV. The site aggregated blogs from a number of MicroISV&#8217;s around the world. Unforunately it seemed to disappear in late April this year. Today I found the time to launch a new Planet MicroISV with a new URL (http://planet-microisv.com/). Luckily Google Reader allowed me to recover a number [...]]]></description>
			<content:encoded><![CDATA[<p>I was a big fan of Planet MicroISV. The site aggregated blogs from a number of MicroISV&#8217;s around the world. Unforunately it seemed to disappear in late April this year. Today I found the time to launch a new <a title="Planet MicroISV" href="http://www.planet-microisv.com/">Planet MicroISV</a> with a new URL (<a title="Planet MicroISV" href="http://planet-microisv.com/">http://planet-microisv.com/</a>). Luckily Google Reader allowed me to recover a number of feeds the old site aggregated.</p>
<p>If you want your blog added (or removed) then send me an email <a href="mailto:rich@buggy.id.au">rich@buggy.id.au</a></p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/08/05/planet-microisv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
