<?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>ae.hugeobject.com &#187; Open source</title>
	<atom:link href="http://ae.hugeobject.com/archive/category/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://ae.hugeobject.com</link>
	<description>Just another ae weblog</description>
	<lastBuildDate>Wed, 03 Feb 2010 13:59:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A reliable text editor</title>
		<link>http://ae.hugeobject.com/archive/a-reliable-text-editor/</link>
		<comments>http://ae.hugeobject.com/archive/a-reliable-text-editor/#comments</comments>
		<pubDate>Tue, 08 May 2007 22:43:37 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/a-reliable-text-editor/</guid>
		<description><![CDATA[
I was complaining to someone the other day about how most text editors fail to deal with large files. I was trying to edit a 8mb sql file and my default editors eclipse and cream (a vim extension) both couldn&#8217;t handle it. I then tried emacs and jEdit neither of which I particularly like. jEdit [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right"><a href='http://scribes.sourceforge.net/' title='scribes'><img src='http://ae.hugeobject.com/wp-content/uploads/2007/05/scribes.png' alt='scribes' /></a></div>
<p>I was complaining to someone the other day about how most text editors fail to deal with large files. I was trying to edit a 8mb sql file and my default editors eclipse and <a href="http://cream.sourceforge.net   ">cream</a> (a vim extension) both couldn&#8217;t handle it. I then tried emacs and <a href="http://www.jedit.org/">jEdit</a> neither of which I particularly like. jEdit at least opened the file. But the interface is clunky and on my system at least, wont go past 800&#215;600 screen real estate&#8230;.<span id="more-40"></span></p>
<p>In the end I made all the text edits to the sql file using <a href="http://www.grymoire.com/Unix/Sed.html#uh-0">sed</a> which is a handy (and quick) command line tool. But I was still disturbed&#8230;.</p>
<p>Anyway, I read a blog post somewhere that said <a href="http://scribes.sourceforge.net/">scribes</a> was the go. So I installed it and gave it a whirl on my latest sql file which was 38mb. </p>
<p>It took a few seconds to open, but it DID open and the first thing you notice is that (for gnome users at least) it looks like a gnome editor (unlike jEdit which screams &#8220;<em>I was made in the 90&#8217;s in java</em>&#8220;).</p>
<p>The template system is also very cool. It reminds me a little of swanky Mac people and their TextMate. Rather than me trying to describe it go <a href="http://scribes.sourceforge.net/demo.htm">here</a> and look at the example video. Which also shows the bookmark feature which is cool. Check out its other features <a href="http://scribes.sourceforge.net/features.html">here</a>. Oh and its open source too&#8230;of course.</p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/a-reliable-text-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASForms released unto the unwary masses</title>
		<link>http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/</link>
		<comments>http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/#comments</comments>
		<pubDate>Wed, 19 Apr 2006 14:53:49 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/</guid>
		<description><![CDATA[
ASForms is a very lightweight Actionscript component set. They are basically very similar to forms in HTML, but done in flash. (You know, radio buttons, checkboxes &#8211; that kind of thing). This release is fairly stable yet lacks accessibility and the button class which I&#8217;m still tweaking. The code examples give a basic indication of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ae.hugeobject.com/code/asforms/asforms/" title="ASForms"><img  border="0" alt="ASForms" id="image19" title="ASForms" src="http://ae.hugeobject.com/wp-content/uploads/2006/04/ASForms.jpg" /></a></p>
<p>ASForms is a very lightweight Actionscript component set. They are basically very similar to forms in HTML, but done in flash. (You know, radio buttons, checkboxes &#8211; that kind of thing). This release is fairly stable yet lacks accessibility and the button class which I&#8217;m still tweaking. The code examples give a basic indication of how it all works and I&#8217;ll make an effort to fill in some of the commenting holes over the next couple of weeks.
</p>
<p>The code is released under the <del datetime="2006-04-26T01:51:43+00:00">GPL</del> <a href="http://www.opensource.org/licenses/mit-license.php" title="MIT">MIT</a> and was developed with <a href="http://www.mtasc.org">MTASC</a> strict in a <a href="http://osflash.org/AMES/">AMES</a> dev environment. &nbsp;</p>
<p><a href="http://ae.hugeobject.com/code/asforms/" title="ASForms">Check it out here.</a></p>
<p><!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">technorati tags: <a href="http://technorati.com/tag/Flash" rel="tag">Flash</a>, <a href="http://technorati.com/tag/ASForms" rel="tag">ASForms</a>, <a href="http://technorati.com/tag/Components" rel="tag">Components</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/asforms-released-unto-the-unwary-masses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source Flash RIA development &#8211; case study</title>
		<link>http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/</link>
		<comments>http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 02:57:31 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/</guid>
		<description><![CDATA[
Summary:
After swapping to an open Source flash solution for a RIA, the following advantages were achieved:

saved over 110 working hours in compile time (that&#8217;s crazy stuff!!!)
integrated into the overall dotnet web application a million times better
less bugs, tighter code, better code
better development environment


technorati tags: Flash, FAMES, AMES, Open source


Last year I was working for the [...]]]></description>
			<content:encoded><![CDATA[<p><a title="placeAd.jpg" href="http://flickr.com/photos/61396654@N00/119618221"><img alt="placeAd.jpg" src="http://static.flickr.com/46/119618221_41b77ac285_m.jpg" /></a><br />
Summary:</p>
<p>After swapping to an open Source flash solution for a RIA, the following advantages were achieved:</p>
<ul>
<li>saved over 110 working hours in compile time (that&#8217;s crazy stuff!!!)</li>
<li>integrated into the overall dotnet web application a million times better</li>
<li>less bugs, tighter code, better code</li>
<li>better development environment</li>
</ul>
<p><!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags: <a rel="tag" href="http://technorati.com/tag/Flash">Flash</a>, <a rel="tag" href="http://technorati.com/tag/FAMES">FAMES</a>, <a rel="tag" href="http://technorati.com/tag/AMES">AMES</a>, <a rel="tag" href="http://technorati.com/tag/Open%20source">Open source</a></p>
<p><!-- technorati tags end --></p>
<p><span id="more-12"></span></p>
<p>Last year I was working for the <strong>Trading Post</strong> with a group of five flash developers. The <strong>Trading Post</strong> is similar to <strong>ebay</strong> in design but has the bonus of reproducing its ads in print around Australia (The print version is very popular). In other words, when you place an ad on Trading Post you can choose whether it goes online only or online and in the Trading Post print versions.</p>
<p>We were rebuilding a flash application that allowed people to create ads. The flash RIA was called <strong>PlaceAd</strong> and was a small part of the whole Trading Post rebuild. The rest of the website was also being recoded (C# dotnet). The dotnet team were using <a target="_blank" title="NANT" href="http://nant.sourceforge.net/">NANT</a> (a dotnet version of ant) to build their application and because of the nature of the Flash IDE we were providing pre-compiled swfs for the build. This meant that the build never truly represented the latest flash codebase. It also created an annoying task for us in the flash team to keep on top of what swf was in the build process. Basically in a fully automated process, Flash was the only thing not automated.</p>
<p>The Flash team was full of some very competent people including <a target="_blank" title="Dan Webb" href="http://www.danwebb.net/">Dan Webb</a> (that <a target="_blank" title="Suckerfish" href="http://www.htmldog.com/articles/suckerfish/dropdowns/">suckerfish</a> guy), <a target="_blank" title="Futuretrack5" href="http://www.futuretrack5.com">Dave Rosen</a> (that <a target="_blank" title="Xhtmlised" href="http://www.xhtmlised.com/">xhtmlised</a> guy), David Wyss (a very cluey java programmer) and Nivantha (UI king). We started developing the application with the Flash IDE as normal. However, about a month into the project, the lead flash programmer left and I was put in his place.</p>
<p>The first thing I did as lead programmer was provide a use case for swapping to the <a target="_blank" title="FAMES" href="http://www.osflash.org/fames">FAMES</a> open source flash development environment. <em>(Note: Don&#8217;t use FAMES anymore, use <a target="_blank" title="AMES" href="http://www.osflash.org/ames">AMES).</a></em> It took one whole day to convert the code base over into the new environment. However the bulk of this work was fixing bugs which the Flash IDE didn&#8217;t seem to worry about. <a target="_blank" title="MTASC" href="http://www.mtasc.org/">MTASC</a> wasn&#8217;t as forgiving <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I was confident that using FAMES would save us time and that by using MTASC we would get cleaner code however the big selling point was that we could now integrate PlaceAd into the automatic NANT builds. This meant that when the NANT build was run it would grab the latest flash class files and compile them with MTASC as part of the build. It felt a bit like all of a sudden Flash was now a <em>serious</em> development tool. (<a title="Email me" href="mailto:ae@hugeobject.com">Email me</a> for a copy of the NANT files to build swfs.)</p>
<p>So, after convincing management we got the go ahead to install Eclipse and FAMES on the development machines. The other Flash devs were a little wary about such a rash move but when they first compiled the PlaceAd swf in FAMES they were instantly converted. PlaceAd is a big app with lots of classes and business logic. With the Flash IDE it took <strong>approximately 20 seconds to compile</strong> (on beefy machines). With MTASC it took <strong>two seconds</strong>!!!!!!!!!!!!!!!!</p>
<p><strong>What does this convert to?:</strong></p>
<p><strong>Four developers, 90 classes, 26 weeks, five days a week, eight hours a day, five times an hour = PlaceAd is compiled 20,800 times (approximately).</strong></p>
<p><strong>At 20 seconds per compile that equals 115 hours waiting with the Flash IDE.</strong></p>
<p><strong>At 2 seconds per compile that equals 11 hours with FAMES.</strong></p>
<p><strong>104 hours saved (That&#8217;s over two and a half working weeks).</strong></p>
<p>Apart from the <em>gigantic</em> savings in speed, using FAMES provided a better, more stable PlaceAd. MTASC enforces better code logic and is critical of ambiguous code. The logging provided with FAMES is far superior to the Flash IDE. We were able to tag traces as <em>Error,</em> <em>Fatal,</em> <em>Info</em> etc. This makes debugging a huge application with five developers a hell of a lot easier. And of course using Eclipse is far better than using the Flash IDE (but that wouldn&#8217;t be hard). The compare function in Eclipse is so useful when developing in a team environment. We were able to compare a class file against local versions, checked in versions, older versions in SourceSafe to quickly identify what code had changed.</p>
<p>One of the requirements for PlaceAd was to adhere to fairly strict code guidelines. Dave the java guru hacked JavaDoc to make a application that would parse every line of code in every class and made a note if it did not meet coding guidelines. It even provided a ranking system so we could see which class (and class author) was the worst offending. It also checked to see if a function was being used and if it wasn&#8217;t it was commented as such and a report made so we could trim the unused classes where necessary. Of course it also provided a complete overview (in html) of the RIA in AsDoc style. Again &#8211; all of this was WITHIN the development environment, Eclipse.<br />
Although I have moved on from Trading Post (It was a contract job) they are still using OS Flash and have smartly switched to <a target="_blank" title="Subversion" href="http://subversion.tigris.org/">Subversion</a> instead of SourceSafe.  For those Flash developers still toying with the Flash IDE, you really need to consider <em>switching.</em> Its such a superior and professional way to program Flash that once you try it out over an extended period of time you will never go back. Having said that, I would differentiate between Flash programmers and Flash animators at this point. Animators should probably stick with the Flash IDE. To learn more about Open Source Flash check out <a target="_blank" title="Open Source Flash" href="http://osflash.org/">http://osflash.org/</a></p>
<p><strong>Notes:</strong></p>
<p>PlaceAd is alive and functioning. Check it out by going here: <a target="_blank" title="Trading Post" href="http://www.tradingpost.com.au/">http://www.tradingpost.com.au/</a> and clicking on the PlaceAd link. <strong>NOTE</strong>: <em>because of some dodgy javascript code, it seems that the only way to access PlaceAd from firefox is by following this method: (I no longer work at tradingpost and neither myself or the flash team are responsible for such dodginess <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</em></p>
<ol>
<li>Go to  <a target="_blank" title="Trading Post" href="https://www.tradingpost.com.au/MyTradingPost/MyTradingPost.aspx">https://www.tradingpost.com.au/MyTradingPost/MyTradingPost.aspx</a></li>
<li>Click on <strong>PlaceAd </strong></li>
</ol>
<p>I did not have influence over the interface design for PlaceAd. I find that its not intuitive and that a richer user experience could have been included. <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PlaceAd was developed last year. FAMES is no longer the best option for Flash development. Instead I use and encourage other Flash developers to use <a target="_blank" title="AMES" href="http://www.osflash.org/ames/">AMES.</a></p>
<p>One of the biggest headaches with PlaceAd was using the Macromedia components. They are buggy and bloated. There is a <a title="OS Components" href="http://osflash.org/components">list of open source components here</a> and I have recently created some open source components as well which are very lightweight and skinnable <a title="as-forms" href="http://ae.hugeobject.com/archive/as-forms/">(here).</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/a-practical-example-of-how-os-flash-beats-macromediaadobe-ide/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Open Source Flash presentation (files inc)</title>
		<link>http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/</link>
		<comments>http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 03:42:52 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/</guid>
		<description><![CDATA[Last December I gave a talk at OSDC on how Open Source Flash development is a million times better than using the Macromedia/Adobe IDE. I said I would upload the files etc. So at last (!) here they are:

The presentation swf &#8211; made from OS Flash of course (AMES). You will need to click on [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" title="OSFlash presentation" id="image15" alt="OSFlash presentation" src="http://ae.hugeobject.com/wp-content/uploads/2006/04/osFlash.gif" />Last December I gave a talk at OSDC on how Open Source Flash development is a million times better than using the Macromedia/Adobe IDE. I said I would upload the files etc. So at last (!) here they are:</p>
<ul>
<li>The <a title="Swf" target="_blank" href="http://ae.hugeobject.com/projects/osflash/build/OSFlash.swf">presentation swf</a> &#8211; made from OS Flash of course (AMES). You will need to click on the swf to make it active, then use left, right arrows to navigate (or spacebar).</li>
<li>The <a title="code" href="http://ae.hugeobject.com/projects/osflash/OSFlash.zip">code</a> that made the swf, raw and loosely commented (I was in a rush back then <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</li>
</ul>
<p style="font-size: 10px; text-align: right">technorati tags: <a rel="tag" href="http://technorati.com/tag/Open%20source">Open source</a>, <a rel="tag" href="http://technorati.com/tag/flash">flash</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/open-source-flash-presentation-files-inc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash components &#8211; As Forms</title>
		<link>http://ae.hugeobject.com/archive/as-forms/</link>
		<comments>http://ae.hugeobject.com/archive/as-forms/#comments</comments>
		<pubDate>Wed, 15 Mar 2006 12:07:20 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/as-forms/</guid>
		<description><![CDATA[Anyone who has done any serious flash development has worked out that the macromedia components are bloated and buggy. There are some really decent open source alternatives out there but in general they didn&#8217;t suit me for a project I was about to start. Check here for an open source component list.
The project was basically [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who has done any serious flash development has worked out that the macromedia components are bloated and buggy. There are some really decent open source alternatives out there but in general they didn&#8217;t suit me for a project I was about to start. <a title="OS Flash components" href="http://osflash.org/components">Check here for an open source component list.</a></p>
<p>The project was basically a online registration form- the app had to capture data, process some of it then post it to a server. For something like this a full blown component framework was overkill. And because of the older userbase the components had to look very similar to existing html components so that there would be no confusion (hopefully <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>My requirements were:</p>
<p>- they had to look like established user interface components (a radio button had to look like a html radio button).</p>
<p>- they had to be very small in size (anything over 40k was way too big)</p>
<p>- they had to be as fast as using a browsers components (that is, they draw with no lag whatsoever)</p>
<p>- they needed to be skinnable (in regards to colours and size mainly)</p>
<p>- they had to respond to events and be easily redrawn</p>
<p>Although all of the open source flash alternatives were of a high quality they just didn&#8217;t quite fit my requirements.</p>
<p>So, I set about creating my own.  Below you will find an example of what I have temporarily called As Forms (until I can think of a snappier name).<br />
<span id="more-8"></span></p>
<p>They are small in size &#8211; the movie below is only 12k.<br />
Its super simple to change the colours, size and fonts. However changing the shape requires getting your hands dirty in the core code. For example if you dont like the arrow in the combobox then you will need to edit the draw code for it.<br />
They are really snappy which I&#8217;m really happy with. The reason I think they are snappy is because of the hard coded shapes. By limiting how much you can change, you gain speed improvements.  They are also quite independent in terms of kb size. For example the movie below with all components in it is 12k, a movie with only the radio buttons is 4k.  With macromedia just the radio buttons comes in at 90k last time I tried <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>These components are designed for people who just want quick and easy components &#8211; rather than the more full blown one. Over the coming week I will tidy up the code and release it under the GPL. They are already being used in production without any issues, but I&#8217;d hate to release something without tidying up my abusive comments in code <img src='http://ae.hugeobject.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Here is an example of the flash forms. When you click the submit button (which isn&#8217;t apart of AS Forms) it will email me your response</p>
<p>[kml_flashembed movie="/flashForms/FormExamples.swf" height="650" width="333" /]<!-- technorati tags begin --></p>
<p style="font-size: 10px; text-align: right">technorati tags: <a rel="tag" href="http://technorati.com/tag/flash%20components">flash components</a>, <a rel="tag" href="http://technorati.com/tag/open%20source">open source</a>, <a rel="tag" href="http://technorati.com/tag/flash">flash</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/as-forms/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Open Source Flash presentation at OSDC Australia</title>
		<link>http://ae.hugeobject.com/archive/open-source-flash-presentation-at-osdc-australia/</link>
		<comments>http://ae.hugeobject.com/archive/open-source-flash-presentation-at-osdc-australia/#comments</comments>
		<pubDate>Sun, 04 Dec 2005 00:59:59 +0000</pubDate>
		<dc:creator>ae</dc:creator>
				<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://ae.hugeobject.com/archive/open-source-flash-presentation-at-osdc-australia/</guid>
		<description><![CDATA[Well I gave my presentation today on open source flash. Overall I think it went pretty well. The audience was a lot more tech savvy then I originally expected so the talk was perhaps dummed down a little too much. The main message of the presentation was that open source flash is superior to Macromedia [...]]]></description>
			<content:encoded><![CDATA[<p>Well I gave my presentation today on open source flash. Overall I think it went pretty well. The audience was a lot more tech savvy then I originally expected so the talk was perhaps dummed down a little too much. The main message of the presentation was that open source flash is superior to Macromedia Flash for any serious RIA. I made the presentation using open source flash, so I will post here with the file and a link to the presentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://ae.hugeobject.com/archive/open-source-flash-presentation-at-osdc-australia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
