<?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>agit8.org &#187; Web development</title>
	<atom:link href="http://www.agit8.org/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.agit8.org</link>
	<description>Musings about technology</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:49:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Don&#8217;t update your Apache through Webmin</title>
		<link>http://www.agit8.org/2011/12/10/dont-update-your-apache-through-webmin/</link>
		<comments>http://www.agit8.org/2011/12/10/dont-update-your-apache-through-webmin/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 07:41:29 +0000</pubDate>
		<dc:creator>johannes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[modules]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.agit8.org/?p=343</guid>
		<description><![CDATA[This morning while logged on inside the webmin interface, I saw that there were 10 packages to update. Without much thought, I just hit the &#8220;update packages&#8221; button and it went on its merry way. Unfortunately, the consequence was not &#8230; <a href="http://www.agit8.org/2011/12/10/dont-update-your-apache-through-webmin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This morning while logged on inside the webmin interface, I saw that there were 10 packages to update. Without much thought, I just hit the &#8220;update packages&#8221; button and it went on its merry way. Unfortunately, the consequence was not very merry for me and my server, as when the updates were completed Apache would not start, complaining of a problem with mod-apache2-lib-php5.</p>
<p>After much searching and talking to my friend Google, I found that the problem was caused by what is probably a bug with the way Webmin applies the updates. For some reason, the update process removed mod-apache2-lib-php5 so that it became disabled. If you enable the module, you will encounter the same error that I did. The way to fix this module is to reinstall it using aptitude install command such as outlined <a href="http://ubuntuforums.org/showthread.php?t=1439483&amp;highlight=apache2+php+problem">here</a></p>
<p>Next time, I will just fire up the shell and do it the old fashioned way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agit8.org/2011/12/10/dont-update-your-apache-through-webmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoiding conflict between jQuery and Spry frameworks</title>
		<link>http://www.agit8.org/2010/12/16/avoiding-conflict-between-jquery-and-spry-frameworks/</link>
		<comments>http://www.agit8.org/2010/12/16/avoiding-conflict-between-jquery-and-spry-frameworks/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 08:00:13 +0000</pubDate>
		<dc:creator>johannes</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[jquery development web html javascript]]></category>

		<guid isPermaLink="false">http://www.agit8.org/?p=254</guid>
		<description><![CDATA[I spent all day working on a site design and I came across a particularly annoying situation which made me take a break and a deep breath. In the design, I am using  jQuery to perform some JavaScript tasks like &#8230; <a href="http://www.agit8.org/2010/12/16/avoiding-conflict-between-jquery-and-spry-frameworks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent all day working on a site design and I came across a particularly annoying situation which made me take a break and a deep breath. In the design, I am using  jQuery to perform some JavaScript tasks like rounding off corners of divs, etc and Spry to format menus and to create accordions, etc.</p>
<p>I know that it might be a good idea to do all the tasks using  jQuery, but due to the tight deadline I did not want to have to learn anything new. I remember doing this successfully in another design that I did almost a year ago, so off I went to my project archives.</p>
<p>As it turned out, I found that the best way to do it is the one discussed in this <a href="http://www.honeytechblog.com/resolve-issues-jquery-lightbox-prototype-libraries/">article</a>. Basically, you can override the $ function and replace it with &#8220;jQuery&#8221; or you can reassign jQuery to a variable as in <span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">var $t = jQuery.noConflict();</span> and then call the variable in the function, such as &#8220;<span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; line-height: 18px; font-size: 12px; white-space: pre;">$j(document).ready(function(){&#8230;&#8221;.</span></p>
<p>Hope you will have better luck than me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agit8.org/2010/12/16/avoiding-conflict-between-jquery-and-spry-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aptana under Ubuntu 9.04</title>
		<link>http://www.agit8.org/2009/06/24/aptana-under-ubuntu-904/</link>
		<comments>http://www.agit8.org/2009/06/24/aptana-under-ubuntu-904/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 14:08:17 +0000</pubDate>
		<dc:creator>johannes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notebooks]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[2133]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[jackalope]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.agit8.org/?p=148</guid>
		<description><![CDATA[Everybody has a favourite HTML editor on a platform, but does anyone have a favourite on ALL platforms? Well at least on the personal computing platform, that is. Well, I must tell you that my favourite HTML editor has been &#8230; <a href="http://www.agit8.org/2009/06/24/aptana-under-ubuntu-904/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Everybody has a favourite HTML editor on a platform, but does anyone have a favourite on ALL platforms? Well at least on the personal computing platform, that is. Well, I must tell you that my favourite HTML editor has been <a title="aptana" href="http://www.aptana.com">Aptana</a>, which has served me well since I stopped using Dreamweaver exclusively. For me the major attraction of Aptana is its cross-platform nature. I can start work on my Windows laptop, then continue it on my MacBook and then finish it off on my tiny little Linux laptop the HP 2133 Mini note.</p>
<p>At the completion of my install of Jaunty Jackalope (Ubuntu 9.04) on my netbook, I found that Aptana just would not load. It would show the logo for a couple of seconds then it would just come up with an error. After scratching my head for a little while, I tried to look up an answer on Google and I found <a href="http://forums.aptana.com/viewtopic.php?f=37&amp;t=8463&amp;p=31327">this</a> thread on the Aptana user forum.</p>
<p>So basically, the issue is the version of xulrunner that Jaunty comes with. Currently it is version 1.9, while Aptana needs version 1.8. To fix this issue you need to download xulrunner 1.8 and unzip it to /usr/lib, so its path would be something like /usr/lib/xulrunner/. Then you create a script which looks like this:</p>
<p>#!/bin/sh<br />
MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1.3<br />
if [ $LD_LIBRARY_PATH ]; then<br />
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH<br />
else<br />
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME<br />
fi<br />
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH<br />
~/aptana/AptanaStudio -vm /usr/lib/jvm/ia32-java-6-sun/jre/bin/java</p>
<p>Make the script executable and then on your panel add an application shortcut to point to this script file, mine is called &#8220;aptanastart&#8221;. Oh, and you need to have Java installed, since Aptana requires it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agit8.org/2009/06/24/aptana-under-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Spry: the seemingly broken view of a page</title>
		<link>http://www.agit8.org/2009/05/31/adobe-spry-the-seemingly-broken-view-of-a-page/</link>
		<comments>http://www.agit8.org/2009/05/31/adobe-spry-the-seemingly-broken-view-of-a-page/#comments</comments>
		<pubDate>Sat, 30 May 2009 15:41:37 +0000</pubDate>
		<dc:creator>johannes</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://www.agit8.org/?p=131</guid>
		<description><![CDATA[Adobe Spry paged view woes. Update your SpryData.js file to the latest version. <a href="http://www.agit8.org/2009/05/31/adobe-spry-the-seemingly-broken-view-of-a-page/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In my experimentation to build a question and answer system using adobe spry, I tried to create a view of the data set in which only one question is visible at at time. The code seems pretty straightforward, as the Adobe Spry 1.6.1 documentation outlines under the section dealing with Pagedview. However, when I tested it I get either &#8220;no data in the data set error (or something like that)&#8221; or a blank page. Try as I might, looking at all the different possibilities, looking at any possible oversight in my code, I could not figure out what was wrong.</p>
<p>The solution, however simple, took me about a day to find out. It seems that the SpryData.js that Dreamweaver CS3 shipped with is an older version, so while I was actually doing things correctly using the documentation of Spry 1.6.1 and the SpryPagedView.js from the 1.6.1 package, it was the SpryData.js that somehow broke it all. So if you are trying to create a paged view of a data set using Adobe Spry, make sure you update the SpryData.js to the one that comes with the 1.6.1 package from Adobe Labs. This way at least you will end up with more hair on your head.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.agit8.org/2009/05/31/adobe-spry-the-seemingly-broken-view-of-a-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

