<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>AS Workshop</title>
	
	<link>http://www.arraystudio.com/as-workshop</link>
	<description>Explore possibilities</description>
	<pubDate>Thu, 23 Apr 2009 05:36:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/as-workshop" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>A tribute to designer’s pride</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/fRNOixhdYMQ/a-tribute-to-designers-pride.html</link>
		<comments>http://www.arraystudio.com/as-workshop/a-tribute-to-designers-pride.html#comments</comments>
		<pubDate>Thu, 23 Apr 2009 05:36:52 +0000</pubDate>
		<dc:creator>Predrag</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Resources and Links]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[business card]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[pride]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/?p=274</guid>
		<description><![CDATA[Well I am impressed!
I know sometimes I can be hard to listen when I am quite happy with what I&#8217;ve just created. But this guy is unreal - even after 25 years.  
See for yourself&#8230;

]]></description>
			<content:encoded><![CDATA[<p>Well I am impressed!</p>
<p>I know sometimes I can be hard to listen when I am quite happy with what I&#8217;ve just created. But this guy is unreal - even after 25 years. <img src='http://www.arraystudio.com/as-workshop/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>See for yourself&#8230;</p>
<p><object type="application/x-shockwave-flash" data="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=1907003&#038;fullscreen=1" width="480" height="360" ><param name="allowfullscreen" value="true"/><param name="wmode" value="transparent"/><param name="AllowScriptAccess" value="true"/><param name="movie" quality="best" value="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=1907003&#038;fullscreen=1"/><embed src="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=1907003&#038;fullscreen=1" type="application/x-shockwave-flash" wmode="transparent"  width="480" height="360"  allowScriptAccess="always"></embed></object></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=fRNOixhdYMQ:pT-6j8q71Ik:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=fRNOixhdYMQ:pT-6j8q71Ik:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=fRNOixhdYMQ:pT-6j8q71Ik:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=fRNOixhdYMQ:pT-6j8q71Ik:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/fRNOixhdYMQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/a-tribute-to-designers-pride.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/a-tribute-to-designers-pride.html</feedburner:origLink></item>
		<item>
		<title>Golden Ratio WordPress Theme</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/DBHiVBrvgsQ/golden-ratio-wordpress-theme.html</link>
		<comments>http://www.arraystudio.com/as-workshop/golden-ratio-wordpress-theme.html#comments</comments>
		<pubDate>Fri, 10 Apr 2009 14:18:57 +0000</pubDate>
		<dc:creator>Predrag</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Web]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[WordPress]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/?p=266</guid>
		<description><![CDATA[Many visitors of Array Studio Workshop were more then interested in the Golden Ratio post. Even though I promised more material about it, I couldn’t find enough time to conduct a research. Until now. I don’t intend to bother you with more theory, but rather to show you how to use it in practice.
Since we’re [...]]]></description>
			<content:encoded><![CDATA[<p>Many visitors of Array Studio Workshop were more then interested in the <a href="http://www.arraystudio.com/as-workshop/the-golden-ratio-equals-161803399-intro.html">Golden Ratio</a> post. Even though I promised more material about it, I couldn’t find enough time to conduct a research. Until now. I don’t intend to bother you with more theory, but rather to show you how to use it in practice.</p>
<p>Since we’re using WordPress regularly, we thought that creating a Wordpress theme based on Golden Ratio rule will have two pretty good points:</p>
<ul>
<li>We’ll have a theme just the way we want in Golden Ratio</li>
<li>We’ll present the actual way how you can use Golden Ration in design.</li>
</ul>
<p>We also wish all of you to participate with ideas and comments!</p>
<p>So, for start here are some written in stone rules we will keep in mind throughout the process.</p>
<h4>Golden rules for creation of Golden Ratio Wordpress Theme</h4>
<p><strong>Rule #1: Theme must be functional, practical &#038; user friendly</strong></p>
<p>This basically means that we’ll round some numbers, we’ll think about the most common ad spaces people use, we’ll make the font sizes readable, etc.</p>
<p><strong>Rule #2: Website shouldn’t be wider then 960 pixels.</strong></p>
<p>This one is pretty understandable - it is a safe width for most screens.</p>
<p><strong>Rule #3: Simple is good</strong></p>
<p>We’ll make the main theme as simple as possible, so it can be upgraded later.</p>
<h4>Let’s start!</h4>
<p>Here is our initial, rough-rough composite.</p>
<p><img style="border:none" src="http://www.arraystudio.com/as-workshop/wp-content/uploads/2009/04/golden-ratio.gif" alt="Golden Ratio WordPress - Composite" title="Golden Ratio WordPress - Composite" width="600" height="625" class="size-full wp-image-268" /></p>
<p>I personally enjoy <strong>3 column design</strong> for blogs, with the main column on the left hand side, and the 2 smaller ones on the right. In order to follow the Golden Ratio rule, two side columns should be in different width. However, nowadays <strong>you need at least 160 pixels for the far right column</strong> (since that is the place for adverts, and the 160 pixels is what we need). We also need some margin space on the left from that column. Let’s say 20 pixels will do.</p>
<h4>Now let’s do some math</h4>
<p>So, we have:</p>
<p>160+20 pixels =180 pixels (for the right hand sidebar plus spacing)</p>
<p>Now, let’s calculate the second sidebar:</p>
<p>180 x 1.618 = 291.24 pixels. We’ll round that up to 290 pixels.</p>
<p>We’ll take our 20 pixels back, so we’ll have <strong>270 pixels</strong> for the second sidebar.</p>
<p>Now it’s time for the main content.</p>
<p>290 x 1.618 = 469.22. Again, we’ll round it up to <strong>470 pixels</strong> for the main content.</p>
<p>This space is enough for the 468&#215;60 regular banner ad, which you might use as well.</p>
<p>However, when you calculate the sum, you’ll get:</p>
<p>160 + 20 + 270 + 20 + 470 = <strong>940px</strong></p>
<p>That’s absolutely fine, since we have 960 pixels defined as a safe maximum width. So, we’ll decrease the original value for 20 pixels.</p>
<p>So, by applying the Golden Rule, we have a 3-column WordPress theme with the: 470px column,  270px column and 160px column, by looking from left to right.</p>
<h4>What about the header &#038; footer?</h4>
<p>For the header at this stage, we used simple calculation. For the top part, where the logo and navigation bar should be, we took 100 pixels. Bottom part of the header is 160 pixels high.</p>
<p>For the footer divider, we’ll continue this array of numbers.</p>
<p>160 pixels x 1.618 = 258.88. We’ll use 260 pixels for the footer height.</p>
<h4>Conclusion</h4>
<p>Till now, we have defined the main sections. In my next post, I’ll deal with the font sizes. Your comments are more then welcome.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=DBHiVBrvgsQ:d_froVdRz7Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=DBHiVBrvgsQ:d_froVdRz7Y:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=DBHiVBrvgsQ:d_froVdRz7Y:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=DBHiVBrvgsQ:d_froVdRz7Y:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/DBHiVBrvgsQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/golden-ratio-wordpress-theme.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/golden-ratio-wordpress-theme.html</feedburner:origLink></item>
		<item>
		<title>Cross Browser Tell a Friend JavaScript</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/wsrwFcQVQpw/tell-a-friend-js-cross-browser.html</link>
		<comments>http://www.arraystudio.com/as-workshop/tell-a-friend-js-cross-browser.html#comments</comments>
		<pubDate>Wed, 08 Apr 2009 07:23:18 +0000</pubDate>
		<dc:creator>tomcanji</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[Cross Browser]]></category>

		<category><![CDATA[Tell a Friend Javascript]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/?p=199</guid>
		<description><![CDATA[Recently we had a client asking for a &#8220;tell a friend&#8221; JavaScript that works in all major web browsers.
Why not - how complicate can it be?  All I have to do is type something like this in google and I&#8217;ll have my &#8220;Tell a Friend&#8221; working on ie, ie6, firefox, safari in no time&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we had a client asking for a &#8220;tell a friend&#8221; JavaScript that works in all major web browsers.</p>
<p>Why not - how complicate can it be?  All I have to do is type something like this in <a href="http://www.google.com">google</a> and I&#8217;ll have my &#8220;Tell a Friend&#8221; working on ie, ie6, firefox, safari in no time&#8230;  Yeah right.</p>
<p>As you&#8217;ve might of guessed that was not the case.</p>
<p>Finally we found something that works so here it is</p>
<p><strong>Copy the js code blelow </strong></p>
<div class="codesnip-container" >&lt;SCRIPT TYPE=&quot;text/javascript&quot;&gt;</p>
<p>											var SubjectLine=&#39;Take a look at this web page I found, &#39;+top.document.title;<br />
											var BodyText=&#39;You can see this page at: &#39;+top.location.href;</p>
<p>											var Message=&#39;Send &lt;A CLASS=contact HREF=&quot;mailto:?SUBJECT=&#39;+escape(SubjectLine)+&#39;&amp;BODY=&#39;+escape(BodyText)+&#39;&quot; TITLE=&quot;Send your friends e-mail about this page&quot;&gt;this page&lt;\/A&gt; to a friend.&#39;;</p>
<p>						var MessageIE=&#39;Send &lt;A CLASS=contact HREF=&quot;mailto:?SUBJECT=&#39;+(SubjectLine)+&#39;&amp;BODY=&#39;+(BodyText)+&#39;&quot; TITLE=&quot;Send your friends e-mail about this page&quot;&gt;this page&lt;\/A&gt; to a friend.&#39;;</p>
<p>											if(document.all) { document.write(MessageIE); }</p>
<p>											else { document.write(Message); }</p>
<p>											&lt;/SCRIPT&gt;</p></div>
<p><strong>paste this code on the place you want your &#8220;Tell a Friend&#8221; link to appear </strong></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=wsrwFcQVQpw:wKIuGQRNCxA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=wsrwFcQVQpw:wKIuGQRNCxA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=wsrwFcQVQpw:wKIuGQRNCxA:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=wsrwFcQVQpw:wKIuGQRNCxA:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/wsrwFcQVQpw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/tell-a-friend-js-cross-browser.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/tell-a-friend-js-cross-browser.html</feedburner:origLink></item>
		<item>
		<title>We’re Back! Version 5.0 is live</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/gbb_sJZ16VA/we%e2%80%99re-back-version-50-is-live.html</link>
		<comments>http://www.arraystudio.com/as-workshop/we%e2%80%99re-back-version-50-is-live.html#comments</comments>
		<pubDate>Mon, 06 Apr 2009 14:56:06 +0000</pubDate>
		<dc:creator>Predrag</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[ArrayStudio News]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/?p=229</guid>
		<description><![CDATA[As you can see, we have finally redesigned our website. It took us about a year to do that. Well, to be honest, redesign was done some 300 days ago, but we just couldn’t find the time to integrate it. (Yeah, same story every time&#8230;)
Our site’s design is not the only thing changed in our [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.arraystudio.com/static/graphics/main-visual.jpg" alt="Array Studio v5.0" style="float:left; padding-right:20px;padding-bottom:10px; border:none;" />As you can see, we have finally redesigned our website. It took us about a year to do that. Well, to be honest, redesign was done some 300 days ago, but we just couldn’t find the time to integrate it. (Yeah, same story every time&#8230;)</p>
<p>Our site’s design is not the only thing changed in our company. If you check our <strong><a href="http://www.arraystudio.com/team.php">team</a></strong> page, you’ll see some news - Array Studio is no longer in back-end programming business. We leave that part to our partner companies, yet we are 100% focused on the creative part of the Web Development, like usability, front-end programming and of course - design itself. Our former co-founder, Slobodan, now has his <a href="http://orangeiceberg.com/">own company</a> now, and we wish him the very best.</p>
<p>So, to keep us busy, we have opened a print design section. You can see some of our works on our <strong><a href="http://www.arraystudio.com/portfolio.php">portfolio</a></strong> page. You’ll find our updated web design portfolio there as well.</p>
<p>That’s all for now. Hope you didn’t give up on reading our blog in the past 2 years. <img src='http://www.arraystudio.com/as-workshop/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=gbb_sJZ16VA:Miwyx5bYZws:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=gbb_sJZ16VA:Miwyx5bYZws:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=gbb_sJZ16VA:Miwyx5bYZws:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=gbb_sJZ16VA:Miwyx5bYZws:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/gbb_sJZ16VA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/we%e2%80%99re-back-version-50-is-live.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/we%e2%80%99re-back-version-50-is-live.html</feedburner:origLink></item>
		<item>
		<title>1280×800 Widescreen Wallpapers</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/GMMS2KjABI0/1280x800-widescreen-wallpapers.html</link>
		<comments>http://www.arraystudio.com/as-workshop/1280x800-widescreen-wallpapers.html#comments</comments>
		<pubDate>Mon, 26 Mar 2007 11:57:31 +0000</pubDate>
		<dc:creator>Predrag</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[1280x800 Wallpapers]]></category>

		<category><![CDATA[Wallpapers]]></category>

		<category><![CDATA[Widescreen Wallpapers]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/1280x800-widescreen-wallpapers.html</guid>
		<description><![CDATA[
In order to keep all our wallpapers in one place, we decided to create a separate page for all of them. So, if you wish to check them out, go to this page, or follow the link below.
Much more to come very soon!
View All 1280&#215;800 Widescreen Wallpapers
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.arraystudio.com/as-workshop/1280x800-widescreen-wallpapers"><img id="image105" title="1280x800 Widescreen Wallpapers for free" src="http://www.arraystudio.com/as-workshop/wp-content/uploads/2007/03/small_wallpapers.jpg" alt="small_wallpapers.jpg" /></a></p>
<p>In order to keep all our wallpapers in one place, we decided to create a separate page for all of them. So, if you wish to check them out, go to this <a href="http://www.arraystudio.com/as-workshop/1280x800-widescreen-wallpapers">page</a>, or follow the link below.</p>
<p>Much more to come very soon!</p>
<p><a href="http://www.arraystudio.com/as-workshop/1280x800-widescreen-wallpapers">View All 1280&#215;800 Widescreen Wallpapers</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=GMMS2KjABI0:TrEDQdLGIIc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=GMMS2KjABI0:TrEDQdLGIIc:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=GMMS2KjABI0:TrEDQdLGIIc:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=GMMS2KjABI0:TrEDQdLGIIc:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/GMMS2KjABI0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/1280x800-widescreen-wallpapers.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/1280x800-widescreen-wallpapers.html</feedburner:origLink></item>
		<item>
		<title>Rails Source Code Annotations</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/HQp-ncJ55ZQ/rails-source-code-annotations.html</link>
		<comments>http://www.arraystudio.com/as-workshop/rails-source-code-annotations.html#comments</comments>
		<pubDate>Sun, 04 Mar 2007 16:02:55 +0000</pubDate>
		<dc:creator>Slobodan Kovacevic</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Ruby & Rails]]></category>

		<category><![CDATA[Edge Rails]]></category>

		<category><![CDATA[Rails]]></category>

		<category><![CDATA[Rails Annotations]]></category>

		<category><![CDATA[Ruby Annotations]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/rails-source-code-annotations.html</guid>
		<description><![CDATA[I&#8217;ve been catching up on my blog reading and I&#8217;ve stumbled upon an article describing a great new feature in Edge Rails that lets you add annotations to your code. You can use TODO, OPTIMIZE and FIXME to mark parts of your code. Then you can use rake notes to list annotations - which is [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image98" style="float:left;margin-right:10px;" src="http://www.arraystudio.com/as-workshop/wp-content/uploads/2007/03/rails-logo-small.jpg" alt="Ruby On Rails" />I&#8217;ve been catching up on my blog reading and I&#8217;ve stumbled upon an <a href="http://ryandaigle.com/articles/2007/2/26/what-s-new-in-edge-rails-source-code-annotations">article describing a great new feature in Edge Rails</a> that lets you add annotations to your code. You can use TODO, OPTIMIZE and FIXME to mark parts of your code. Then you can use <strong>rake notes</strong> to list annotations - which is great since you won&#8217;t miss any of the notes you made.</p>
<p>The only problem is that this is still in only in Edge Rails, i.e. it&#8217;s not yet in stable Rails release. But there&#8217;s a really simple way to add source code annotations rake task to non-Edge Rails app:</p>
<pre>svn export http://svn.rubyonrails.org/rails/trunk/railties/lib/tasks/annotations.rake \\
 lib/tasks/annotations.rake</pre>
<p>For more information about <a href="http://ryandaigle.com/articles/2007/2/26/what-s-new-in-edge-rails-source-code-annotations">Rails source code annotations see Ryan&#8217;s blog</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=HQp-ncJ55ZQ:Hxn6OZ-oM8c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=HQp-ncJ55ZQ:Hxn6OZ-oM8c:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=HQp-ncJ55ZQ:Hxn6OZ-oM8c:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=HQp-ncJ55ZQ:Hxn6OZ-oM8c:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/HQp-ncJ55ZQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/rails-source-code-annotations.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/rails-source-code-annotations.html</feedburner:origLink></item>
		<item>
		<title>MySQL insert a new row or update old one</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/IvHHQ_8bLao/mysql-insert-a-new-row-or-update-old-one.html</link>
		<comments>http://www.arraystudio.com/as-workshop/mysql-insert-a-new-row-or-update-old-one.html#comments</comments>
		<pubDate>Fri, 16 Feb 2007 13:15:34 +0000</pubDate>
		<dc:creator>Slobodan Kovacevic</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Resources and Links]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[MySQL Insert Row]]></category>

		<category><![CDATA[MySQL Row Update]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/mysql-insert-a-new-row-or-update-old-one.html</guid>
		<description><![CDATA[Today I stumbled upon a newish MySQL feature that can often be very useful. Since MySQL 4.1 there&#8217;s a non-standard feature (i.e. it&#8217;s an extension of SQL standard and won&#8217;t work on other databases) that lets you insert a new row, but if it happens that a row with same primary/unique key already exists it [...]]]></description>
			<content:encoded><![CDATA[<p>Today I stumbled upon a newish MySQL feature that can often be very useful. Since MySQL 4.1 there&#8217;s a non-standard feature (i.e. it&#8217;s an extension of SQL standard and won&#8217;t work on other databases) that lets you insert a new row, but if it happens that a row with same primary/unique key already exists it will just update that row.</p>
<p>Insert query syntax looks like this:</p>
<div class="codesnip-container" >INSERT INTO table (primarykeycol,col1,col2) VALUES (1,2,3) ON DUPLICATE KEY UPDATE col1=0, col2=col2+1</div>
<p>If there is already a row with primarykeycol set to 1 this query is equal to:</p>
<pre>UPDATE table SET col1=0, col2=col2+1 WHERE primarykeycol = 1</pre>
<p>Ordinarily to achieve the same result you would have to issue an UPDATE query, then check if there were affected rows and if not issue an INSERT query. This way, you can do everything in one step - first try insert and then update if insert fails.</p>
<p>One situation for which this type of syntax is perfect is when you work with daily counters. For example, you might have a table with PostID, Date and Count columns. Each day you&#8217;d have to check if you already created an entry for that day and if so increase the count column - and this can be easily substituted with one INSERT &#8230; ON DUPLICATE KEY UPDATE query.</p>
<p>Unfortunately there are some caveats. One being that when you have multiple unique indexes it will act as if you had an OR condition in WHERE clause of UPDATE query. This means that multiple rows should be update, but INSERT &#8230; ON DUPLICATE KEY UPDATE will update only one row.</p>
<p>For more information you should read article in MySQL manual: <a href="http://dev.mysql.com/doc/refman/4.1/en/insert-on-duplicate.html">INSERT &#8230; ON DUPLICATE KEY UPDATE Syntax</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=IvHHQ_8bLao:ZjZ3uraewX8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=IvHHQ_8bLao:ZjZ3uraewX8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=IvHHQ_8bLao:ZjZ3uraewX8:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=IvHHQ_8bLao:ZjZ3uraewX8:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/IvHHQ_8bLao" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/mysql-insert-a-new-row-or-update-old-one.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/mysql-insert-a-new-row-or-update-old-one.html</feedburner:origLink></item>
		<item>
		<title>Free Web based color scheme creator</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/6s9LZsdyr_g/free-web-based-color-scheme-creator.html</link>
		<comments>http://www.arraystudio.com/as-workshop/free-web-based-color-scheme-creator.html#comments</comments>
		<pubDate>Sat, 03 Feb 2007 13:03:28 +0000</pubDate>
		<dc:creator>Predrag</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Resources and Links]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[Color Sheme]]></category>

		<category><![CDATA[Web Colors Match]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/free-web-based-color-scheme-creator.html</guid>
		<description><![CDATA[I simply enjoy this kind of stuff. Specially if client doesn&#8217;t have any specific color scheme request. This color cycle is easy to use and you can generate great color schemes, if you know where to click.

First, click on the buttons below the cycle and choose from (Mono, Contrast, Triad, Tetrad and Analogic). Then, play [...]]]></description>
			<content:encoded><![CDATA[<p>I simply enjoy this kind of stuff. Specially if client doesn&#8217;t have any specific color scheme request. This color cycle is easy to use and you can generate great color schemes, if you know where to click.</p>
<p><img id="image93" src="http://www.arraystudio.com/as-workshop/wp-content/uploads/2007/02/color_cycle.gif" alt="Color cycle" /></p>
<p>First, click on the buttons below the cycle and choose from (Mono, Contrast, Triad, Tetrad and Analogic). Then, play around with colors and see what you&#8217;ll get.  Use <strong>variations</strong> to set the colors perfectly. There is also a simple preview where you&#8217;ll be able to see how colors fit. I prefer dark and light pastels myself.</p>
<p>Here is the <a href="http://wellstyled.com/tools/colorscheme2/index-en.html">link to Color Scheme Creator</a>. Enjoy.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=6s9LZsdyr_g:RwaFQXFyQJk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=6s9LZsdyr_g:RwaFQXFyQJk:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=6s9LZsdyr_g:RwaFQXFyQJk:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=6s9LZsdyr_g:RwaFQXFyQJk:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/6s9LZsdyr_g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/free-web-based-color-scheme-creator.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/free-web-based-color-scheme-creator.html</feedburner:origLink></item>
		<item>
		<title>Niceforms 1.0 - final version</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/dQYxodn-tDE/niceforms-10-final-version.html</link>
		<comments>http://www.arraystudio.com/as-workshop/niceforms-10-final-version.html#comments</comments>
		<pubDate>Wed, 31 Jan 2007 15:59:00 +0000</pubDate>
		<dc:creator>Slobodan Kovacevic</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Resources and Links]]></category>

		<category><![CDATA[Fancy Forms]]></category>

		<category><![CDATA[Forms]]></category>

		<category><![CDATA[Styling Input Tags]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/niceforms-10-final-version.html</guid>
		<description><![CDATA[Over a year ago I wrote about an excellent script called Niceforms and little fix I wrote (see NiceForms with even nicer select). Now a final version has been released - Niceforms 1.0 which solves a lot of problems from previous version.
I still haven&#8217;t had chance to look at the new improvements but it seems [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image91" style="float:left;margin-right:10px;" src="http://www.arraystudio.com/as-workshop/wp-content/uploads/2007/01/niceforms10.png" alt="Niceforms 1.0" />Over a year ago I wrote about an excellent script called Niceforms and little fix I wrote (see <a href="http://www.arraystudio.com/as-workshop/niceforms-with-even-nicer-select.html">NiceForms with even nicer select</a>). Now a final version has been released - <a href="http://www.badboy.ro/articles/2007-01-30/niceforms/">Niceforms 1.0</a> which solves a lot of problems from previous version.</p>
<p>I still haven&#8217;t had chance to look at the new improvements but it seems that Niceforms now supports keyboard only navigation, scalable buttons, increased browser support, etc.</p>
<p>Unfortunately it still has some of <a href="http://www.arraystudio.com/as-workshop/niceforms-with-even-nicer-select.html">the problems I tried to fix</a> more than a year ago. Granted they tried to fix it, but it still has problems. For example, when you click on a select element if you move over some options and then move out it will immediately close the drop down. On the other hand if you open select element and don&#8217;t move over to any options (i.e. click on down arrow), but you move the mouse away from it - the select will remain open, which can again lead to strange effect where you can have a lot of open drop downs.</p>
<p>Perhaps that can be fixed in future versions - or at least I will try to make a patch for it.</p>
<p>If you want to <a href="http://www.badboy.ro/articles/2007-01-30/niceforms/">get Niceforms 1.0</a> you can from author&#8217;s site.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=dQYxodn-tDE:7Tnuqfrg1l4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=dQYxodn-tDE:7Tnuqfrg1l4:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=dQYxodn-tDE:7Tnuqfrg1l4:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=dQYxodn-tDE:7Tnuqfrg1l4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/dQYxodn-tDE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/niceforms-10-final-version.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/niceforms-10-final-version.html</feedburner:origLink></item>
		<item>
		<title>LocalizationSimplified</title>
		<link>http://feedproxy.google.com/~r/as-workshop/~3/XzJjvWc_9qM/localizationsimplified.html</link>
		<comments>http://www.arraystudio.com/as-workshop/localizationsimplified.html#comments</comments>
		<pubDate>Fri, 26 Jan 2007 11:29:24 +0000</pubDate>
		<dc:creator>Slobodan Kovacevic</dc:creator>
		<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/arraystudiocom/public_html/as-workshop/wp-content/plugins/autometa/autometa.php</b> on line <b>324</b><br />

		<category><![CDATA[Ruby & Rails]]></category>

		<category><![CDATA[Rails Language Localization]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.arraystudio.com/as-workshop/localizationsimplified.html</guid>
		<description><![CDATA[0]]></description>
			<content:encoded><![CDATA[<p>Rails is excellent in handling almost everything if you are building a site in English. Unfortunately, when it comes to localization (sites in other languages, UTF-8 support, etc.) Rails is not very well equipped to handle it.</p>
<p>There are localization plugins that make life easier, but most of them are rather complex, hard to use and have significant overhead (i.e. takes time to setup, learn, etc.). Fortunately, plugin called <a href="http://rubyforge.org/projects/l10n-simplified/">Localization Simplified</a> aims to simplify localization as much as possible:</p>
<blockquote><p>Fast and easy localization of one-language applications. Adds UTF-8 support for Ruby + database. Modifies ActiveRecord errors + html error helpers, Date/Time helpers, locale time formats, to_currency, to_sentence</p></blockquote>
<p>It&#8217;s easy to use mainly because it only overrides existing Rails methods, so you don&#8217;t have to do anything special to use it.</p>
<p><a href="http://rubyforge.org/projects/l10n-simplified/">Localization Simplified</a> is a great plugin which you can download from Ruby Forge.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/as-workshop?a=XzJjvWc_9qM:PXG6mnb09Ug:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=XzJjvWc_9qM:PXG6mnb09Ug:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=XzJjvWc_9qM:PXG6mnb09Ug:2mJPEYqXBVI"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=2mJPEYqXBVI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/as-workshop?a=XzJjvWc_9qM:PXG6mnb09Ug:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/as-workshop?d=dnMXMwOfBR0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/as-workshop/~4/XzJjvWc_9qM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arraystudio.com/as-workshop/localizationsimplified.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arraystudio.com/as-workshop/localizationsimplified.html</feedburner:origLink></item>
	</channel>
</rss>
