<?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>Lab of Chowky &#187; Articles</title>
	<atom:link href="http://lab.chowky.com/category/articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://lab.chowky.com</link>
	<description>分享ＩＴ技術</description>
	<lastBuildDate>Sun, 01 Jan 2012 06:13:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Microsoft Server 2008 x64 32-bit 和 64-bit 的簡單解決方法</title>
		<link>http://lab.chowky.com/2011/07/microsoft-server-2008-x64-32-bit-%e5%92%8c-64-bit-%e7%9a%84%e7%b0%a1%e5%96%ae%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-server-2008-x64-32-bit-%25e5%2592%258c-64-bit-%25e7%259a%2584%25e7%25b0%25a1%25e5%2596%25ae%25e8%25a7%25a3%25e6%25b1%25ba%25e6%2596%25b9%25e6%25b3%2595</link>
		<comments>http://lab.chowky.com/2011/07/microsoft-server-2008-x64-32-bit-%e5%92%8c-64-bit-%e7%9a%84%e7%b0%a1%e5%96%ae%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 17:40:37 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2276</guid>
		<description><![CDATA[Chowky  在64-bit 的 Microsoft Server 2008 64bit 上要行 32bit application. 本想全部用 64bit 的executable. 只不過有很多legacy system 的driver 是不支援64bit 的，只有32bit 的支援，e.g. foxpro driver, crystal report server 11 runtime&#8230;etc.  這些真的沒有方法去解決的 (自己重寫個system / drvier? don&#8217;t play la)。當然，最絕的方法就要全部用32bit，推個客話technical problem 指個driver 無64bit support。但是全部採用32bit 的話就似乎影響了 performance (太堅持了~放棄咪唔駛咁慘 la). 簡單來講就要分開兩個來寫。～新的就用x64，舊的就用x86，但online 的解決方法實在太難明了，不想研究。最終都找到合適的方案 ～利用 visual studio build target platform～ &#160; &#160; chowky 都想一個project / executable [...]]]></description>
			<content:encoded><![CDATA[<p>Chowky  在64-bit 的 Microsoft Server 2008 64bit 上要行 32bit application. 本想全部用 64bit 的executable. 只不過有很多legacy system 的driver 是不支援64bit 的，只有32bit 的支援，e.g. foxpro driver, crystal report server 11 runtime&#8230;etc.  這些真的沒有方法去解決的 (自己重寫個system / drvier? don&#8217;t play la)。當然，最絕的方法就要全部用32bit，推個客話technical problem 指個driver 無64bit support。但是全部採用32bit 的話就似乎影響了 performance (太堅持了~放棄咪唔駛咁慘 la). </p>
<p>簡單來講就要分開兩個來寫。～新的就用x64，舊的就用x86，但online 的解決方法實在太難明了，不想研究。最終都找到合適的方案</p>
<p>～利用 visual studio build target platform～</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2011/07/configuration.png"><img class="alignnone size-full wp-image-2277" title="configuration" src="http://lab.chowky.com/wp-content/uploads/2011/07/configuration.png" alt="" width="640" height="291" /></a></p>
<p>&nbsp;<br />
<span id="more-2276"></span><br />
<a href="http://lab.chowky.com/wp-content/uploads/2011/07/configuration1.png"><img class="alignnone size-full wp-image-2278" title="configuration1" src="http://lab.chowky.com/wp-content/uploads/2011/07/configuration1.png" alt="" width="520" height="340" /></a></p>
<p>&nbsp;</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2011/07/configuration2.png"><img class="alignnone size-full wp-image-2279" title="configuration2" src="http://lab.chowky.com/wp-content/uploads/2011/07/configuration2.png" alt="" width="598" height="382" /></a></p>
<p>chowky 都想一個project / executable 就做完。但是，google 了很久都沒有一個很簡單的方法可以混合使用。（因為m$ 為了support X86 的legacy, 就加入了 <a href="http://en.wikipedia.org/wiki/WoW64">WoW64</a> ，咁有<strong>創意</strong>，不過就真係分得很開，所有library 都分開兩套，兩面無簡單方法 communicate，混合採用最終就放棄)  </p>
<p>只要利用以上step 就可以target on which platform.</p>
<p>所以 chowky 就想到了分開兩個exe ，利用parameters 去communicate with each other.</p>
<p>1. Executable for the main app.（ target for x64 )</p>
<p>2. Executable serve for foxpro (target for x86，用來handle legacy driver / executables ) chowky 的case 只是extract data only，extract 完就load 去 sql server as data store.</p>
<p>in x64 如果要call x86 的 executable 的sample:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;">Process proc <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Process<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
proc<span style="color: #008000;">.</span><span style="color: #0000FF;">StartInfo</span><span style="color: #008000;">.</span><span style="color: #0000FF;">FileName</span> <span style="color: #008000;">=</span> <span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//which is targeted x86</span>
proc<span style="color: #008000;">.</span><span style="color: #0000FF;">StartInfo</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Arguments</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;-paramTABLENAME&quot;</span><span style="color: #008000;">;</span>
proc<span style="color: #008000;">.</span><span style="color: #0000FF;">Start</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
proc<span style="color: #008000;">.</span><span style="color: #0000FF;">WaitForExit</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//wait for the process to be completed. chowky 需要synchronous handling 。</span></pre></td></tr></table></div>

<p>如果萬一x86 exe 有 exception, 就可以利用 proc 的return value 去handle. 雖然這個方法比較轉折，而且前提是要 <strong>DATABASE DRIVER x86 和 x64都要有</strong> (mssql 當然不用考慮這個問題，但是ORACLE、MYSQL 就要留意）</p>
<p>Good Luck!</p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2276" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2011%2F07%2Fmicrosoft-server-2008-x64-32-bit-%25e5%2592%258c-64-bit-%25e7%259a%2584%25e7%25b0%25a1%25e5%2596%25ae%25e8%25a7%25a3%25e6%25b1%25ba%25e6%2596%25b9%25e6%25b3%2595%2F&amp;title=Microsoft%20Server%202008%20x64%2032-bit%20%E5%92%8C%2064-bit%20%E7%9A%84%E7%B0%A1%E5%96%AE%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%B3%95" id="wpa2a_2"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2011/07/microsoft-server-2008-x64-32-bit-%e5%92%8c-64-bit-%e7%9a%84%e7%b0%a1%e5%96%ae%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Charting] 免費的 .NET Control &#8211; Microsoft Charing Component</title>
		<link>http://lab.chowky.com/2011/07/charting-microsoft-charing-component/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=charting-microsoft-charing-component</link>
		<comments>http://lab.chowky.com/2011/07/charting-microsoft-charing-component/#comments</comments>
		<pubDate>Mon, 04 Jul 2011 07:50:42 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[charting control]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2241</guid>
		<description><![CDATA[在以前ASP 的年代，如果大家需要 generate charting 的話，大多數都會利用一些charting 的 software (多數都要買 license)。 chowky 都做了一個 project 是 convert existing 的 asp project ，以前是利用 chartfx，不過都要買 license，當然客有錢，買license 當然無問題，但是ｂｕｄｇｅｔ　不多的ｃｌｉｅｎｔ　又要做到同樣的效果以前就十分困難了。 不過　Microsoft　近來賣大包，可能是為了再加強　.net framework 的功能，所以就收購了 Dundas Chart Control (當年都是commercial license 的 control) ，之後再免費加入去.net framework 入面。 sample generated 的chart 都十分很appealing，不用錢的話，就真的太好了。 The samples environments each contains a Getting Started section to help you start using the Chart [...]]]></description>
			<content:encoded><![CDATA[<p>在以前ASP 的年代，如果大家需要 generate charting 的話，大多數都會利用一些charting 的 software (多數都要買 license)。</p>
<p>chowky 都做了一個 project 是 convert existing 的 asp project ，以前是利用 chartfx，不過都要買 license，當然客有錢，買license 當然無問題，但是ｂｕｄｇｅｔ　不多的ｃｌｉｅｎｔ　又要做到同樣的效果以前就十分困難了。</p>
<p>不過　Microsoft　近來賣大包，可能是為了再加強　.net framework 的功能，所以就收購了 Dundas Chart Control (當年都是commercial license 的 control) ，之後再免費加入去.net framework 入面。<br />
<a href="http://lab.chowky.com/wp-content/uploads/2011/07/ChartSamples_thumb_1.jpg"></a><a href="http://lab.chowky.com/wp-content/uploads/2011/07/ChartSamples_thumb_1.jpg"><img class="alignnone size-full wp-image-2270" title="ChartSamples_thumb_1" src="http://lab.chowky.com/wp-content/uploads/2011/07/ChartSamples_thumb_1.jpg" alt="" width="644" height="128" /></a></p>
<p>sample generated 的chart 都十分很appealing，不用錢的話，就真的太好了。</p>
<p>The  samples environments each contains a Getting Started section to help  you start using the Chart controls quickly. The samples demonstrates how  to use the following features in Microsoft Chart Controls for .NET  Framework:</p>
<ul>
<li>All supported chart types.</li>
<li>Data series, chart areas, axes, legends, labels, titles, and more.</li>
<li>Data Binding</li>
<li>Data manipulation, such as copying, splitting, merging, alignment, grouping, sorting, searching, filtering, and more.</li>
<li>Statistical formulas and financial formulas.</li>
<li>Advanced chart appearance, such as 3D, anti-aliasing, lighting, perspective, and more.</li>
<li>Chart rendering.</li>
<li>Events and Customizations.</li>
<li>Interactivity and AJAX.</li>
</ul>
<p><span id="more-2241"></span></p>
<p>要注意的是：　要由 .net framework 4.0 開始先會包入control 入面，3.5 的話就要自己 download and install</p>
<ul>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=128852">Chart Controls for .NET Framework 3.5</a> (Beginning in .NET Framework 4, the Chart controls are part of the .NET Framework.)</li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=581FF4E3-749F-4454-A5E3-DE4C463143BD&amp;displaylang=en">Chart Controls for .NET Framework 3.5 Language Pack</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=1D69CE13-E1E5-4315-825C-F14D33A303E9&amp;displaylang=en">Chart Controls Add-on for Visual Studio 2008</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=128301">Chart Controls for .NET Framework Documentation</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=128713">Chart Controls Forum</a></li>
<li><a href="http://blogs.msdn.com/alexgor">Alex Gorev&#8217;s Chart Blog</a></li>
</ul>
<p>Source: <a href="http://archive.msdn.microsoft.com/mschart">http://archive.msdn.microsoft.com/mschart</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2241" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2011%2F07%2Fcharting-microsoft-charing-component%2F&amp;title=%5BCharting%5D%20%E5%85%8D%E8%B2%BB%E7%9A%84%20.NET%20Control%20%26%238211%3B%20Microsoft%20Charing%20Component" id="wpa2a_4"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2011/07/charting-microsoft-charing-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[iPhone] 系統內置字型清單 System Fonts Available List</title>
		<link>http://lab.chowky.com/2010/01/iphone-%e7%b3%bb%e7%b5%b1%e5%85%a7%e7%bd%ae%e5%ad%97%e5%9e%8b%e6%b8%85%e5%96%ae-system-fonts-available-list/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=iphone-%25e7%25b3%25bb%25e7%25b5%25b1%25e5%2585%25a7%25e7%25bd%25ae%25e5%25ad%2597%25e5%259e%258b%25e6%25b8%2585%25e5%2596%25ae-system-fonts-available-list</link>
		<comments>http://lab.chowky.com/2010/01/iphone-%e7%b3%bb%e7%b5%b1%e5%85%a7%e7%bd%ae%e5%ad%97%e5%9e%8b%e6%b8%85%e5%96%ae-system-fonts-available-list/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 12:06:03 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[available]]></category>
		<category><![CDATA[font family]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[list]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1789</guid>
		<description><![CDATA[chowky 當develop 的過程找到一個問題，就是的字型有何choices? 當然中文就完全沒有choice。只得一種字型。 但英文字型就有不少的choices. 這是styling 上必定會遇到的問題。 不過問題是documentation 沒有提及，所以就有developer dump 了一個清單。（當然自己都可以在Interface builder 看都可以看到的。 如果只是想改font size 就很簡單，用法是 UIFont *mainTitleFont = [UIFont boldSystemFontOfSize:14.0]; UIFont *subTitleFont = [UIFont SystemFontOfSize:14.0]; UIFont *textFont = [UIFont italicSystemFontOfSize:12.0]; 如果，你的做法不只一個的呢&#8230;.就要自己create 一個object 呢 UIFont *altFont = [UIFont fontWithName:@"Courier-Bold" size:14.0]; 以下的coding 就是dump 所有的fonts // List all fonts on iPhone NSArray *familyNames = [[NSArray alloc] initWithArray:[UIFont [...]]]></description>
			<content:encoded><![CDATA[<p>chowky 當develop 的過程找到一個問題，就是的字型有何choices? 當然中文就完全沒有choice。只得一種字型。</p>
<p>但英文字型就有不少的choices.</p>
<p>這是styling 上必定會遇到的問題。</p>
<p>不過問題是documentation 沒有提及，所以就有developer dump 了一個清單。（當然自己都可以在Interface builder 看都可以看到的。</p>
<p>如果只是想改font size 就很簡單，用法是</p>
<p>UIFont *mainTitleFont = [UIFont boldSystemFontOfSize:14.0];<br />
UIFont *subTitleFont = [UIFont SystemFontOfSize:14.0];<br />
UIFont *textFont = [UIFont italicSystemFontOfSize:12.0];</p>
<p>如果，你的做法不只一個的呢&#8230;.就要自己create 一個object 呢</p>
<p>UIFont *altFont = [UIFont fontWithName:@"Courier-Bold" size:14.0];</p>
<p>以下的coding 就是dump 所有的fonts<br />
// List all fonts on iPhone<br />
NSArray *familyNames = [[NSArray alloc] initWithArray:[UIFont familyNames]];<br />
NSArray *fontNames;<br />
NSInteger indFamily, indFont;<br />
for (indFamily=0; indFamily&lt;[familyNames count]; ++indFamily)<br />
{<br />
NSLog(@&#8221;Family name: %@&#8221;, [familyNames objectAtIndex:indFamily]);<br />
fontNames = [[NSArray alloc] initWithArray:<br />
[UIFont fontNamesForFamilyName:<br />
[familyNames objectAtIndex:indFamily]]];<br />
for (indFont=0; indFont&lt;[fontNames count]; ++indFont)<br />
{<br />
NSLog(@&#8221;    Font name: %@&#8221;, [fontNames objectAtIndex:indFont]);<br />
}<br />
[fontNames release];<br />
}<br />
[familyNames release];</p>
<p><span id="more-1789"></span></p>
<p>Using the iPhone SDK v2.1, the resulting output was as follows.</p>
<p>Family name: Hiragino Kaku Gothic ProN W3<br />
    Font name: HiraKakuProN-W3<br />
Family name: Courier<br />
    Font name: Courier<br />
    Font name: Courier-BoldOblique<br />
    Font name: Courier-Oblique<br />
    Font name: Courier-Bold<br />
Family name: Arial<br />
    Font name: ArialMT<br />
    Font name: Arial-BoldMT<br />
    Font name: Arial-BoldItalicMT<br />
    Font name: Arial-ItalicMT<br />
Family name: STHeiti TC<br />
    Font name: STHeitiTC-Light<br />
    Font name: STHeitiTC-Medium<br />
Family name: AppleGothic<br />
    Font name: AppleGothic<br />
Family name: Courier New<br />
    Font name: CourierNewPS-BoldMT<br />
    Font name: CourierNewPS-ItalicMT<br />
    Font name: CourierNewPS-BoldItalicMT<br />
    Font name: CourierNewPSMT<br />
Family name: Zapfino<br />
    Font name: Zapfino<br />
Family name: Hiragino Kaku Gothic ProN W6<br />
    Font name: HiraKakuProN-W6<br />
Family name: Arial Unicode MS<br />
    Font name: ArialUnicodeMS<br />
Family name: STHeiti SC<br />
    Font name: STHeitiSC-Medium<br />
    Font name: STHeitiSC-Light<br />
Family name: American Typewriter<br />
    Font name: AmericanTypewriter<br />
    Font name: AmericanTypewriter-Bold<br />
Family name: Helvetica<br />
    Font name: Helvetica-Oblique<br />
    Font name: Helvetica-BoldOblique<br />
    Font name: Helvetica<br />
    Font name: Helvetica-Bold<br />
Family name: Marker Felt<br />
    Font name: MarkerFelt-Thin<br />
Family name: Helvetica Neue<br />
    Font name: HelveticaNeue<br />
    Font name: HelveticaNeue-Bold<br />
Family name: DB LCD Temp<br />
    Font name: DBLCDTempBlack<br />
Family name: Verdana<br />
    Font name: Verdana-Bold<br />
    Font name: Verdana-BoldItalic<br />
    Font name: Verdana<br />
    Font name: Verdana-Italic<br />
Family name: Times New Roman<br />
    Font name: TimesNewRomanPSMT<br />
    Font name: TimesNewRomanPS-BoldMT<br />
    Font name: TimesNewRomanPS-BoldItalicMT<br />
    Font name: TimesNewRomanPS-ItalicMT<br />
Family name: Georgia<br />
    Font name: Georgia-Bold<br />
    Font name: Georgia<br />
    Font name: Georgia-BoldItalic<br />
    Font name: Georgia-Italic<br />
Family name: STHeiti J<br />
    Font name: STHeitiJ-Medium<br />
    Font name: STHeitiJ-Light<br />
Family name: Arial Rounded MT Bold<br />
    Font name: ArialRoundedMTBold<br />
Family name: Trebuchet MS<br />
    Font name: TrebuchetMS-Italic<br />
    Font name: TrebuchetMS<br />
    Font name: Trebuchet-BoldItalic<br />
    Font name: TrebuchetMS-Bold<br />
Family name: STHeiti K<br />
    Font name: STHeitiK-Medium<br />
    Font name: STHeitiK-Light</p>
<p>Source: <a href="http://ajnaware.wordpress.com/2008/10/24/list-of-fonts-available-on-the-iphone/">http://ajnaware.wordpress.com/2008/10/24/list-of-fonts-available-on-the-iphone/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1789" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2010%2F01%2Fiphone-%25e7%25b3%25bb%25e7%25b5%25b1%25e5%2585%25a7%25e7%25bd%25ae%25e5%25ad%2597%25e5%259e%258b%25e6%25b8%2585%25e5%2596%25ae-system-fonts-available-list%2F&amp;title=%5BiPhone%5D%20%E7%B3%BB%E7%B5%B1%E5%85%A7%E7%BD%AE%E5%AD%97%E5%9E%8B%E6%B8%85%E5%96%AE%20System%20Fonts%20Available%20List" id="wpa2a_6"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2010/01/iphone-%e7%b3%bb%e7%b5%b1%e5%85%a7%e7%bd%ae%e5%ad%97%e5%9e%8b%e6%b8%85%e5%96%ae-system-fonts-available-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SpatialKey 的收費模式 研究</title>
		<link>http://lab.chowky.com/2009/10/spatialkey-%e7%9a%84%e6%94%b6%e8%b2%bb%e6%a8%a1%e5%bc%8f-case-study/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spatialkey-%25e7%259a%2584%25e6%2594%25b6%25e8%25b2%25bb%25e6%25a8%25a1%25e5%25bc%258f-case-study</link>
		<comments>http://lab.chowky.com/2009/10/spatialkey-%e7%9a%84%e6%94%b6%e8%b2%bb%e6%a8%a1%e5%bc%8f-case-study/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 14:09:15 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[FLEX]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[data visualization]]></category>
		<category><![CDATA[spatialkey]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1523</guid>
		<description><![CDATA[SptialKey 是利用一家研究data visualization的公司，他們開發了一套在地圖上 visualize data 的software。 這間公司，FLEX 上的技術應該算是頂尖的。要使地圖上顯示得順暢，optimization, smoothness, lazy loading 都必不可少 (很大的學問呢)。 利用了heat map 的方法，去把data source overlay 在map 之上，當然 ，datasource ( csv 格式）亦有特定的格式吧，例如要有latitude 這類的positioning。 SpatialKey 還可以customize reporting ， 他們都已經beta 了有整年了 (chowky 在flex 2 的時代已經有參加beta program，beta 了這麼久，成本很高呢) ，所以現在階段，應該算是非常成熟，chowky 覺得這套software 非常厲害。 太多題外話了，入正題！要study 一下他們的收費模式，看看有沒有什麼地方值得參考。 他們用了兩種不同的方法。 1. On-Demand 簡單來說就是月費模式，這是一個cloud (雲端）的architecture，而且他們會host 在amazon cloud （amazon cloud 都算非常穩定） ，這種做法的好處是，SpatialKey 自已不用maintain server，若是自已maintain [...]]]></description>
			<content:encoded><![CDATA[<p>SptialKey 是利用一家研究data visualization的公司，他們開發了一套在地圖上 visualize data 的software。</p>
<p>這間公司，FLEX 上的技術應該算是頂尖的。要使地圖上顯示得順暢，optimization, smoothness, lazy loading 都必不可少 (很大的學問呢)。</p>
<p>利用了heat map 的方法，去把data source overlay 在map 之上，當然 ，datasource ( csv 格式）亦有特定的格式吧，例如要有latitude 這類的positioning。</p>
<p>SpatialKey 還可以customize reporting ， 他們都已經beta 了有整年了 (chowky 在flex 2 的時代已經有參加beta program，beta 了這麼久，成本很高呢) ，所以現在階段，應該算是非常成熟，chowky 覺得這套software 非常厲害。</p>
<p>太多題外話了，入正題！要study 一下他們的收費模式，看看有沒有什麼地方值得參考。</p>
<p>他們用了兩種不同的方法。</p>
<p>1. On-Demand<br />
<img src="http://www.spatialkey.com/images/uploads/on-demand.jpg" alt="" /><br />
 簡單來說就是月費模式，這是一個cloud (雲端）的architecture，而且他們會host 在amazon cloud （amazon cloud 都算非常穩定） ，這種做法的好處是，SpatialKey 自已不用maintain server，若是自已maintain server 做cloud service 的話，要做的準備（infrastructure, bandwidth, software&#8230;.) 功夫很多。而且又不用預計scalability.<br />
<span id="more-1523"></span><br />
對於用家而言，穩定勝於一切，利用amazon cloub應該可以提昇了用家使用上的信心 ，又不用maintain server，而且cloud的成本不高，應該不會成本大漲而轉嫁給用家。</p>
<p>chowky 覺得不太對勁，使用得 spatialKey 這類上產品，公司本身應該不會得太細scale，怎說都可算是大企業，而且這個範圍是很專門的&#8230;&#8230;chowky 不是覺得cloud 不好，只是好像不太適合spatialkey.</p>
<p>另外一個是 On-Premise<br />
<img src="http://www.spatialkey.com/images/uploads/on-premise.jpg" alt="" /><br />
其實這個才算適合spatialkey&#8230;.<br />
想做得這種方式的分析，想必一定是大機構，大機構最重視的是data security，大機構財雄大勢大，不會計較錢的呢。</p>
<p>這個收費模式是幫機構deploy 和maintain spatialkey server，再收取license fee 和maintenance fee.。</p>
<p>這個方案當然是適合大機構的，而cloud 的形式是適合online shop 的呢～（但每次迫你買10個user&#8230;&#8230;又好像太多&#8230;.2﹣5 個user 都己經很夠了，對user 來說是waste 了。）</p>
<p>做RIA的方針，都是本著‘大小通吃’的各度出發?<br />
哈，應該說好一點：<br />
是為不同需求的用家提供他們所需的服務。<br />
現在有了cloud service ，減除service maintenance 和infrastructure 的cost ， 可以成本最低的方法去提供用家所需服務。所以若果要做SaaS 的話，cloud 應該免不了呢～<br />
換句話說，若你想做PRODUCT DEVLEOPMENT，應該要預計把backend （server-side/ logical layer) 雲端化。 才可以吸納更多的用戶群，覆蓋範圍才會廣呢 (要留意的是，除非是建立了一個穩定的community，否則每一個問題都會是自己解決的&#8230;&#8230;人力資源上的分配要小心處理)</p>
<p>Source: <a href="http://www.spatialkey.com/pricing/?utm_source=SpatialKey&#038;utm_campaign=dca84a2d9c-SpatialKey_beta_to_trial_10_27_2009_213&#038;utm_medium=email">http://www.spatialkey.com/pricing/?utm_source=SpatialKey&#038;utm_campaign=dca84a2d9c-SpatialKey_beta_to_trial_10_27_2009_213&#038;utm_medium=email</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1523" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F10%2Fspatialkey-%25e7%259a%2584%25e6%2594%25b6%25e8%25b2%25bb%25e6%25a8%25a1%25e5%25bc%258f-case-study%2F&amp;title=SpatialKey%20%E7%9A%84%E6%94%B6%E8%B2%BB%E6%A8%A1%E5%BC%8F%20%E7%A0%94%E7%A9%B6" id="wpa2a_8"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/10/spatialkey-%e7%9a%84%e6%94%b6%e8%b2%bb%e6%a8%a1%e5%bc%8f-case-study/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone App 的淘金熱，其他的mobile 市場都能淘?</title>
		<link>http://lab.chowky.com/2009/09/iphone-app-%e7%9a%84%e6%b7%98%e9%87%91%e7%86%b1%ef%bc%8c%e5%85%b6%e4%bb%96%e7%9a%84mobile-%e5%b8%82%e5%a0%b4%e9%83%bd%e8%83%bd%e6%b7%98/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=iphone-app-%25e7%259a%2584%25e6%25b7%2598%25e9%2587%2591%25e7%2586%25b1%25ef%25bc%258c%25e5%2585%25b6%25e4%25bb%2596%25e7%259a%2584mobile-%25e5%25b8%2582%25e5%25a0%25b4%25e9%2583%25bd%25e8%2583%25bd%25e6%25b7%2598</link>
		<comments>http://lab.chowky.com/2009/09/iphone-app-%e7%9a%84%e6%b7%98%e9%87%91%e7%86%b1%ef%bc%8c%e5%85%b6%e4%bb%96%e7%9a%84mobile-%e5%b8%82%e5%a0%b4%e9%83%bd%e8%83%bd%e6%b7%98/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 07:32:22 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[nokia]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1316</guid>
		<description><![CDATA[其實iPhone 現在都比較難度高了，已經有一批成功的公司，長期推出不同的新apps，當然idea就不是人人都想到的。 以下的文章就講，既然iphone 的市場這麼困難，不如去另外的地方，e.g. andriod, blackberry or nokia 的市場吧，而且這些都有一個新的platform 去放上架。 不過chowky 就覺得如果這麼容易就能夠copy app store 的成功。 我們應該要從marketing 方面去想想。 andriod 還未知道. blackberry 是manager level 的. nokia 的太散，沒有dominant的segment. 還要考慮一下，platform 的成熟程度，除了app store 之外，其實全部都是新開發的，到時買賣出錯就很麻煩了。 Source: http://blogs.techrepublic.com.com/hiner/?p=2744&#38;tag=nl.e101]]></description>
			<content:encoded><![CDATA[<p>其實iPhone 現在都比較難度高了，已經有一批成功的公司，長期推出不同的新apps，當然idea就不是人人都想到的。</p>
<p>以下的文章就講，既然iphone 的市場這麼困難，不如去另外的地方，e.g. andriod, blackberry or nokia 的市場吧，而且這些都有一個新的platform 去放上架。</p>
<p>不過chowky 就覺得如果這麼容易就能夠copy app store 的成功。</p>
<p>我們應該要從marketing 方面去想想。<br />
andriod 還未知道.<br />
blackberry 是manager level 的.<br />
nokia 的太散，沒有dominant的segment.</p>
<p>還要考慮一下，platform 的成熟程度，除了app store 之外，其實全部都是新開發的，到時買賣出錯就很麻煩了。</p>
<p>Source: <a href="http://blogs.techrepublic.com.com/hiner/?p=2744&amp;tag=nl.e101">http://blogs.techrepublic.com.com/hiner/?p=2744&amp;tag=nl.e101</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1316" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F09%2Fiphone-app-%25e7%259a%2584%25e6%25b7%2598%25e9%2587%2591%25e7%2586%25b1%25ef%25bc%258c%25e5%2585%25b6%25e4%25bb%2596%25e7%259a%2584mobile-%25e5%25b8%2582%25e5%25a0%25b4%25e9%2583%25bd%25e8%2583%25bd%25e6%25b7%2598%2F&amp;title=iPhone%20App%20%E7%9A%84%E6%B7%98%E9%87%91%E7%86%B1%EF%BC%8C%E5%85%B6%E4%BB%96%E7%9A%84mobile%20%E5%B8%82%E5%A0%B4%E9%83%BD%E8%83%BD%E6%B7%98%3F" id="wpa2a_10"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/09/iphone-app-%e7%9a%84%e6%b7%98%e9%87%91%e7%86%b1%ef%bc%8c%e5%85%b6%e4%bb%96%e7%9a%84mobile-%e5%b8%82%e5%a0%b4%e9%83%bd%e8%83%bd%e6%b7%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[White Paper] 文章分享 USING OPEN-SOURCE SOA IN AN ENTERPRISE DEPLOYMENT Reducing costs, lowering risks, and increasing flexibility</title>
		<link>http://lab.chowky.com/2009/08/white-paper-%e6%96%87%e7%ab%a0%e5%88%86%e4%ba%ab-using-open-source-soa-in-an-enterprise-deployment-reducing-costs-lowering-risks-and-increasing-flexibility/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=white-paper-%25e6%2596%2587%25e7%25ab%25a0%25e5%2588%2586%25e4%25ba%25ab-using-open-source-soa-in-an-enterprise-deployment-reducing-costs-lowering-risks-and-increasing-flexibility</link>
		<comments>http://lab.chowky.com/2009/08/white-paper-%e6%96%87%e7%ab%a0%e5%88%86%e4%ba%ab-using-open-source-soa-in-an-enterprise-deployment-reducing-costs-lowering-risks-and-increasing-flexibility/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 05:07:12 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[service-oriented architecture]]></category>
		<category><![CDATA[soa]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[whitepaper]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1235</guid>
		<description><![CDATA[Sun 主力是賣hardware的，再配搭opensource的軟件。 所以會有很多研究闗於opensource怎令enterprise 下調成本。 當然這篇文章，對於IT  with Business 有興趣的朋友就一定會很悶的。因為是非常business，這是service-oriented architecture (SOA) Many companies are turning to a service-oriented architecture (SOA) approach to use their existing IT assets in new ways. Application functionality is made available as a service, available to all applications that use that particular capability. Business managers know that an SOA is a key [...]]]></description>
			<content:encoded><![CDATA[<p>Sun 主力是賣hardware的，再配搭opensource的軟件。</p>
<p>所以會有很多研究闗於opensource怎令enterprise 下調成本。</p>
<p>當然這篇文章，對於IT  with Business 有興趣的朋友就一定會很悶的。因為是非常business，這是service-oriented architecture (SOA)</p>
<blockquote><p>Many companies are turning to a service-oriented architecture (SOA) approach to use their existing IT assets in new ways. Application functionality is made available as a service, available to all applications that use that particular capability. Business managers know that an SOA is a key technology in business integration, and can help increase agility, improve customer satisfaction, and increase responsiveness.</p></blockquote>
<p><span id="more-1235"></span></p>
<p>這篇文章會先講opensource SOA benefits，但最終都會介紹自己產品（那當然！）怎樣做到。</p>
<blockquote><p>Using Open-Source SOA in Enterprise Deployment</p>
<ul>
<li>Advantages of open-source</li>
<li>The business case for open-source SOA</li>
<li>Low-cost and reduced-risk solutions</li>
<li>Sun&#8217;s modular, open-source SOA</li>
</ul>
</blockquote>
<p>當你是一個cio的時候（可能太高la，manager啦），你做每件事都要有support，當然就要自己找supporting啦。</p>
<p>雖然chowky覺得opensource是非常好，但需要的人的skills上更多。每一種都是錢。</p>
<p>大家都可以當作學英文呢，出得來的report，用的詞語當然會review過。</p>
<p>Source:<a href="https://sg.sun.com/secure/offers/details/opensource_soa/"> https://sg.sun.com/secure/offers/details/opensource_soa/</a> (Signup required)　「哈，sun應該要比affliate chowky 啦」</p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1235" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F08%2Fwhite-paper-%25e6%2596%2587%25e7%25ab%25a0%25e5%2588%2586%25e4%25ba%25ab-using-open-source-soa-in-an-enterprise-deployment-reducing-costs-lowering-risks-and-increasing-flexibility%2F&amp;title=%5BWhite%20Paper%5D%20%E6%96%87%E7%AB%A0%E5%88%86%E4%BA%AB%20USING%20OPEN-SOURCE%20SOA%20IN%20AN%20ENTERPRISE%20DEPLOYMENT%20Reducing%20costs%2C%20lowering%20risks%2C%20and%20increasing%20flexibility" id="wpa2a_12"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/08/white-paper-%e6%96%87%e7%ab%a0%e5%88%86%e4%ba%ab-using-open-source-soa-in-an-enterprise-deployment-reducing-costs-lowering-risks-and-increasing-flexibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>小心IE7 javascript 的 getElementById Method  的問題</title>
		<link>http://lab.chowky.com/2009/08/%e5%b0%8f%e5%bf%83ie7-javascript-%e7%9a%84-getelementbyid-method-%e7%9a%84%e5%95%8f%e9%a1%8c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e5%25b0%258f%25e5%25bf%2583ie7-javascript-%25e7%259a%2584-getelementbyid-method-%25e7%259a%2584%25e5%2595%258f%25e9%25a1%258c</link>
		<comments>http://lab.chowky.com/2009/08/%e5%b0%8f%e5%bf%83ie7-javascript-%e7%9a%84-getelementbyid-method-%e7%9a%84%e5%95%8f%e9%a1%8c/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 04:29:34 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[getElementById]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[問題]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1025</guid>
		<description><![CDATA[1. 要注意用相同的 name and id attributes for Form Inputs chowky 很久以前都覺得奇怪，不過這是因為IE系列和其他不同的browser的分別，ie 是會search 左name attribute先，再search id attribute，但是其他browser是不會的。所以兩個attributes 都要用相同的名。避免發生問題 1 &#60;input type=&#34;text&#34; name=&#34;full_address&#34; id=&#34;address&#34; value=&#34;5th Avenue&#34; /&#62; 2. 不要放name attribute 在form tag 入面。 和上面的情況非常相似，要避免IE的問題。 不過chowky 不知道name 是deprecated (哈) Also, the name attribute for forms is deprecated in XHTML Strict, so it’s not best practice anyhow. The name [...]]]></description>
			<content:encoded><![CDATA[<p>1. 要注意用相同的 name and id attributes for Form Inputs<br />
chowky 很久以前都覺得奇怪，不過這是因為IE系列和其他不同的browser的分別，ie 是會search 左name attribute先，再search id attribute，但是其他browser是不會的。所以兩個attributes 都要用相同的名。避免發生問題</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;full_address&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;address&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;5th Avenue&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></td></tr></table></div>

<p>2. 不要放name attribute 在form tag 入面。<br />
和上面的情況非常相似，要避免IE的問題。</p>
<p>不過chowky 不知道name 是deprecated (哈)</p>
<blockquote><p>Also, the name attribute for forms is deprecated in XHTML Strict, so it’s not best practice anyhow. The name attribute was added to form elements in older sites, so if you’re trying to debug a getElementById issue in IE7 on some inherited code, there could be a conflict occurring due to this fact.</p></blockquote>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;contact_form&quot;</span>&gt;</span></pre></td></tr></table></div>

<p><span id="more-1025"></span><br />
3. 不要在任何element tag 中使用 id=&#8221;description&#8221;<br />
這個真的奇怪，而且chowky 都不知道，因為未試過中招呢。~<br />
不過原來好簡單。<br />
因為是ie 的name attribute 和id attribute 的衝突。<br />
大家有無留意過，每一個website都會有meta tag</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;website description&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>  
<span style="color: #808080; font-style: italic;">&lt;!-- 就是這句，description 是name attribute，所以ie上其他的element 有description 要避免使用--&gt;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">//所以這兩句get出來的value : firefox 正常，但ie6,7 就會失敗，因為meta tag 是沒有value</span>
<span style="color: #003366; font-weight: bold;">var</span> textareaBox <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;description&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>textareaBox.<span style="color: #660066;">value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>如果不能改變html 的話，就看看原文，有提供簡單的<a href="http://www.impressivewebs.com/avoiding-problems-with-javascript-getelementbyid-method-in-internet-explorer-7/">方向</a>去解決問題</p>
<p>Source: <a href="http://www.impressivewebs.com/avoiding-problems-with-javascript-getelementbyid-method-in-internet-explorer-7/">http://www.impressivewebs.com/avoiding-problems-with-javascript-getelementbyid-method-in-internet-explorer-7/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1025" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F08%2F%25e5%25b0%258f%25e5%25bf%2583ie7-javascript-%25e7%259a%2584-getelementbyid-method-%25e7%259a%2584%25e5%2595%258f%25e9%25a1%258c%2F&amp;title=%E5%B0%8F%E5%BF%83IE7%20javascript%20%E7%9A%84%20getElementById%20Method%20%20%E7%9A%84%E5%95%8F%E9%A1%8C" id="wpa2a_14"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/08/%e5%b0%8f%e5%bf%83ie7-javascript-%e7%9a%84-getelementbyid-method-%e7%9a%84%e5%95%8f%e9%a1%8c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 Reasons Why Clients Don&#8217;t Choose you?</title>
		<link>http://lab.chowky.com/2009/08/3-reasons-why-clients-dont-choose-you/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=3-reasons-why-clients-dont-choose-you</link>
		<comments>http://lab.chowky.com/2009/08/3-reasons-why-clients-dont-choose-you/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 06:19:05 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1042</guid>
		<description><![CDATA[chowky thinks it is similar to many industry (at least for the IT industry) 3 個原因: 1. Price 價錢 太便宜的話，別人都不會信你。 On the other side, a client may not choose you because your prices are too low! Even though we received quotes from others that were way below what you quoted us, we want to work [...]]]></description>
			<content:encoded><![CDATA[<p>chowky thinks it is similar to many industry (at least for the IT industry)</p>
<p>3 個原因:</p>
<p>1. Price 價錢</p>
<p>太便宜的話，別人都不會信你。</p>
<p>  <strong>On the other side, a client may not choose you because your prices are too low!</strong></p>
<blockquote><p>Even though we received quotes from others that were way below what you quoted us, we want to work with you because your portfolio and professionalism exceeds the rest, and that is what is important to us.”</p></blockquote>
<p>純粹價格的上競爭，香港跟本不能和大陸、印度的比較，所以應該要從其他方面著手。</p>
<p>不過chowky現在都要選擇性接。depends on projects how it affects you。</p>
<p>2. Professionalism 專業</p>
<blockquote><p>Every way you interact with the client is reviewed</p></blockquote>
<p>自己想想&#8230;.自己會不會有些習慣令人的感覺有問題。</p>
<p>3. Portfolio 作品的選輯</p>
<blockquote><p>The client wants to feel completely confident that you can provide a perfect solution for their needs, and no matter how good the rest of the work in your portfolio is, if it is not industry related to their company, they may not choose to work with you.</p></blockquote>
<p>Source: <a href="http://www.brianyerkes.com/3-reasons-why-clients-dont-choose-you/">http://www.brianyerkes.com/3-reasons-why-clients-dont-choose-you/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1042" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F08%2F3-reasons-why-clients-dont-choose-you%2F&amp;title=3%20Reasons%20Why%20Clients%20Don%26%238217%3Bt%20Choose%20you%3F" id="wpa2a_16"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/08/3-reasons-why-clients-dont-choose-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sticky (Fixed) SideNav Layout with CSS</title>
		<link>http://lab.chowky.com/2009/08/sticky-fixed-sidenav-layout-with-css/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sticky-fixed-sidenav-layout-with-css</link>
		<comments>http://lab.chowky.com/2009/08/sticky-fixed-sidenav-layout-with-css/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 05:50:06 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Jquery, Mootools]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1026</guid>
		<description><![CDATA[完成圖 構成的structure HTML tag 1 2 3 4 &#60;div class=&#34;container&#34;&#62; &#60;div id=&#34;sidenav&#62;&#60;!--Fixed Sidenav Goes Here--&#62;&#60;/div&#62; &#60;div id=&#34;content&#34;&#62;&#60;!--Content Goes Here--&#62;&#60;/div&#62; &#60;/div&#62; 利用簡單的技巧， 把sidenav 的加上position 和fix的properties. position: fixed; float: left; CSS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 .container &#123; width: 980px; margin: 0 auto; overflow: [...]]]></description>
			<content:encoded><![CDATA[<p>完成圖<br />
<img src="http://www.sohtanaka.com/web-design/examples/sticky-nav/preview.jpg" alt="" /></p>
<p>構成的structure<br />
<img src="http://www.sohtanaka.com/web-design/examples/sticky-nav/breakdown1.jpg" alt="" /></p>
<p>HTML tag</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sidenav&gt;</span></span><span style="color: #808080; font-style: italic;">&lt;!--Fixed Sidenav Goes Here--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;content&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--Content Goes Here--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>

<p>利用簡單的技巧，<br />
把sidenav 的加上position 和fix的properties.<br />
position: fixed;<br />
float: left;<br />
<strong>CSS</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.container</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">980px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">container_stretch.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.2em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidenav</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">fixed</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*--Fix the sidenav to stay in one spot--*/</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*--Keeps sidenav into place when Fixed positioning fails--*/</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#content</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*--Keeps content to the right side--*/</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">640px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>可惜ie6不支援fixed position property<br />
所以要workaround..</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #00AA00;">*</span>html <span style="color: #cc00cc;">#sidenav</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> expression<span style="color: #00AA00;">&#40;</span> <span style="color: #00AA00;">&#40;</span> <span style="color: #cc66cc;">0</span>   <span style="color: #00AA00;">&#40;</span> ignoreMe2 <span style="color: #00AA00;">=</span> document<span style="color: #6666ff;">.documentElement</span><span style="color: #6666ff;">.scrollLeft</span> ? document<span style="color: #6666ff;">.documentElement</span><span style="color: #6666ff;">.scrollLeft</span> <span style="color: #00AA00;">:</span> document<span style="color: #6666ff;">.body</span><span style="color: #6666ff;">.scrollLeft</span> <span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">&#41;</span>   <span style="color: #ff0000;">'px'</span> <span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> expression<span style="color: #00AA00;">&#40;</span> <span style="color: #00AA00;">&#40;</span> <span style="color: #cc66cc;">0</span>   <span style="color: #00AA00;">&#40;</span> ignoreMe <span style="color: #00AA00;">=</span> document<span style="color: #6666ff;">.documentElement</span><span style="color: #6666ff;">.scrollTop</span> ? document<span style="color: #6666ff;">.documentElement</span><span style="color: #6666ff;">.scrollTop</span> <span style="color: #00AA00;">:</span> document<span style="color: #6666ff;">.body</span><span style="color: #6666ff;">.scrollTop</span> <span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">&#41;</span>   <span style="color: #ff0000;">'px'</span> <span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><span id="more-1026"></span><br />
<strong>Building the SideNav – HTML/CSS</strong><br />
加入SideNav 的content。<br />
html:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;logo.gif&quot;</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;categories&quot;</span>&gt;</span>Categories<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
        	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sites&quot;</span>&gt;</span>Other Sites<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
        	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
        	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Link<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></pre></td></tr></table></div>

<p>css: level 2 的headings tag 是轉換了成為background image。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sidenav</span> h2 <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-99999px</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*--Push the text off of the page--*/</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">41px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span>  <span style="color: #933;">20px</span> <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*--Set position of each heading background--*/</span>
<span style="color: #00AA00;">&#125;</span>
h2<span style="color: #6666ff;">.categories</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">h2_categories.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span> <span style="color: #808080; font-style: italic;">/*--Background image for &quot;category&quot; heading--*/</span>
h2<span style="color: #6666ff;">.sites</span> <span style="color: #00AA00;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">h2_othersites.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span> <span style="color: #808080; font-style: italic;">/*--Background image for &quot;other sites&quot; heading--*/</span>
<span style="color: #cc00cc;">#sidenav</span> ul <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span> <span style="color: #933;">30px</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">sidenav_hr.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*--thin break line underneath the navigation--*/</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidenav</span> ul li<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>  <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*--Fixes IE6 bug of double margin--*/</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidenav</span> ul li a<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>  <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">sidenav_arrow.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidenav</span> ul li a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>原文還提及，怎樣用jquery 都一個fix 當左面的sidenav 太大。<br />
不過chowky 認為不太重要~~所以有興趣自己去看看吧</p>
<p>License: License Free<br />
Source: <a href="http://designm.ag/tutorials/sticky-sidenav-layout/">http://designm.ag/tutorials/sticky-sidenav-layout/</a><br />
Demo: <a href="http://www.sohtanaka.com/web-design/examples/sticky-nav/">http://www.sohtanaka.com/web-design/examples/sticky-nav/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1026" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F08%2Fsticky-fixed-sidenav-layout-with-css%2F&amp;title=Sticky%20%28Fixed%29%20SideNav%20Layout%20with%20CSS" id="wpa2a_18"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/08/sticky-fixed-sidenav-layout-with-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[iPhone] 3gs Specification Accidentally Revaled</title>
		<link>http://lab.chowky.com/2009/06/iphone-3gs-specification-accidentally-revaled/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=iphone-3gs-specification-accidentally-revaled</link>
		<comments>http://lab.chowky.com/2009/06/iphone-3gs-specification-accidentally-revaled/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 04:55:30 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[3gs]]></category>
		<category><![CDATA[specification]]></category>
		<category><![CDATA[硬件]]></category>
		<category><![CDATA[配備]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=689</guid>
		<description><![CDATA[最新的iphone 3gs，600 MHz CPU and 256 MB of RAM 而iphone 3g， 412 MHz CPU and 128 MB of RAM 其他公司的smartphone 配備: BlackBerry Bold: 624 MHz CPU and 128 MB of RAM Palm Pre: 600 MHz CPU and 256 MB of RAM Nokia N97: 434 MHz CPU and 128 MB of RAM. apple 不想公佈實際的specification 原因 因為apple [...]]]></description>
			<content:encoded><![CDATA[<p>最新的iphone 3gs，600 MHz CPU and 256 MB of RAM<br />
而iphone 3g， 412 MHz CPU and 128 MB of RAM<br />
其他公司的smartphone 配備:<br />
BlackBerry Bold: 624 MHz CPU and 128 MB of RAM<br />
Palm Pre: 600 MHz CPU and 256 MB of RAM<br />
Nokia N97: 434 MHz CPU and 128 MB of RAM.</p>
<p><img src="http://lab.chowky.com/wp-content/uploads/2009/06/311136-500-204.png" alt="311136-500-204" title="311136-500-204" width="500" height="204" class="alignnone size-full wp-image-699" /><br />
<span id="more-689"></span><br />
apple 不想公佈實際的specification 原因<br />
因為apple 的marketing strategy 是humanized technology experience，不想別人在意iphone 的specification ，從而比較硬件上的分別，因為想sell better user experience, user friendly，令user把iphone 和其他的smartphone 分開看待。</p>
<blockquote><p>Apple doesn’t want people to think about their products as the sum of the parts but as a more humanized technology experience. And, as such, it takes a different approach to both building products and marketing them.</p></blockquote>
<p>Source: <a href="http://www.macworld.com/article/141051/2009/06/iphone_black_box.html">http://www.macworld.com/article/141051/2009/06/iphone_black_box.html</a><br />
Source: <a href="http://blogs.techrepublic.com.com/hiner/?p=1809&#038;tag=nl.e019">http://blogs.techrepublic.com.com/hiner/?p=1809&#038;tag=nl.e019</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=689" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F06%2Fiphone-3gs-specification-accidentally-revaled%2F&amp;title=%5BiPhone%5D%203gs%20Specification%20Accidentally%20Revaled" id="wpa2a_20"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/06/iphone-3gs-specification-accidentally-revaled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

