<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>dekumasign</title>
	<atom:link href="http://dekumasign.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dekumasign.wordpress.com</link>
	<description>standing on the shoulder of the greats</description>
	<lastBuildDate>Wed, 13 Oct 2010 16:52:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dekumasign.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>dekumasign</title>
		<link>http://dekumasign.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dekumasign.wordpress.com/osd.xml" title="dekumasign" />
	<atom:link rel='hub' href='http://dekumasign.wordpress.com/?pushpress=hub'/>
		<item>
		<title>jQuery foundamentals</title>
		<link>http://dekumasign.wordpress.com/2010/10/14/jquery-foundamentals/</link>
		<comments>http://dekumasign.wordpress.com/2010/10/14/jquery-foundamentals/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 16:52:11 +0000</pubDate>
		<dc:creator>galearii</dc:creator>
				<category><![CDATA[book notes]]></category>
		<category><![CDATA[jquery in action 2]]></category>

		<guid isPermaLink="false">http://dekumasign.wordpress.com/?p=45</guid>
		<description><![CDATA[Selector Selector in jQuery works very much the same as that of CSS in regards of what you should type to select an element. In CSS, if a p a means selecting the element(s) under the element. In jQuery, issuing the statement $("p a") has the same effect as that of CSS. The syntax $( [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=45&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Selector</h2>
<p>Selector in jQuery works very much the same as that of CSS in regards of what you should type to select an element. In CSS, if a <code>p a</code> means selecting the <a> element(s) under the
<p> element. In jQuery, issuing the statement</p>
<p><code>$("p a")</code></p>
<p>has the same effect as that of CSS.</p>
<p>The syntax <code>$( )</code> is an alias for the <code>jQuery( )</code> function and acts to make a function call to jQuery core that will return a special JavaScript object containing an array of DOM elements, in the order in which they are defined within the document, that match the selector. <code>$( )</code> comes with a huge set of methods that can be applied on the selected elements.</p>
<p>This kind of construct is called a <em>wrapper</em> because it wraps a set of elements and provides further functions. In jQuery, a wrapper is referred as <em>jQuery wrapper</em> or a <em>wrapped set</em>, and the methods associated with the wrapper function are called the <em>wrapper methods</em>.</p>
<p>There are some characteristics of jQuery wrappers:</p>
<ul>
<li>Most wrapper methods return the same set of elements that they have operated on for further operations. E.g. <code>$("div.dummy").hide();</code> returns all found <code>
<div></code> elements classed &#8220;dummy&#8221; for further manipulation after jQuery has <code>hide();</code> them.</li>
<li>The fact that a wrapper method normally returns the same set of elements for further operations means that a jQuery user can append methods endlessly to the same jQuery wrapper (i.e. a <code>$("div.something")</code>) to apply endless operations. This kind of function call is dubbed a <em>jQuery chain</em>. E.g. <code>$("div.dummy").hide().addClass("removed");</code></li>
<li>Although referenced as <code>$("div.dummy")</code>, a jQuery wrapper is still essentially a JavaScript object (a highly sophisticated one) and therefore can be treated as an array when necessary. E.g. the followings have the same effect:<br />
  <code>$("#someElement").html("Text here");</code><br />
  <code>$("#someElement")[0].innerHTML = "Text here";</code></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dekumasign.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dekumasign.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dekumasign.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dekumasign.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dekumasign.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dekumasign.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dekumasign.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dekumasign.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dekumasign.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dekumasign.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dekumasign.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dekumasign.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dekumasign.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dekumasign.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=45&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dekumasign.wordpress.com/2010/10/14/jquery-foundamentals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccfccdcfd1a70af1d3d6595cb586bce2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">galearii</media:title>
		</media:content>
	</item>
		<item>
		<title>Paths in Photoshop</title>
		<link>http://dekumasign.wordpress.com/2010/09/24/paths-in-photoshop/</link>
		<comments>http://dekumasign.wordpress.com/2010/09/24/paths-in-photoshop/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 12:45:36 +0000</pubDate>
		<dc:creator>galearii</dc:creator>
				<category><![CDATA[book notes]]></category>
		<category><![CDATA[mastering photoshop for web design]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://dekumasign.wordpress.com/?p=29</guid>
		<description><![CDATA[The Pen tool The Rubber Band option The Rubber Band option is located in the drop-down menu next to the Custom Shape Tool button in the property bar of the Pen tool. Enabling this options allows you to have a preview of how your paths look like before clicking to position the anchor. Spring-loaded tools [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=29&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>The Pen tool</h2>
<h3>The Rubber Band option</h3>
<p><a href="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_202906.jpg"><img class="alignnone size-full wp-image-31" title="The Rubber Band option" src="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_202906.jpg?w=497" alt="Photoshop Rubber Band option"   /></a><br />
The Rubber Band option is located in the drop-down menu next to the Custom Shape Tool button in the property bar of the Pen tool. Enabling this options allows you to have a preview of how your paths look like before clicking to position the anchor.<br />
<a href="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_204100.jpg"><img class="alignnone size-medium wp-image-32" title="Pen with Rubber Band setting on" src="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_204100.jpg?w=300&#038;h=190" alt="Photoshop Pen tool in action with Rubber Band setting on" width="300" height="190" /></a></p>
<h3>Spring-loaded tools</h3>
<p>Spring-loaded tools are hidden from the surface of the Pen tool and are activated through key combination. The combinations are:</p>
<table>
<tbody>
<tr>
<th>Tools</th>
<th>Combination</th>
</tr>
<tr>
<td>Convert to Point</td>
<td>Alt while hovering over an anchor point</td>
</tr>
<tr>
<td>Direct Selection</td>
<td>Control + clicking the path</td>
</tr>
<tr>
<td>Path Selection</td>
<td>Control + Alt + clicking the path</td>
</tr>
<tr>
<td>Group Selection</td>
<td>Control + Alt while hovering over a path segment or anchor point</td>
</tr>
</tbody>
</table>
<h2>The Shape tool</h2>
<p><a href="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_211015.jpg"><img src="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_211015.jpg?w=497" alt="Photoshop advanced Shape tool options" title="Advanced Shape tool options"   class="alignnone size-full wp-image-38" /></a><br />
The hidden advanced options of the Shape tool (U) can be activated by clicking the down arrow to the right of the Custom Shape tool. If you would like pixel-perfect result of a drawn shape, you should tick the Snap to Pixels option.</p>
<h2>The Type tool</h2>
<p>Photoshop doesn&#8217;t allow as much transformation option on type then path and raster images (there is no distort or perspective transformation options for type). Rasterizing type means possible loss of quality, which makes it really handy to convert type to shape for transformation.<br />
<a href="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_230103.jpg"><img src="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_230103.jpg?w=217&#038;h=300" alt="Photoshop converting type to different things" title="Converting type to different things" width="217" height="300" class="alignnone size-medium wp-image-41" /></a><br />
To convert type into paths, right-click on the type layer and select &#8220;Convert Type to Shape.&#8221; Alternatively, you can convert type into a &#8220;work path,&#8221; which produces a new path of the shape of type. Making &#8220;work path&#8221; also works on normal raster shapes; however, it is achieved by first making a selection of the raster shape and then convert that selection into a work path.</p>
<h2>Vector mask</h2>
<p>A vector mask is basically the same as a raster mask, except that it retains the easy-to-shape nature of a path. To add a vector mask, it&#8217;s very much like adding a raster mask (have a selection, select the layer to mask, and click Add Layer Mask). The actual procedure goes like this: select the path, select the layer to mask, and <strong>Ctrl + click</strong> the Add Layer Mask function.</p>
<h2>Type paths</h2>
<p>To run text along a path, first draw the path, and then with the Type tool selected, click on the path and start typing. The path can later be further manipulated, and the start point (indicated by an &#8220;x&#8221;) and the end point (indicated by a black circle) of the text can also be rearranged. You can also type in a close path to create a custom shaped text box.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dekumasign.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dekumasign.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dekumasign.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dekumasign.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dekumasign.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dekumasign.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dekumasign.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dekumasign.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dekumasign.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dekumasign.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dekumasign.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dekumasign.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dekumasign.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dekumasign.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=29&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dekumasign.wordpress.com/2010/09/24/paths-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccfccdcfd1a70af1d3d6595cb586bce2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">galearii</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_202906.jpg" medium="image">
			<media:title type="html">The Rubber Band option</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_204100.jpg?w=300" medium="image">
			<media:title type="html">Pen with Rubber Band setting on</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_211015.jpg" medium="image">
			<media:title type="html">Advanced Shape tool options</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2010/09/2010-09-24_230103.jpg?w=217" medium="image">
			<media:title type="html">Converting type to different things</media:title>
		</media:content>
	</item>
		<item>
		<title>Managing colours for Web design in Photoshop</title>
		<link>http://dekumasign.wordpress.com/2010/09/23/managing-colours-for-web-design-in-photoshop/</link>
		<comments>http://dekumasign.wordpress.com/2010/09/23/managing-colours-for-web-design-in-photoshop/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 15:49:34 +0000</pubDate>
		<dc:creator>galearii</dc:creator>
				<category><![CDATA[book notes]]></category>
		<category><![CDATA[mastering photoshop for web design]]></category>

		<guid isPermaLink="false">http://dekumasign.wordpress.com/?p=24</guid>
		<description><![CDATA[Calibrating the display Using a colorimeter Some affordable solutions include: Monaco Optix, LaCie blue eye, and basICColor displaySQUID. A colorimeter should be used after the monitor display has warmed up for at least half an hour and in an environment in which the lighting is soft and evenly distributed. There should be no light shines [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=24&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>Calibrating the display</h1>
<h2>Using a colorimeter</h2>
<p>Some affordable solutions include: Monaco Optix, LaCie blue eye, and basICColor displaySQUID. A colorimeter should be used after the monitor display has warmed up for at least half an hour and in an environment in which the lighting is soft and evenly distributed. There should be no light shines directly on the monitor.</p>
<h2>Gamma correction</h2>
<p>Gamma is basically a value that represents the relationship between luminance values of the monitor. For general web users, a gamma of 2.2 is the most common setting, and the most common white point is D65.</p>
<h1>ICC profiles</h1>
<p>International Color Consortium (ICC) has specified vendor-neutral colour specifications for devices to interpret and display colours as intended. In order for ICC to work, however, both device and file need to embed the same ICC profile. To best represent the Web environment, the ICC profile sRGB IEC 61966-2.1 is used on the Internet as the standard, and therefore this profile should be used to maintain maximum consistency on the web.</p>
<h1>Converting between colour profiles</h1>
<p>Photoshop works with a Color Management Module (CMM) that employs the Profile Connection Space (PCS) engine to convert between ICC profiles. For a colour to display, Photoshop needs to convert the raw data into the assigned working space ICC profile and then tells the computer to display the colour using the monitor&#8217;s embedded ICC profile. Whenever there is a conversion, the colour goes astray from the raw data, which makes the final result sometimes way different from the raw. To avoid this double conversion, you can set Photoshop&#8217;s working space ICC profile to the same as your monitor&#8217;s by going Edit &gt; Assign Profile.</p>
<p>Although setting Photoshop&#8217;s working space ICC profile the same as your monitor&#8217;s makes it easier to achieve WYSIWYG, the actual Photoshop file becomes less flexible because the colours will only be true to your monitor&#8217;s ICC profile (i.e. taking the file to another computer would doom all the colours).</p>
<p>To maintain consistency across platforms, Photoshop working space is best suited with sRGB ICC profile. If you would like to preview the image in any other profiles, you can set up proof colours by going View &gt; Proof Setup. Remember to tick View &gt; Proof Colors after choosing the proof profile.</p>
<h1>Further readings</h1>
<p><a href="http://www.creativepro.com/article/tips-for-managing-web-color-in-photoshop">Tips for Managing Web Color in Photoshop</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dekumasign.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dekumasign.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dekumasign.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dekumasign.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dekumasign.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dekumasign.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dekumasign.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dekumasign.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dekumasign.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dekumasign.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dekumasign.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dekumasign.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dekumasign.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dekumasign.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=24&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dekumasign.wordpress.com/2010/09/23/managing-colours-for-web-design-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccfccdcfd1a70af1d3d6595cb586bce2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">galearii</media:title>
		</media:content>
	</item>
		<item>
		<title>Performance Optimization for Websites</title>
		<link>http://dekumasign.wordpress.com/2010/09/19/performance-optimization-for-websites/</link>
		<comments>http://dekumasign.wordpress.com/2010/09/19/performance-optimization-for-websites/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 12:46:23 +0000</pubDate>
		<dc:creator>galearii</dc:creator>
				<category><![CDATA[book notes]]></category>
		<category><![CDATA[the smashing book]]></category>

		<guid isPermaLink="false">http://dekumasign.wordpress.com/?p=19</guid>
		<description><![CDATA[File Optimizations Give correct image dimensions in IMG tags Don&#8217;t specify a dimension of different values to the image&#8217;s original dimension. This makes browsers scale the image and therefore takes longer to load the image. Besides, browser-scaled images do not look as good. Reduce image file size If image quality acceptable, save images in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=19&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>File Optimizations</h1>
<h3>Give correct image dimensions in IMG tags</h3>
<p>Don&#8217;t specify a dimension of different values to the image&#8217;s original dimension. This makes browsers scale the image and therefore takes longer to load the image. Besides, browser-scaled images do not look as good.</p>
<h3>Reduce image file size</h3>
<p>If image quality acceptable, save images in the 256-colour palette as many as possible. <a href="http://developer.yahoo.com/yslow/smushit/">Smush.it</a> of the YSlow Firefox add-on can analyze and shrink the image files automatically. You can download the shrunk image files in a zipped file.</p>
<h3>Use image sprites</h3>
<p>An image sprite is an image file that have multiple graphics for different purposes recorded on it. For example, a 20*200px image file can record 10 20*20px smiley faces that can be manipulated to show different faces using the CSS background-position property. This technique saves the number of HTTP requests that a page needs to make in order to get these ten images (one v.s. ten).</p>
<p>Further reading: <a href="http://www.smashingmagazine.com/?p=6319">www.smashingmagazine.com/?p=6319</a></p>
<h3>Use Content Delivery Networks and Servers</h3>
<p>Simply put, Content Delivery Networks (CDN) and servers are servers dedicated to the static content of a website and are located in proximity to the users. For this optimization to work, renting servers all over the world is required, so normally, only big companies have the budget for this kind of optimization.</p>
<h3>Combine CSS and JavaScript files</h3>
<p>Each external CSS or JavaScript call is an HTTP request that adds to the load time, so it makes perfect sense to combine all CSS and JavaScript files in a production site. Of course, in the development environment, everything can still remain separated.</p>
<h3>CSS to the top; JavaScript to the bottom</h3>
<p>Put CSS declaration in the &lt;head&gt; section of an HTML file so that the browser knows about the rules of displaying the page elements before the page loads. Put JavaScript at the bottom just right above &lt;/body&gt; to prevent JavaScript from screwing around with page elements before the page is even properly loaded.</p>
<h3>Minify CSS and JavaScript</h3>
<p>Run your JavaScript code with <a href="http://www.jslint.com">JSLint</a> first to make sure the JavaScript will minify well. To actually minify CSS and JavaScript, you can use the <a href="http://www.reneschmidt.de/tools/minify/">Minify</a> service or YUICompressor from Yahoo!.</p>
<h3>Make CSS and JavaScript external</h3>
<p>Not using CSS and JavaScript inline is the standard practice of separating structure from style and behaviour. Putting CSS and JavaScript in external files also makes it easier to manage the files and reduces the HTML file size. Another advantage of such practice is caching, which also reduces HTTP requests.</p>
<h3>Specify a document type</h3>
<p>Specifying a document type doesn&#8217;t necessarily have a direct impact on the overall speed; however, giving the browser a clue of which set of rules it should follow to interpret HTML and CSS does give you the full potentiality of the specified document type.</p>
<h3>Validate your pages</h3>
<p><a href="http://validator.w3.org/">Validating your pages</a> does not necessarily have a direct impact on your site performance; however, it does give a sense of trust because a successful validation against W3C&#8217;s validation service suggests your dedication to quality.</p>
<h3>No CSS expressions</h3>
<p>CSS expressions allow logic operations in CSS, which goes against the principle of separating logic from style. CSS expressions are slow in styling page elements when a page updates on the fly and therefore are not accepted by the web design community nor W3C. Microsoft, the inventor of CSS expression, also abandoned CSS expression in Internet Explorer 8.</p>
<h1>Server Optimizations</h1>
<h3>Real techie:</h3>
<ul>
<li>Set up expires header</li>
<li>Set up ETags (entity tags)</li>
<li>MySQL Tuning Primer</li>
<li>Transparent compression</li>
</ul>
<h3>Avoid unnecessary redirects</h3>
<p>Any unnecessary redirect mean the server is not fully optimized. Using Firebug (a Firefox add-on) can help in determining whether a page is redirecting its access. In Firebug, under the Net tab, anything that shows a <strong>302 Found</strong> in its Status column is giving a redirect. Reduce the number of 302 Found if possible to increase performance.</p>
<h3>Avoid dead links</h3>
<p>A dead link includes an HTTP request to a non-existing external CSS, JavaScript, or image file. Web server is required to send a 404 header is a dead link is requested, which really does nothing but adds to the server load. Besides, web server logs all 404 incidents, and giving it the chance to log a 404 incident simply means that you are wasting your server space.</p>
<h1>Other than YSlow</h1>
<p>Google has also its own Firefox add-on for optimization check called <a href="http://code.google.com/speed/page-speed/">Page Speed</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dekumasign.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dekumasign.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dekumasign.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dekumasign.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dekumasign.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dekumasign.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dekumasign.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dekumasign.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dekumasign.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dekumasign.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dekumasign.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dekumasign.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dekumasign.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dekumasign.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=19&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dekumasign.wordpress.com/2010/09/19/performance-optimization-for-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccfccdcfd1a70af1d3d6595cb586bce2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">galearii</media:title>
		</media:content>
	</item>
		<item>
		<title>Branding Department of English</title>
		<link>http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/</link>
		<comments>http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 18:45:19 +0000</pubDate>
		<dc:creator>galearii</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dekumasign.wordpress.com/?p=7</guid>
		<description><![CDATA[More of a personal than an official project. Some WIPs.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=7&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>More of a personal than an official project. Some WIPs.</p>

<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/2009-10-18_022639/' title='2009-10-18_022639'><img data-attachment-id='8' data-orig-size='1920,1080' data-liked='0'width="150" height="84" src="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022639.jpg?w=150&#038;h=84" class="attachment-thumbnail" alt="2009-10-18_022639" title="2009-10-18_022639" /></a>
<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/2009-10-18_022751/' title='2009-10-18_022751'><img data-attachment-id='9' data-orig-size='1345,1042' data-liked='0'width="150" height="116" src="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022751.jpg?w=150&#038;h=116" class="attachment-thumbnail" alt="2009-10-18_022751" title="2009-10-18_022751" /></a>
<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/2009-10-18_022814/' title='2009-10-18_022814'><img data-attachment-id='10' data-orig-size='1345,1042' data-liked='0'width="150" height="116" src="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022814.jpg?w=150&#038;h=116" class="attachment-thumbnail" alt="2009-10-18_022814" title="2009-10-18_022814" /></a>
<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/2009-10-18_022823/' title='2009-10-18_022823'><img data-attachment-id='11' data-orig-size='1345,1042' data-liked='0'width="150" height="116" src="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022823.jpg?w=150&#038;h=116" class="attachment-thumbnail" alt="2009-10-18_022823" title="2009-10-18_022823" /></a>
<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/2009-10-18_022830/' title='2009-10-18_022830'><img data-attachment-id='12' data-orig-size='1345,1042' data-liked='0'width="150" height="116" src="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022830.jpg?w=150&#038;h=116" class="attachment-thumbnail" alt="2009-10-18_022830" title="2009-10-18_022830" /></a>
<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/2009-10-18_022920/' title='2009-10-18_022920'><img data-attachment-id='13' data-orig-size='893,453' data-liked='0'width="150" height="76" src="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022920.jpg?w=150&#038;h=76" class="attachment-thumbnail" alt="2009-10-18_022920" title="2009-10-18_022920" /></a>
<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/2009-10-18_023111/' title='2009-10-18_023111'><img data-attachment-id='14' data-orig-size='1345,1042' data-liked='0'width="150" height="116" src="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_023111.jpg?w=150&#038;h=116" class="attachment-thumbnail" alt="2009-10-18_023111" title="2009-10-18_023111" /></a>
<a href='http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/shakespeareanman/' title='shakespeareanman'><img data-attachment-id='15' data-orig-size='295,513' data-liked='0'width="86" height="150" src="http://dekumasign.files.wordpress.com/2009/10/shakespeareanman.jpg?w=86&#038;h=150" class="attachment-thumbnail" alt="shakespeareanman" title="shakespeareanman" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dekumasign.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dekumasign.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dekumasign.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dekumasign.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dekumasign.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dekumasign.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dekumasign.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dekumasign.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dekumasign.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dekumasign.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dekumasign.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dekumasign.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dekumasign.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dekumasign.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=7&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dekumasign.wordpress.com/2009/10/18/branding-department-of-english/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccfccdcfd1a70af1d3d6595cb586bce2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">galearii</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022639.jpg?w=150" medium="image">
			<media:title type="html">2009-10-18_022639</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022751.jpg?w=150" medium="image">
			<media:title type="html">2009-10-18_022751</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022814.jpg?w=150" medium="image">
			<media:title type="html">2009-10-18_022814</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022823.jpg?w=150" medium="image">
			<media:title type="html">2009-10-18_022823</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022830.jpg?w=150" medium="image">
			<media:title type="html">2009-10-18_022830</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_022920.jpg?w=150" medium="image">
			<media:title type="html">2009-10-18_022920</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/2009-10-18_023111.jpg?w=150" medium="image">
			<media:title type="html">2009-10-18_023111</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2009/10/shakespeareanman.jpg?w=86" medium="image">
			<media:title type="html">shakespeareanman</media:title>
		</media:content>
	</item>
		<item>
		<title>Smoke &amp; Magic Lighting</title>
		<link>http://dekumasign.wordpress.com/2008/04/08/smoke-magic-lighting/</link>
		<comments>http://dekumasign.wordpress.com/2008/04/08/smoke-magic-lighting/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 18:08:49 +0000</pubDate>
		<dc:creator>galearii</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://dekumasign.wordpress.com/?p=3</guid>
		<description><![CDATA[I tried two Photoshop tutorials from abduzeedo.com today, one Smoke Effect and the other Magic Lighting Effect. The Magic Lighting Effect actually incorporated the Smoke Effect, so I tried the Smoke Effect tutorial first. The Smoke Effect The Smoke Effect incorporates a Photoshop filter called Liquify. This is something I am extremely unfamiliar with (in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=3&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I tried two Photoshop tutorials from abduzeedo.com today, one Smoke Effect and the other Magic Lighting Effect. The Magic Lighting Effect actually incorporated the Smoke Effect, so I tried the Smoke Effect tutorial first.</p>
<p><strong><a title="The Smoke effect on abduzeedo.com" href="http://abduzeedo.com/node/133" target="_blank">The Smoke Effect</a></strong></p>
<p>The Smoke Effect incorporates a Photoshop filter called <em>Liquify</em>. This is something I am extremely unfamiliar with (in fact, I am unfamiliar with all of the filters). Because of this unfamiliarity, I was quite stuck half way through the tutorial. I was literally staring at the <em>Liquify</em> dialogue and really hesitating to do anything with it.</p>
<p>In order to know what the heck <em>Liquify</em> really was, I did a little research. I found that this filter was actually available since version 6 of Photoshop, and I absolutely had no idea whatsoever of its existence back then. I also found <a title="Photoshop Liquify effect on YouTube" href="http://www.youtube.com/watch?v=9iAQsxzgb7c" target="_blank">a video tutorial on YouTube</a> teaching the basics of this filter. It is a very nice beginner tutorial as it demonstrates some of the most basic and commonly-used tools in this filter. Here are some notes:</p>
<ul>
<li>&#8220;Brush Size&#8221; refers to how big your brush is.</li>
<li>&#8220;Brush Density&#8221; refers to how big within your brush the filter is applied. A value of 100 means the filter will be applied from the centre of the brush all the way to the edge. (video tutorial 1:40)</li>
<li>&#8220;Brush Pressure&#8221; refers to how sensitive should the filter be applied as per your mouse moving speed. (video tutorial 3:20)</li>
<li>There is also <a title="A quick reference to the Liquify command" href="http://qref.blogspot.com/2008/02/photoshop-liquify-command.html" target="_blank">a quick reference to the <em>Liquify</em> command</a>.</li>
</ul>
<p>Here is what I ended up with:</p>
<p><a href="http://dekumasign.files.wordpress.com/2008/04/take1.jpg"><img class="alignnone size-thumbnail wp-image-4" src="http://dekumasign.files.wordpress.com/2008/04/take1.jpg?w=128&#038;h=96" alt="Smoke Effect take 1" width="128" height="96" /></a> Smoke Effect take 1</p>
<p><a href="http://dekumasign.files.wordpress.com/2008/04/take2.jpg"><img class="alignnone size-thumbnail wp-image-5" src="http://dekumasign.files.wordpress.com/2008/04/take2.jpg?w=128&#038;h=96" alt="Smoke Effect take 2" width="128" height="96" /></a> Smoke Effect take 2</p>
<p>As shown, take 1 was quite a failure, though take 2 doesn&#8217;t really achieve much smoke effect, either. The <em>Liquify</em> filter in Photoshop really needs time to harness.</p>
<p><a title="The Magic Lighting effect on abduzeedo.com" href="http://abduzeedo.com/magic-lighting-effect-photoshop" target="_blank"><strong>The Magic Lighting Effect</strong></a></p>
<p>This tutorial was actually a little bit easier than the Smoke Effect one, partially because it uses less <em>Liquify </em>effect; partially I have explored the <em>Liquify</em> filter a bit. In this Magic Lighting effect, I fooled around with:</p>
<ol>
<li>The <em>Wave</em> filter (Filter &gt; Distort &gt; Wave) applied on text</li>
<li><em>Color Dodge</em> layer blending mode</li>
<li>Creating a new brush that makes small particles</li>
</ol>
<p>It is also interesting to note that the tutorial author used <em>Cloud</em> filter (Filter &gt; Render &gt; Cloud) in a 80px-feather marquee and applied <em>Gaussian Blur </em>to two additional distorted text layers to create the atmosphere of magic. The Smoke Effect was also incorporated to increase this magic feeling.</p>
<p>Here is what I ended up with:</p>
<p><a href="http://dekumasign.files.wordpress.com/2008/04/take11.jpg"><img class="alignnone size-thumbnail wp-image-6" src="http://dekumasign.files.wordpress.com/2008/04/take11.jpg?w=128&#038;h=96" alt="Magic Lighting Effect take 1" width="128" height="96" /></a> Magic Lighting Effect take 1</p>
<p>Not too bad, I reckon.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dekumasign.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dekumasign.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dekumasign.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dekumasign.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dekumasign.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dekumasign.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dekumasign.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dekumasign.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dekumasign.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dekumasign.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dekumasign.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dekumasign.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dekumasign.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dekumasign.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dekumasign.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dekumasign.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dekumasign.wordpress.com&amp;blog=3400822&amp;post=3&amp;subd=dekumasign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dekumasign.wordpress.com/2008/04/08/smoke-magic-lighting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ccfccdcfd1a70af1d3d6595cb586bce2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">galearii</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2008/04/take1.jpg?w=128" medium="image">
			<media:title type="html">Smoke Effect take 1</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2008/04/take2.jpg?w=128" medium="image">
			<media:title type="html">Smoke Effect take 2</media:title>
		</media:content>

		<media:content url="http://dekumasign.files.wordpress.com/2008/04/take11.jpg?w=128" medium="image">
			<media:title type="html">Magic Lighting Effect take 1</media:title>
		</media:content>
	</item>
	</channel>
</rss>
