<?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>ZhngSuiSui &#187; Web</title>
	<atom:link href="http://www.zhngsuisui.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhngsuisui.com</link>
	<description>A confession of web designers</description>
	<lastBuildDate>Sat, 22 May 2010 02:55:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Google Font Directory</title>
		<link>http://www.zhngsuisui.com/2010/google-font-directory/</link>
		<comments>http://www.zhngsuisui.com/2010/google-font-directory/#comments</comments>
		<pubDate>Sat, 22 May 2010 02:53:34 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Typeface]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=388</guid>
		<description><![CDATA[Like Google always do, in beta. The good thing about using Google font directory is that there is no copyright issue, I'm pretty sure Google may take care of those before publishing their typeface.

It is very time saving and very easy to implement into your design.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.zhngsuisui.com/uploads/google_font_directory.gif" alt="Google font directory" /></p>
<p>Like Google always do, in beta. The good thing about using Google font directory is that there is no copyright issue, I&#8217;m pretty sure Google may take care of those before publishing their typeface.</p>
<p>It is very time saving and very easy to implement into your design.</p>
<p>Link to the stylesheet:</p>
<blockquote><p>&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;http://fonts.googleapis.com/css?family=Tangerine&#8221;&#62;
</p></blockquote>
<p>Call a CSS:</p>
<blockquote><p>h1 {<br />
font-family: &#8216;Tangerine&#8217;, serif;<br />
font-size: 48px;<br />
}
</p></blockquote>
<p>Use it on your site:</p>
<blockquote><p> &#60;h1&#62;Making the Web Beautiful!&#60;/h1&#62;</p></blockquote>
<p>As simple as that, only 3 steps to remember and some typefaces&#8217; name. Currently there are only 18 typefaces ready in <a href="http://code.google.com/webfonts">Google font directory</a>, I definitely hope to see more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2010/google-font-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 useful tips on developing WordPress theme</title>
		<link>http://www.zhngsuisui.com/2010/5-useful-tips-on-developing-wordpress-theme/</link>
		<comments>http://www.zhngsuisui.com/2010/5-useful-tips-on-developing-wordpress-theme/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 16:13:32 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=339</guid>
		<description><![CDATA[I always find Wordpress interesting when it comes to functioning it. Wordpress, in a nutsell, is a blog engine, which give you the capabilities of, creating entries in a page, create pages, comment here and there. But recent update of Wordpress helps so much on developing it into all other kind of website.]]></description>
			<content:encoded><![CDATA[<p>I always find WordPress interesting when it comes to functioning it. WordPress, in a nutsell, is a blog engine, which give you the capabilities of, creating entries in a page, create pages, comment here and there. But recent update of WordPress helps so much on developing it into all other kind of website.</p>
<p>Here are a few which I personaly think a good hack to develop a website other than a weblog using WordPress.</p>
<h3>Feature entries / Specific categories update</h3>
<p><img src="http://www.zhngsuisui.com/uploads/wordpress_feature.jpg" alt="WordPress feature slider" /></p>
<p>This is useful when it comes to a web magazine or a business blog.</p>
<blockquote><p>&#60;?php<br />
wp_reset_query();<br />
query_posts(&#8216;showposts=&#8217;5&#038;cat=Feature&#8217;);<br />
if (have_posts()) : while (have_posts()) : the_post();<br />
?&#62;</p>
<p>&#60;h1&#62;&#60;a href=&#8221;&#60;?php the_permalink() ?&#62;&#8221;&#62;&#60;?php the_title(); ?&#62;&#60;/a&#62;&#60;/h1&#62;<br />
&#60;?php the_content(); ?&#62;</p>
<p>&#60;?php endwhile; endif; wp_reset_query(); ?&#62;</p></blockquote>
<p>The <em>wp_reset_query();</em> is to destroy the specific query. Since it reset the query, you are free to add as much as you want on your design.</p>
<h3>Widgetize</h3>
<p><img src="http://www.zhngsuisui.com/uploads/wordpress_widgetized.jpg" alt="WordPress widgetized" /></p>
<p>This is, almost certainly a feature never missed. But how to write a good one and understandable? Name it and style it. The widget code looks like this:</p>
<blockquote><p>if ( function_exists(&#8216;register_sidebar&#8217;) )<br />
register_sidebar(array(<br />
&#8216;name&#8217; =&#62; &#8216;Sidebar&#8217;,<br />
&#8216;before_widget&#8217; =&#62; &#8216;&#60;div class=&#8221;sidebox&#8221;&#62;&#8217;,<br />
&#8216;after_widget&#8217; =&#62; &#8216;&#60;/div&#62;&#8217;,<br />
&#8216;before_title&#8217; =&#62; &#8216;&#60;h2&#62;&#8217;,<br />
&#8216;after_title&#8217; =&#62; &#8216;&#60;/h2&#62;&#8217;,<br />
));</p></blockquote>
<p>On the &#8216;name&#8217; => give it a name on each and every widget you designed. Some theme has more than 5 widgetized areas.</p>
<h3>Theme options</h3>
<p><img src="http://www.zhngsuisui.com/uploads/wordpress_theme_option.jpg" alt="WordPress theme options" /></p>
<p><a href="http://blog.themeforest.net">Themeforest blog</a> has a great <a href="http://blog.themeforest.net/wordpress/create-an-options-page-for-your-wordpress-theme">tutorial about how to create a theme option</a>. However, how you develop it is the key.</p>
<p>What can a theme option possibly do? Here are list of what I did after the tutorial.</p>
<ul>
<li>Enable disable &#8211; Almost any thing, from breadcrumb, social icons and etc.</li>
<li>Feature slider with category name and number of entries</li>
<li>Twitter username and it&#8217;s number of update or enable/disable the update</li>
<li>Changing stylesheet</li>
</ul>
<p>It may seems hard to create on, but it definitely easier if you understand how it work, even you&#8217;re a PHP noob, like me <img src='http://www.zhngsuisui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Below I compiled a list of auto-generated checkbox, text form, textarea and select input.</p>
<blockquote><p>
$settings = array(<br />
&#8216;desc&#8217; = &#8220;Something about the description&#8217;,<br />
)</p>
<p>$themename = &#8220;WP theme option&#8221;;<br />
$shortname = &#8220;mythemename&#8221;;<br />
$options = array (</p>
<p>array(<br />
&#8220;name&#8221; =&#62; &#8220;Function name&#8221;,<br />
&#8220;id&#8221; =&#62; &#8220;a_message&#8221;,<br />
&#8220;std&#8221; =&#62; $settings['_message'],<br />
&#8220;type&#8221; =&#62; &#8220;textarea&#8221;,<br />
&#8220;note&#8221; =&#62; &#8220;A message.&#8221;,<br />
),<br />
array (<br />
// More function //<br />
),</p>
<p>);<br />
function mytheme_admin() {<br />
global $themename, $shortname, $options;<br />
if ( $_REQUEST['saved'] ) echo &#8216;&#60;div id=&#8221;message&#8221; class=&#8221;updated&#8221; style=&#8221;position: absolute; top: 0px; right: 0px;&#8221;&#62;&#60;p&#62;&#60;strong&#62;Settings saved&#60;/strong&#62;&#60;/p&#62;&#60;/div&#62;&#8217;;<br />
if ( $_REQUEST['reset'] ) echo &#8216;&#60;div id=&#8221;message&#8221; class=&#8221;updated&#8221; style=&#8221;position: absolute; top: 0px; right: 0px;&#8221;&#62;&#60;p&#62;&#60;strong&#62;Settings reset&#60;/strong&#62;&#60;/p&#62;&#60;/div&#62;&#8217;;<br />
?&#62;</p>
<p>&#60;form method=&#8221;post&#8221; action=&#8221;"&#62;</p>
<p>&#60;?php } elseif ($value['type'] == &#8220;text&#8221;) { ?&#62;<br />
&#60;p&#62;<br />
&#60;h2&#62;&#60;?php echo $value['name']; ?&#62;&#60;/h2&#62;<br />
&#60;input onfocus=&#8221;this.select();&#8221; name=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221; id=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221; type=&#8221;&#60;?php echo $value['type']; ?&#62;&#8221; value=&#8221;&#60;?php if ( get_settings( $value['id'] ) != &#8220;&#8221;) { echo get_settings( $value['id'] ); } else { echo $value['std']; } ?&#62;&#8221; /&#62;&nbsp;&nbsp;&#60;?php echo $value['note']; ?&#62;&#60;/p&#62;<br />
&#60;?php echo $value['div']; ?&#62;</p>
<p>&#60;?php } elseif ($value['type'] == &#8220;textarea&#8221;) { ?&#62;<br />
&#60;p&#62;<br />
&#60;h2&#62;&#60;?php echo $value['name']; ?&#62;&#60;/h2&#62;<br />
&#60;textarea name=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221; id=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221;&#62;&#60;?php if ( get_option( $value['id'] ) != &#8220;&#8221;) { echo stripslashes(get_option( $value['id'] )); } else { echo stripslashes($value['std']); } ?&#62;&#60;/textarea&#62;<br />
&#60;?php echo $value['note']; ?&#62;&#60;/p&#62;<br />
&#60;?php echo $value['div']; ?&#62;</p>
<p>&#60;?php } elseif ($value['type'] == &#8220;select&#8221;) { ?&#62;<br />
&#60;p&#62;<br />
&#60;h2&#62;?php echo $value['name']; ?&#62;&#60;/h2&#62;<br />
&#60;select name=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221; id=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221;&#62;<br />
&#60;?php foreach ($value['options'] as $option) { ?&#62;<br />
&#60;option &#60;?php if ( htmlspecialchars(get_option( $value['id'] )) == htmlspecialchars($option)) { echo &#8216; selected=&#8221;selected&#8221;&#8216;; } elseif ($option == $value['std']) { echo &#8216; selected=&#8221;selected&#8221;&#8216;; } ?&#62;&#62;&#60;?php echo $option; ?&#62;&#60;/option&#62;<br />
&#60;?php } ?&#62;<br />
&#60;/select&#62;&#60;/p&#62;<br />
&#60;?php echo $value['div']; ?&#62;</p>
<p>&#60;?php } elseif ($value['type'] == &#8220;checkbox&#8221;) { ?&#62;<br />
&#60;p&#62;<br />
&#60;h2&#62;?php echo $value['name']; ?&#62;&#60;/h2&#62;<br />
&#60;?php if(get_settings($value['id'])){ $checked = &#8220;checked=\&#8221;checked\&#8221;"; }else{ $checked = &#8220;&#8221;;}?&#62;<br />
&#60;input type=&#8221;checkbox&#8221; name=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221; id=&#8221;&#60;?php echo $value['id']; ?&#62;&#8221; value=&#8221;true&#8221; &#60;?php echo $checked; ?&#62; /&#62;&nbsp;&nbsp;&#60;?php echo $value['note']; ?&#62;<br />
&#60;/p&#62;<br />
&#60;?php echo $value['div']; ?&#62;</p>
<p>&#60;?php } elseif ($value['type'] == &#8220;header&#8221;) { ?&#62;<br />
&#60;?php } }?&#62;</p>
<p>&#60;div style=&#8221;clear: both; padding: 20px; overflow: hidden&#8221;&#62;<br />
&#60;input name=&#8221;save&#8221; type=&#8221;submit&#8221; class=&#8221;button-primary&#8221; value=&#8221;Save changes&#8221; /&#62;&#60;input type=&#8221;hidden&#8221; name=&#8221;action&#8221; value=&#8221;save&#8221; /&#62;&#60;/form&#62;<br />
&#60;form method=&#8221;post&#8221; action=&#8221;"&#62;&#60;input name=&#8221;reset&#8221; class=&#8221;button&#8221; type=&#8221;submit&#8221; value=&#8221;Reset&#8221; /&#62;&#60;input type=&#8221;hidden&#8221; name=&#8221;action&#8221; value=&#8221;reset&#8221; /&#62;&#60;/form&#62;</p>
<p>&#60;?php }<br />
add_action(&#8216;admin_menu&#8217;, &#8216;mytheme_add_admin&#8217;);<br />
foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }<br />
foreach ($settings as $k=&#62;$v) { $var = $shortname.&#8217;_&#8217;.$k; if (!empty($$var)) $settings[$k] = $$var; }<br />
function dp_settings($key) { global $settings; return $settings[$key];}<br />
?&#62;</p></blockquote>
<p>There, I placed all the possibility use of the options. Text, textarea, checkbox and dropdown select. Go wild with your creativity!</p>
<h3>Page template</h3>
<p><img src="http://www.zhngsuisui.com/uploads/wordpress_page_template.jpg" alt="WordPress page template" /></p>
<p>Sometimes, you can&#8217;t get away from create a page with a unique design. That&#8217;s what most web designer will do, even a blog.</p>
<blockquote><p><code>&#60;?php <strong>/* Template Name:  Template name */</strong> ?&#62;<br />
&#60;?php get_header(); ?&#62;<br />
Your content is here<br />
&#60;?php get_sidebar(); ?&#62;<br />
&#60;?php get_footer(); ?&#62;</code></p></blockquote>
<p>Web designers likes to custom design a profile page on their weblog. That is when the page template comes to play.</p>
<h3>Custom homepage without setting</h3>
<p><img src="http://www.zhngsuisui.com/uploads/wordpress_static_setting.jpg" alt="WordPress static setting" /></p>
<p>Some of us like to use the static option to set a specific homepage. But that will only help query run more and longer. To shorten it and go straight into the custom design, this code:</p>
<blockquote><p>&#60;?php if(is_home()) { ?&#62;</p>
<p>&#60;?php include(&#8216;custom_design_content.php&#8217;); ?&#62; </p>
<p>&#60;?php } else { ?&#62;</p>
<p>&#60;?php get_header() ?&#62;<br />
&#60;div id=&#8221;content&#8221;&#62;<br />
&#60;?php include(TEMPLATEPATH . &#8216;/post/feature.php&#8217;); ?&#62;<br />
&#60;?php if (have_posts()) : while (have_posts()) : the_post(); ?&#62;<br />
&#60;?php include(TEMPLATEPATH . &#8216;/post/post.php&#8217;); ?&#62;<br />
&#60;?php endwhile; ?&#62;&#60;!&#8211; END Loop &#8211;&#62;<br />
&#60;?php pagination(); ?&#62;<br />
&#60;?php include (TEMPLATEPATH . &#8216;/post/pagenavi.php&#8217;); if(function_exists(&#8216;wp_pagenavi&#8217;)) { wp_pagenavi(); } ?&#62;<br />
&#60;?php else : ?&#62;<br />
&#60;?php include(TEMPLATEPATH . &#8216;/post/none.php&#8217;); ?&#62;<br />
&#60;?php endif; ?&#62;<br />
&#60;/div&#62;&#60;!&#8211; END Content &#8211;&#62;<br />
&#60;?php get_sidebar(); ?&#62;<br />
&#60;?php get_footer(); ?&#62;</p>
<p>&#60;?php } ?&#62;</p></blockquote>
<p>So if it is on homepage or index page, it will directly show <em>custom_design_content.php</em> instead of the normal blog entries listing.</p>
<p>However, the big down side is that it cannot use static to show a blog entries page.</p>
<p>WordPress 3.0 was said to be better developed and was like a CMS instead of blog engine. Can&#8217;t wait for the release now <img src='http://www.zhngsuisui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Let&#8217;s see if the release helps cut short all the tips and hacks we usually found online.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2010/5-useful-tips-on-developing-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working on the road</title>
		<link>http://www.zhngsuisui.com/2010/working-on-the-road/</link>
		<comments>http://www.zhngsuisui.com/2010/working-on-the-road/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 16:13:07 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Jobs]]></category>
		<category><![CDATA[On the road]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=327</guid>
		<description><![CDATA[Being a freelancer, I can't actually leave my work on the side and go ahead with all my wild day. Everyday, I need to have a look at the work I'm working on. Last two months has been challenging as my friend and I took a few short trip to east coast for almost every week. Thanks to that, I manage to get this article up on how I work on the road.]]></description>
			<content:encoded><![CDATA[<p>Being a freelancer, I can&#8217;t actually leave my work on the side and go ahead with all my wild day. Everyday, I need to have a look at the work I&#8217;m working on. Last two months has been challenging as my friend and I took a few short trip to east coast for almost every week. Thanks to that, I manage to get this article up on how I work on the road. </p>
<h3>Email client about the leave</h3>
<p><img src="http://www.zhngsuisui.com/uploads/emai_client.jpg" alt="Email" /></p>
<p>It is important to let the clients know that you&#8217;re having a road trip and might not be able to get back to them in a short time. You surely don&#8217;t want to make them waiting and wondering what is going on, why there is no reply since the last email, and so on.</p>
<p>Going MIA (<em>Missing In Action</em>) out of a sudden will give a bad impression that you are irresponsible to the client. Therefore I always informed my clients about my trip/leave and make sure that some heavy jobs has been done before I head off for the trip.</p>
<p>It is as simple as 1,2,3: Take some time, finish the heavy job and take the leave.</p>
<h3>Have a mobile broadband</h3>
<p><img src="http://www.zhngsuisui.com/uploads/usb_modem.jpg" alt="USB Modem" /></p>
<p>I registered a mobile broadband for home use (at the moment) and travel use. Of course I did not online all the way when I was having a road trip. There are time like lunch, dinner or having rest in the room for the day which can be more leisure with Internet on hand. You can check if there is any urgent email too.</p>
<p>Nonetheless, if you have a Twitter and your client is following you, they sure know what and where you&#8217;re heading to too &#8211; talk about interactive with client. Well, the worst senario is no Internet connection at all. That means, time to have real fun on the trip.</p>
<h3>Take light work only</h3>
<p><img src="http://www.zhngsuisui.com/uploads/lightweight_job.jpg" alt="Light Job" /></p>
<p>Jobs like designing stuffs is a big no-no for me. I prefer to take web-developing job with me on the trip.</p>
<p>I am using a laptop as my working computer and working with the touch pad is not recommended at all, and could possibly lead to a waste of time.</p>
<p>It comes in handy when you just want to do some typing work and there is no proper table around you.  Hence I prefer to work on jobs that involved using keyboard (such as writing proposal and coding) more than using mouse (talk about designing) when I am on a road trip.</p>
<h3>External battery</h3>
<p><img src="http://www.zhngsuisui.com/uploads/extra_batteries.jpg" alt="Extra batteries" /></p>
<p>When you are on a road trip, that means you will spend most of your time outside. Prepare to be on the road without any electronic devices, not even your mobile phone.</p>
<p>Always remember to get external battery or adapter if possible. Once I finished using the battery of both my laptop and my hand phone, I couldn&#8217;t do anything at all besides waiting for the time I get back to my room and charge them. Car charger is a very good companion if you&#8217;re driving.</p>
<p>Hopefully you can add in your experience too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2010/working-on-the-road/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up your local WordPress</title>
		<link>http://www.zhngsuisui.com/2010/setting-up-your-local-wordpress/</link>
		<comments>http://www.zhngsuisui.com/2010/setting-up-your-local-wordpress/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 12:54:19 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Localhost]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=287</guid>
		<description><![CDATA[Some bloggers are keen to design their own blog, but they don't want to mess with their current blog and keep transfering file online and offline. The only solution is to create a local Wordpress and test it. There are plenty of software that helps you to create a local server.]]></description>
			<content:encoded><![CDATA[<p>Some bloggers are keen to design their own blog, but they don&#8217;t want to mess with their current blog and keep transfering file online and offline. The only solution is to create a local WordPress and test it.</p>
<p>There are plenty of software that helps you to create a local server. <a href="http://www.easyphp.org">EasyPHP</a>, <a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a>, <a href="http://www.wampserver.com">WAMP</a> and the like. I personally recommend WAMP as it have not crash with any software I have installed in my computer. EasyPHP has some bug on mySQL connection, while XAMP is a little bit advance.</p>
<h3>Installing WAMP</h3>
<p>First off, install WAMP from <a href="http://www.wampserver.com/en/download.php">http://www.wampserver.com/en/download.php</a></p>
<p><img src="http://www.zhngsuisui.com/uploads/wamp_installation.jpg" alt="WAMP installation" /></p>
<p>Make sure you don&#8217;t block the Apache when the notification windows pop-up.</p>
<p>Once you have installed it, look into the folder C:/Program Files/wamp/www if you follow the default setting when installing. www folder works like <em>public_html</em> or <em>domain_html</em> on your normal hosting account.</p>
<p>Leave index.php in the folder, it is a handy little index page for you when surf to http://localhost.</p>
<h3>Installing WordPress</h3>
<p>Download WordPress from <a href="http://wordpress.org/download">http://wordpress.org/download</a></p>
<p><img src="http://www.zhngsuisui.com/uploads/wamp_wordpress_folder.jpg" alt="WordPress" /></p>
<p>Once you downloaded it, unzip it and copy the whole folder into www folder and you&#8217;re set to install the 5-minute installation.</p>
<h3>Mac user</h3>
<p><img src="http://www.zhngsuisui.com/uploads/mamp_screenshot.jpg" alt="MAMP" /></p>
<p>Mac user has this little application called <a href="http://www.mamp.info/en/index.html">MAMP</a>, it works just like WAMP but then, it is 100MB over in size, prepare to spend some times to download them <img src='http://www.zhngsuisui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2010/setting-up-your-local-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile web browsing</title>
		<link>http://www.zhngsuisui.com/2009/mobile-web-browsing/</link>
		<comments>http://www.zhngsuisui.com/2009/mobile-web-browsing/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 03:48:03 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Browsing]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web designers]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=163</guid>
		<description><![CDATA[I stepped into Indonesia recently and it’s been 2 weeks. All I notice was people are on their mobile browsing, it is a hot media right now in Indonesia, their 3G rate is very low and reliable, I even get myself a SIM card to browse with my mobile phone. That remind me about creating mobile-compatible web. Checking into my Google analytics, I saw some Opera Mini browser. After I log into my web with my Opera Mini, I notice that it took about 50kb to load a full website, which is very heavy for mobile web.]]></description>
			<content:encoded><![CDATA[<p>I stepped into Indonesia recently and it&#8217;s been 2 weeks. All I notice was people are on their mobile browsing, it is a hot media right now in Indonesia, their 3G rate is very low and reliable, I even get myself a SIM card to browse with my mobile phone. That remind me about creating mobile-compatible web. Checking into my Google analytics, I saw some Opera Mini browser. After I log into my web with my Opera Mini, I notice that it took about 50kb to load a full website, which is very heavy for mobile web.<br />
<img src="http://zhngsuisui.com/uploads/4251web-css.gif" alt="Web CSS" /><br />
When creating mobile web, there is only few things to consider&#8230;</p>
<ol>
<li>Stylesheet media handling</li>
<li>Re-structure the CSS/Web layout</li>
<li>Trim down images loading</li>
</ol>
<p>Anyway, I might miss something else, but do correct me if I&#8217;m wrong. After all, it&#8217;s my first time working on mobile web. Can&#8217;t say it&#8217;s a pure mobile web, but it&#8217;s a transformation from a screen web to mobile web, depending on how Opera Mini was config. I have a Nokia E71 with Opera Mini too, I have to set it to &#8220;Mobile View&#8221; in order to use the <em>handheld</em> view.</p>
<h3>Stylesheet media handling</h3>
<p>Normally a website should consider 3 stylesheet, one for screen, one for mobile and one for printing. For mobile, the media is &#8220;<em>handheld</em>&#8221;<br />
<code>&#60;link rel="stylesheet" type="text/css" media="handheld" href="handheld.css" /&#62;</code><br />
Only browser that set to view in mobile only can view mobile version though, or else it will still shows full web.</p>
<p>Due to the cost of mobile browsing, consider hidden all the images on the site. </p>
<h3>Re-structure the CSS/Web layout</h3>
<p>When it comes to re-structure the same layout, <em>display: none</em> is a good friend. I&#8217;ve hide sidebar, some header images, content images.</p>
<h3>Trim down images loading</h3>
<p>By using also <em>display: none</em> it should help mobile browsing faster.</p>
<p>Things that you should consider to display: none:<br />
<strong>Sidebar</strong><br />
Most people will crumpled their sidebar with ads and images, which will take a lot of bandwidth. Consider don&#8217;t need the sidebar when showing in mobile, the common screen resolution of mobile are just only 240&#215;360.</p>
<p><strong>Footer or the sitemap</strong><br />
Because browsing in mobile is a &#8220;light&#8221; activity. There is no need for full information on the web anymore.</p>
<p><strong>Advertisement and Javascript</strong><br />
Advertisement and Javascript are those takes the longest time to load and also the bandwidth eater.</p>
<p><img src="http://zhngsuisui.com/uploads/207fb-twitter-mobile.gif" alt="Facebook and Twitter mobile version" /></p>
<p>I&#8217;ve trim down from 50kb to only 5kb load of mobile web, saving my bandwidth and cost <img src='http://www.zhngsuisui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2009/mobile-web-browsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is web design?</title>
		<link>http://www.zhngsuisui.com/2009/what-is-web-design/</link>
		<comments>http://www.zhngsuisui.com/2009/what-is-web-design/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 12:49:52 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Web designers]]></category>
		<category><![CDATA[Webmaster]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=155</guid>
		<description><![CDATA[What is the content of the “design” in web design. It is the effect? The structure? The arrangement? Or the guide on a webpage? Which one is the core job of the web designer? Designing a web site shouldn’t be a web designer, but a web architecture, because one need to know how to structure the whole layout, then guiding the visitor from one part to another.]]></description>
			<content:encoded><![CDATA[<p>I think the question would be a little stupid, but hell, I need to know it first. Because I prefer to call Web Architecture or Web analytical instead. These are why&#8230;</p>
<p><img src="http://zhngsuisui.com/uploads/8592architecture.jpg" alt="Web architecture" class="alignleft" /></p>
<h3>Web design, as in all kind of design or a specific design</h3>
<p>What is the content of the &#8220;design&#8221; in web design. It is the effect? The structure? The arrangement? Or the guide on a webpage? Which one is the core job of the web designer? Designing a web site shouldn&#8217;t be a web designer, but a web architecture, because one need to know how to structure the whole layout, then guiding the visitor from one part to another.</p>
<p><img src="http://zhngsuisui.com/uploads/8774multitask.jpg" alt="Multitasking" class="alignright" /></p>
<h3>Web designer are multi talent already</h3>
<p>If you&#8217;re still speak about design and design only, I would suggest to go for a design firm instead. Some of my ex-colleagues still keeping web design as a topic, which I think it is a little out of date. Web designers nowadays is more than just design the layout, there are a lot of area they explore into. For instance, cutting down the resources, solving web technical problem,</p>
<h3>Web trend then web copy</h3>
<p>Some say follow the recent &#8220;we trend&#8221; some say it is copying the design. I would say it is just the way of web appear to the people now. Web cannot be copy unless, you clone the exact same one, else it is not a copy, but a trend people following. Big typeface, gradient background and etc are the web trend now, are they copying each other? Not likely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2009/what-is-web-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Best Minimalist Web Design</title>
		<link>http://www.zhngsuisui.com/2009/10-best-minimalist-web-design/</link>
		<comments>http://www.zhngsuisui.com/2009/10-best-minimalist-web-design/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 12:49:15 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Graphic]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Minimalist]]></category>
		<category><![CDATA[Space]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=148</guid>
		<description><![CDATA[Once in a while I like to design something simple. Very simple that it doesn’t even have a graphic to represent one thing. Some people especially those who aren't a designers or has no artistic mind, don't really appreciate the minimalist design. As Leonardo Da Vinci once says "Simplicity is the ultimate sophistication". Anyway, here are my list of inspiration.]]></description>
			<content:encoded><![CDATA[<p>Once in a while I like to design something simple. Very simple that it doesn’t even have a graphic to represent one thing. Some people especially those who aren&#8217;t a designers or has no artistic mind, don&#8217;t really appreciate the minimalist design. As Leonardo Da Vinci once says &#8220;<em>Simplicity is the ultimate sophistication</em>&#8220;. Anyway, here are my list of inspiration. <img src='http://www.zhngsuisui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://keeno.cn" rel="nofollow">Keeno</a><br />
<img src="http://www.zhngsuisui.com/uploads/9786001.gif" alt="001" /><br />
<a href="http://www.chrisrowe.net" rel="nofollow">Chris Rowe</a><br />
<img src="http://www.zhngsuisui.com/uploads/2276002.gif" alt="002" /><br />
<a href="http://www.yalamber.com" rel="nofollow">Yalamber Subba</a><br />
<img src="http://www.zhngsuisui.com/uploads/7797003.gif" alt="003" /><br />
<a href="http://joshminnich.com" rel="nofollow">Josh Minnich</a><br />
<img src="http://www.zhngsuisui.com/uploads/6623004.gif" alt="004" /><br />
<a href="http://johnstewartsutherland.com" rel="nofollow">John Sutherland</a><br />
<img src="http://www.zhngsuisui.com/uploads/1493005.gif" alt="005" /><br />
<a href="http://www.sursly.com" rel="nofollow">Tyler Finck</a><br />
<img src="http://www.zhngsuisui.com/uploads/4374006.gif" alt="006" /><br />
<a href="http://www.madebysofa.com" rel="nofollow">SOFA</a><br />
<img src="http://www.zhngsuisui.com/uploads/586007.gif" alt="007" /><br />
<a href="http://www.simonamunteanu.com" rel="nofollow">MISONA</a><br />
<img src="http://www.zhngsuisui.com/uploads/8712008.gif" alt="008" /><br />
<a href="http://www.infekted.it" rel="nofollow">infekted</a><br />
<img src="http://www.zhngsuisui.com/uploads/3422009.gif" alt="009" /><br />
<a href="http://bunton.com.au" rel="nofollow">Bunton</a><br />
<img src="http://www.zhngsuisui.com/uploads/4405010.gif" alt="010" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2009/10-best-minimalist-web-design/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Remember Alexa?</title>
		<link>http://www.zhngsuisui.com/2009/remember-alexa/</link>
		<comments>http://www.zhngsuisui.com/2009/remember-alexa/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 12:56:25 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ranking]]></category>
		<category><![CDATA[Traffic]]></category>
		<category><![CDATA[Webmaster]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=144</guid>
		<description><![CDATA[I almost forgotten that <a href="http://www.alexa.com" rel="nofollow">Alexa</a> was still around. I used to be a ranking freak, I monitor <a href="http://en.wikipedia.org/wiki/PageRank" rel="nofollow">Google PR</a>, Alexa ranking and my traffic. Though I have to admit, that is the only success I was looking for back then. Seriously, who really cares about all these if not of advertisers now.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.zhngsuisui.com/uploads/8664alexa-ranking.gif" alt="Alexa traffic ranking" /><br />
I almost forgotten that <a href="http://www.alexa.com" rel="nofollow">Alexa</a> was still around. I used to be a ranking freak, I monitor <a href="http://en.wikipedia.org/wiki/PageRank" rel="nofollow">Google PR</a>, Alexa ranking and my traffic. Though I have to admit, that is the only success I was looking for back then. Seriously, who really cares about all these if not of advertisers now.</p>
<h3>Google Pagerank</h3>
<p><img src="http://www.zhngsuisui.com/uploads/3398google-pr-ranking.gif" alt="Google PR ranking" class="alignleft" />A lot of people has difficulty get <a href="http://en.wikipedia.org/wiki/PageRank" rel="nofollow">Google page ranking</a>, but what does it really do. Google PR only for Google search engine, the higher your site PR is, the more search result it will comes out, means Google put priority on your site instead of other relevant site. It does not mean that if you have no Google PR for your site, your site won&#8217;t comes out from the search result too. So the key to win the situation when you have no Google PR is to get a real good keyword, the most in-demand keyword if you can. Well, <a href="http://www.google.com/webmasters" rel="nofollow">Google Webmasters tool</a> is the complete set of tool for you to understand and know your position and keyword of your site.</p>
<h3>Alexa Ranking</h3>
<p>Alexa ranking is not depending on the redirect like everyone talking about, after all the redirect is not working now, because of the abuse people placing all over the Internet. In order to build Alexa ranking, you&#8217;ll need Alexa toolbar for Firefox. Alexa pull information from users who use Alexa toolbar, and monitor how and what those users visiting. So Alexa ranking is greatly depending on your visitors&#8217; browsers. If most of your visitors are using IE, forget it!</p>
<p>Seriously, Alexa ranking is nothing. When I was working in a firm, my manager asked me to build Alexa ranking for the company site. All I did was install Alexa toolbar and open the company site everyday. Within one week, the ranking went up 20,000.</p>
<p>Ranking is really not the key to success now, but it is essential information for advertisers to know how they&#8217;re going to be expose. However, that can be done with traffic too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2009/remember-alexa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed up WordPress engine</title>
		<link>http://www.zhngsuisui.com/2009/speed-up-wordpress-engine/</link>
		<comments>http://www.zhngsuisui.com/2009/speed-up-wordpress-engine/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 06:05:24 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=133</guid>
		<description><![CDATA[A lot of <a href="http://www.wordpress.org" rel="nofollow">Wordpress</a> powered sites tend to run slower than others, especially those that receive tons of traffic everyday. I'm sure no one in the right mind would mind about slow loading website, even though the traffic is not huge. Not only will this result a bounce back rate, it may also over using your CPU usage, especially the PHP queries. I personally did a lot of Wordpress websites, my blogs, clients sites and some e-Commerce sites too, they all need to optimised correctly to cut down the PHP queries and loading speed.]]></description>
			<content:encoded><![CDATA[<p>A lot of <a href="http://www.wordpress.org" rel="nofollow">WordPress</a> powered sites tend to run slower than others, especially those that receive tons of traffic everyday. I&#8217;m sure no one in the right mind would mind about slow loading website, even though the traffic is not huge. Not only will this result a bounce back rate, it may also over using your CPU usage, especially the PHP queries. I personally did a lot of WordPress websites, my blogs, clients sites and some e-Commerce sites too, they all need to optimised correctly to cut down the PHP queries and loading speed.</p>
<h3>Delete unused or inactive plugins</h3>
<p><img src="http://www.zhngsuisui.com/uploads/371wp-plugins.gif" alt="WordPress plugins" /><br />
Most people doesn&#8217;t care about the plugins, doesn&#8217;t matter how many unused plugin on their list, as long as they did not activate it, they thought it would be fine. Which is not really, because each time you load your WordPress, it will go through all the script in the engine so it won&#8217;t miss anything out to load. The listing is taking time, and resources on your CPU. Consider to delete them, install them again if needed, some how, <a href="http://wordpress.org/download" rel="nofollow">WordPress 2.8</a> has a nice built-in plugin search and installation with a few clicks.</p>
<h3>Clean up the template CSS</h3>
<p><img src="http://www.zhngsuisui.com/uploads/3760cleanup-css.gif" alt="CSS Stylesheet" /><br />
Seriously, I find this funny too. Each spacing is the key of cleaning up the template code. Both CSS and PHP template always has lots of space between lines and columns. Delete them or use shorthand code.</p>
<p>Code like:<br />
<code>#div {<br />
	font-family: Arial, Verdana, Tahoma, San-serif;<br />
	font-size: 1.2em;<br />
	font-weight: bold;<br />
	font-style: italic;<br />
}</code></p>
<p>Can be shorthanded into:</p>
<p><code>#div {font: bold italic 1.2em Arial, Verdana, Tahnoma, San-serif;}</code></p>
<p>Spacing and long winding has been cut short for easier loading.</p>
<h3>Clean up the template PHP</h3>
<p><img src="http://www.zhngsuisui.com/uploads/2869cleanup-php.gif" alt="PHP" /><br />
While you&#8217;re cleaning up the CSS, you should consider about the PHP too. Just take a look into header.php, there are too much code that is not necessary, if you know your site well.</p>
<p>Things like:</p>
<p><code>&#60;html xmlns="http://www.w3.org/1999/xhtml" &#60;?php language_attributes(); ?&#62;&#62;<br />
&#60;meta http-equiv="Content-Type" content="&#60;?php bloginfo('html_type'); ?&#62;; charset=&#60;?php bloginfo('charset'); ?&#62;" /&#62;<br />
&#60;?php wp_head(); ?&#62;</code></p>
<p>Are not necessary, if you know your website well. Language and charset, instead of asking to query the PHP again, it is always best to fix it yourself. Normally the language set to en-US and charset is UTF-8.</p>
<p><code>&#60;html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"&#62;<br />
&#60;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&#62;</code></p>
<p>Of course the wp_head() are mostly SEO friendly meta tag. SEO can easily archived by a plugin, I normally delete the line too.</p>
<h3>WP Super Cache really helps</h3>
<p><img src="http://www.zhngsuisui.com/uploads/1698wp-super-cache.gif" alt="WP Super Cache" /><br />
I ended all my WordPress sites with <a href="http://wordpress.org/extend/plugins/wp-super-cache" rel="nofollow">WP Super cache</a> plugin. I can&#8217;t deny the power of gzip compression it created to help cutting down the load of WordPress. WP Cache will create a static HTML files for certain pages, instead of query the PHP and your database again, it will show the static HTML to the rest of the visitors, which it doesn&#8217;t query any PHP at all.</p>
<p>I believe it&#8217;s not all yet. Those are what I normally do to cut down my sites and host load. Recently my host provider has a problem with high load server. The thing is m,y host provider is WPWebhost, a WordPress specialised hosting provider, I&#8217;m pretty sure there are bunch of account with WordPress sites did not optimise their WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2009/speed-up-wordpress-engine/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>To steal to copy or both?</title>
		<link>http://www.zhngsuisui.com/2009/to-steal-to-copy-or-both/</link>
		<comments>http://www.zhngsuisui.com/2009/to-steal-to-copy-or-both/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 02:35:44 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Graphic]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web designers]]></category>

		<guid isPermaLink="false">http://www.zhngsuisui.com/?p=115</guid>
		<description><![CDATA[A lot of time we have argument about who copying who and who steal who. Actually there's a very thin line in between copy and steal. My understanding on copy is to exactly extract from a existing design; while stealing is to get some part or even a "feel" of a existing design.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.zhngsuisui.com/uploads/4541thief.gif" alt="Steal" class="alignleft" />A lot of time we have argument about who copying who and who steal who. Actually there&#8217;s a very thin line in between copy and steal. My understanding on copy is to exactly extract from a existing design; while stealing is to get some part or even a &#8220;feel&#8221; of a existing design.</p>
<h3>Designers stealing each other</h3>
<p>It is very clear that there are lots of articles or information about recent web trend. Now, tell me, are those stealing the design and transform it into an articles for all other web designers to steal together?</p>
<p>It is as simple as brain stroming. From one trend to another, by the time you have a bunch of idea on paper, the &#8220;trend&#8221; would eventually gone and you&#8217;ll have an authentic and unique design. I agree to those who say getting inspiration from a design also consider as stealing. </p>
<h3>Newbies copy design</h3>
<p>Most web designers who copy an existing design is because they are new to the field. They have no place to go for, they don&#8217;t know how to make a great design beside taking from somewhere else, which eventually ended up copying the existing design. I too made some copying design previously, but it happen mostly on my own weblog. My weblog is like my experimental subject of WordPress, design and PHP.</p>
<p>Newbies who copy are not necessary a bad thing, but newbies who sell the design is bad bad thing. Copying could be a practice too. In order to polish up your Photoshop or XHTML/CSS skills, copy an existing design from scratch.</p>
<p>We have to be honest, we can&#8217;t stop from influenced by the environment and the surrounding. A lot of web designers (<em>my ex-colleagues and friends</em>) likes to sit on the desk and online to get (<em>read: steal</em>) inspiration. After all, when one designing on Photoshop, one will automatically thought about how the great design he seen before potrait.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zhngsuisui.com/2009/to-steal-to-copy-or-both/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
