<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>網站製作學習誌</title>
<link>http://blog.roodo.com/jaceju/</link>
<description>
首頁
讀者留言版
管理介面












_uacct = &quot;UA-450710-1&quot;;
urchinTracker();
</description>
<language>zh-tw</language>
<generator>Roodo Blog System</generator>
<copyright>All Rights Reserved</copyright>
<atom:link href="http://blog.roodo.com/jaceju/rss.xml" rel="self" type="application/rss+xml" />
<item>
	<title>[Web] 連結分享</title>
	<description><![CDATA[<h2 >PHP</h2>
<ul>
    <li><a href="http://www.developertutorials.com/blog/php/debugging-php-with-firebug-and-firephp-365/" >Debugging PHP with Firebug and FirePHP</a> </li>
    <li><a href="http://phpimpact.wordpress.com/2008/07/19/using-annotations-in-php/" >Using Annotations in PHP</a> </li>
    <li><a href="http://wiki.php.net/todo/php53" >PHP: todo:php53</a> </li>
    <li><a href="http://verens.com/archives/2008/07/28/innerhtml-in-php-dom/" >innerHTML in php-dom</a> </li>
    <li><a href="http://www.moskalyuk.com/blog/php-optimization-tips/1272" >12 PHP optimization tips</a> </li>
    <li><a href="http://www.phpobject.net/blog/read.php?140" >PHP5的 SPL</a> </li>
    <li><a href="http://tw.php.net/features.commandline" >PHP: Using PHP from the command line</a> </li>
    <li><a href="http://cognifty.com/main.content/write_your_own_virtual_host_control_panel_part_1.html" >Write Your Own Virtual Host Control Panel - Part 1</a> </li>
    <li><a href="http://www.lornajane.net/posts/2008/Accessing-Incoming-PUT-Data-from-PHP" >Accessing Incoming PUT Data from PHP</a> </li>
    <li><a href="http://www.developertutorials.com/blog/php/parallel-web-scraping-in-php-curl-multi-functions-375/" >Parallel web scraping in PHP: cURL multi functions</a> </li>
    <li><a href="http://codefeast.com/?p=11" >PHP5 Autoloading on Steroids</a> </li>
    <li><a href="http://www.web-development-blog.com/archives/create-custom-backups-from-your-website-using-curl/#more-145" >Create custom backups from your website using cURL</a> </li>
    <li><a href="http://threebyte.eu/2008/07/30/strand-sort-presented-in-php/" >Strand sort presented in PHP</a> </li>
    <li><a href="http://htmlblog.net/geolocate-your-visitors-with-php-part-2/" >Geolocate your visitors with PHP (part 2)</a> </li>
    <li><a href="http://www.rooftopsolutions.nl/article/199" >Upcoming features in PHP 5.3</a> </li>
    <li><a href="http://phpimpact.wordpress.com/2008/08/04/php-applications-where-is-the-include-coming-from/" >Where is the include coming from?</a> </li>
    <li><a href="http://www.phpfreaks.com/blog/testing-php530" >Testing php5.3.0 alpha1</a> </li>
    <li><a href="http://www.phpv.net/html/PHP_namespace.html" >PHP5.3 新特性之&quot;命名空间&quot;介绍</a> </li>
    <li><a href="http://www.ooso.net/index.php/archives/464" >mysqlnd成为php 5.3中的默认mysql驱动</a> </li>
    <li><a href="http://www.phpv.net/html/1622.html" >PHP面试题汇总</a> </li>
    <li><a href="http://blog.miniasp.com/post/2008/08/Microsoft-SQL-Server-2005-Driver-for-PHP-Released.aspx" >微軟推出官方版的 Microsoft SQL Server 2005 Driver for PHP</a> </li>
</ul>
<h3 >Zend Framework</h3>
<ul>
    <li><a href="http://www.zendframeworkinaction.com/2008/07/22/zend-framework-16-release-candidate-1-available/" >Zend Framework 1.6 Release Candidate 1 available</a> </li>
    <li><a href="http://www.thomasweidner.com/flatpress/2008/07/20/zend_file_transfer-examples-or-using-validators-to-increase-security" >Zend_File_Transfer examples or using validators to increase security</a> </li>
    <li><a href="http://phpimpact.wordpress.com/2008/07/28/zend-framework-architecture/" >Zend Framework Architecture</a> </li>
    <li><a href="http://andigutmans.blogspot.com/2008/07/adobe-to-contribute-amf-support-to-zend.html" >Adobe to contribute AMF support to Zend Framework</a> </li>
    <li><a href="http://propaganda.io/tutorials/" >Zend_View_smarty</a> </li>
    <li><a href="http://weierophinney.net/matthew/archives/183-Zend-Framework-1.6.0-Preview,-or,-PHP-4-is-Dead.html" >Zend Framework 1.6.0 Preview, or, PHP 4 is Dead</a> </li>
    <li><a href="http://anders.tyckr.com/2008/03/12/" >Implementing Zend Layout and Smarty using Zend Framework MVC</a> </li>
</ul>
<h2 >JavaScript</h2>
<ul>
    <li><a href="http://yuiblog.com/blog/2008/07/22/non-blocking-scripts/" >Non-blocking JavaScript Downloads</a> </li>
    <li><a href="http://www.blueidea.com/tech/web/2008/5980.asp" >用JS实现一个页面两份样式表</a> </li>
    <li><a href="http://www.rooftopsolutions.nl/article/197" >Preventing XSS in Javascript strings</a> </li>
    <li><a href="http://labs.unitinteractive.com/unitpngfix.php" >Unit PNG Fix</a> </li>
</ul>
<h3 >jQuery</h3>
<ul>
    <li><a href="http://www.pathf.com/blogs/2008/07/five-jquery-plugins-that-are-a-joy-to-use/" >Five jQuery plugins that are a joy to use</a> </li>
    <li><a href="http://www.webappers.com/2008/07/23/jquery-colorpicker-with-easy-customization/" >jQuery ColorPicker with Easy Customization</a> </li>
    <li><a href="http://www.prodevtips.com/2008/07/26/extendable-flash-banner-with-jquery-flash/" >Extendable Flash Banner with jQuery Flash</a> </li>
    <li><a href="http://johannburkard.de/blog/programming/javascript/6-more-jquery-tips-text-searching-page-load-time-and-others.html" >6 More jQuery Tips: Text Searching, Page Load Time and Others</a> </li>
    <li><a href="http://jqueryfordesigners.com/image-fade-revisited/" >Image Fade Revisited</a> </li>
    <li><a href="http://www.webappers.com/2008/07/31/bind-a-hot-key-combination-with-jquery-hotkeys/" >Bind a Hot Key Combination with jQuery Hotkeys</a> </li>
    <li><a href="http://mosesofegypt.net/post/2008/08/02/Simple-Static-Tooltip-Widget-using-jQueryUI.aspx" >Simple Static Tooltip Widget using jQuery.UI</a> </li>
</ul>
<h2 >CSS</h2>
<ul>
    <li><a href="http://www.noupe.com/css/css-layouts-40-tutorials-tips-demos-and-best-practices.html" >CSS Layouts: 40+ Tutorials, Tips, Demos and Best Practices</a> </li>
    <li><a href="http://css-tricks.com/removing-the-dotted-outline/" >Removing The Dotted Outline</a> </li>
    <li><a href="http://hiddenpixels.com/css-stuffs/css-frameworks/" >CSS Frameworks</a> </li>
    <li><a href="http://nettuts.com/html-css-techniques/solving-5-common-css-headaches/" >Solving 5 Common CSS Headaches</a> </li>
    <li><a href="http://css-tricks.com/specifics-on-css-specificity/" >Specifics on CSS Specificity</a> </li>
    <li><a href="http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs/" >Top 10 CSS Table Designs</a> </li>
    <li><a href="http://ejohn.org/blog/border-image-in-firefox/" >border-image in Firefox</a> </li>
    <li><a href="http://www.hedgerwow.com/360/bugs/css-select-free.html" >&lt;SELECT&gt;-Free Layer</a> </li>
</ul>
<h2 >Web Development</h2>
<ul>
    <li><a href="http://blog.darkthread.net/blogs/darkthreadtw/archive/2008/07/23/3356.aspx" >網頁重覆送出問題，IE的專利?</a> </li>
    <li><a href="http://jehiah.cz/archive/button-width-in-ie" >Button Width in IE</a> </li>
    <li><a href="http://www.mrkirkland.com/internet-explorer-submit-button-horizontal-padding/" >Internet Explorer Submit Button Horizontal Padding</a> </li>
    <li><a href="http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/" >SQL Injection Cheat Sheet</a> </li>
    <li><a href="http://stylizedweb.com/2008/07/27/a-brand-new-png-fix-for-ie6/" >A brand new PNG fix for IE6</a> </li>
    <li><a href="http://www.addedbytes.com/apache/url-rewriting-for-beginners/" >URL Rewriting for Beginners</a> </li>
    <li><a href="http://www.webappers.com/2008/08/05/how-to-backup-a-web-server/" >How to Backup a Web Server</a> </li>
</ul>
<h2 >Database</h2>
<ul>
    <li><a href="http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/how-are-dates-stored-in-sql-server" >How Are Dates Stored In SQL Server?</a> </li>
</ul>
<h3 >MySQL</h3>
<ul>
    <li><a href="http://www.phpv.net/html/1617.html" >MySQL Memcache_engine的安裝與使用</a> </li>
    <li><a href="http://www.rollenc.com/id/419" >MySQL拆表</a> </li>
    <li><a href="http://www.mysqlperformanceblog.com/2008/07/30/quick-tip-how-to-convert-tables-to-innodb/" >Quick tip: how to convert tables to InnoDB</a> </li>
    <li><a href="http://gglog.net/blog/index.php?op=ViewArticle&amp;articleId=82&amp;blogId=1" >檢查 mysql sql 效能使用 MySQL Slow Queries</a></li>
</ul>
<h2 >Browser</h2>
<ul>
    <li><a href="http://www.webmastersbydesign.com/2008/07/23/the-best-firefox-developers-extensions-around/" >The Best Firefox Developer Extensions Around</a> </li>
    <li><a href="http://blog.pixnet.net/Nelson/post/20371072" >[教學] 兩個小技巧讓 ScrapBook 更好用</a> </li>
    <li><a href="http://www.css3.info/css3-support-in-firefox-31/" >CSS3 support in Firefox 3.1</a> </li>
    <li><a href="http://blog.pixnet.net/Nelson/post/20592714" >[分享] Pencil - 讓你用 Firefox 來畫圖</a> </li>
    <li><a href="http://briian.com/?p=5663" >用Firefox就可以下載YouTube影片、Flash遊戲！（Video DownloadHelper擴充套件）</a> </li>
</ul>
<h2 >Programming</h2>
<ul>
    <li><a href="http://tangblack.blogspot.com/2008/07/blog-post_25.html" >十個軟體設計師應該有的觀念</a> </li>
    <li><a href="http://ianhickman.blogspot.com/2008/07/5-rules-of-variable-naming.html" >5 rules of variable naming.</a> </li>
    <li><a href="http://chenpc.csie.net/?p=289" >天兵學弟</a> </li>
</ul>
<h2 >SCM</h2>
<ul>
    <li><a href="http://blog.urdada.net/2008/07/30/88/" >Subversion pre-commit hook</a> </li>
</ul>
<h2 >Service</h2>
<ul>
    <li><a href="http://www.freegroup.org/msn-minimise-me" >MSN Minimise Me - MSN官方推出的大頭貼製作工具！</a> </li>
    <li><a href="http://www.fontifier.com/" >Fontifier - Your own handwriting on your computer!</a> </li>
    <li><a href="http://briian.com/?p=5665" >台灣工研院研發「中文文字轉語音合成系統」，好玩！</a> </li>
</ul>
<h2 >Software</h2>
<ul>
    <li><a href="http://blog.miniasp.com/post/2008/07/Useful-tools-Streams-let-you-know-the-uncovered-secret-in-NTFS.aspx" >介紹好用工具：Streams 讓你瞭解神秘的 NTFS 檔案系統</a> </li>
    <li><a href="http://portable.easylife.idv.tw/376" >AVIcodec v1.2 build 113 - 檢測影片編碼</a> </li>
    <li><a href="http://blog.darkthread.net/blogs/darkthreadtw/archive/2007/08/18/977.aspx" >Process Monitor基本操作教學</a> </li>
    <li><a href="http://portable.easylife.idv.tw/1413" >URL2JPEG v1.1 - 擷取網頁圖片</a> </li>
</ul>
<h2 >System</h2>
<ul>
    <li><a href="http://blog.darkthread.net/blogs/darkthreadtw/archive/2008/07/31/desktop-heap-issue.aspx" >【茶包射手專欄】Windows桌面開太多東西就&quot;怪怪的&quot;</a> </li>
    <li><a href="http://www.smallway.idv.tw/f2blog/index.php?load=read&amp;id=9" >修復因安裝不友好的deb導致包管理系統癱瘓的思路</a> </li>
</ul>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6794485.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6794485.html</guid>
	<category>連結分享</category>
	<pubDate>Thu, 14 Aug 2008 10:33:03 +0800</pubDate>
</item>
<item>
	<title>[JavaScript] 五分鐘小教室 - 不重複送出 Ajax Request</title>
	<description><![CDATA[<p>這次在設計購物車時，遇到了以下的介面：</p>
<p class="image"><img src="http://www.jaceju.net/resources/norepeat_ajax/ajax_interface.gif" alt="" width="64" height="50" /></p>
<p>客戶的需求是在按下「 + 」 或「 - 」時，要以 Ajax 發送更新的數量到後端系統去驗算；每按一次「 + 」 或「 - 」，就要送出一次 Ajax Request。</p>
<p>可是這時候問題就來啦，如果數量要 10 個的話就要連續按 10 次「 + 」，也會連續發送 10 次的 Ajax Request ；這樣不但會浪費珍貴的網路頻寬，更不用說會造成後端系統的負擔。 </p>
<p>怎麼解決呢？其實方法很多，而這裡我採用最簡單的 setTimeout 和 clearTimeout 。程式如下：</p>
<pre><code><strong>var sending = null;</strong>

var _formSubmit = function () {
    alert('Form submited!');
};

<strong>var _doAjaxPost = function () {</strong>
    <strong>if (sending !== null) {</strong>
        <strong>clearTimeout(sending);</strong>
        <strong>sending = null;</strong>
    <strong>}</strong>
    <strong>sending = setTimeout(_formSubmit, 1000);</strong>
<strong>};</strong>

var plusQuantity = function () {
    // ... 執行增加數量的動作 ...
    _doAjaxPost();
    return false;
};

var minusQuantity = function () {
    // ... 執行減少數量的動作 ...
    _doAjaxPost();
    return false;
};

$(function () {
    // 增加數量
    $('a.plus').click(plusQuantity);

    // 減少數量
    $('a.minus').click(minusQuantity);
});</code></pre>
<p class="note">註：這裡我大量使用了 <a href="http://jquery.com/">jQuery</a> 的功能。 </p>
<p>想法很簡單，就是當我們按下「 + 」 或「 - 」時，要隔一秒才會送出 Ajax Request ；而在這一秒內如果再次按下「 + 」 或「 - 」，那麼就重新計時。 </p>
<p>因此程式的主要重點在 _doAjaxPost 這個函式以及全域變數： sending ；當第一次呼叫 _doAjaxPost 時 sending 還是 null ，這時我們利用 setTimeout 開始計時，並將計時器指定給 sending 這個變數。而當第二次呼叫時， sending 變數已經不為空值，因此我們再利用 clearTimeout 將它清除，並重設為 null 以達到重新計時的目的。</p>
<p>是不是很簡單呢？</p>
<p>如果各位有更好的作法，也歡迎分享~ </p>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6643083.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6643083.html</guid>
	<category>JavaScript</category>
	<pubDate>Sat, 02 Aug 2008 17:32:50 +0800</pubDate>
</item>
<item>
	<title>[PHP] PHP 5.3 的 Lambda 和 closure ？</title>
	<description><![CDATA[<p>這篇也 Lag....這是前陣子的消息。</p>
<p>PHP 5.3 將有可能會有 Lambda (黏巴達？) 和 closure ，來源為 <a href="http://wiki.php.net/rfc/closures">Request for Comments: Lambda functions and closures</a> 這篇文章，所以以後 call_user_func 就不必再用蹩腳的字串來做為函式內容了。而且這是不是也表示 PHP 不但向 Java 靠攏，也開始向 JavaScript 靠攏了？</p>
<p class="note">註：所以 <a href="http://blog.markplace.net/" target="_blank">Mark</a> 剛剛跟我說 PHP 快變四不像了。</p>
<p>Lambda 語法如下：</p>
<pre><code>function &amp; (parameters) use (lexical vars) { body }</code></pre>
<p>範例：</p>
<pre><code>$lambda = function () { echo &quot;Hello World!\n&quot;; };</code></pre>
<p>可以這樣用：</p>
<pre><code>$lambda ();
call_user_func($lambda);
call_user_func_array($lambda, array());</code></pre>
<p>所以 call_user_func 系列函式就可以用 Lambda 了。 </p>
<p>進階的 Lambda 範例：</p>
<pre><code>function replace_spaces ($text) {
    $replacement = function ($matches) {
        return str_replace ($matches[1], ' ', '&amp;nbsp;').' ';
    };
    return preg_replace_callback ('/( +) /', $replacement, $text);
}</code></pre>
<p>Closure 語法：</p>
<pre><code>function (normal parameters) use ($var1, $var2, &amp;$refvar) {}</code></pre>
<p>範例：</p>
<pre><code>function replace_in_array ($search, $replacement, $array) {
    $map = function ($text) use ($search, $replacement) {
        if (strpos ($text, $search) &gt; 50) {
            return str_replace($search, $replacement, $text);
        } else {
            return $text;
        }
    };
    return array_map($map, $array);
}</code></pre>
<p>可以看到原來可以用 callback 的函式，應該都能接受 closure 。 </p>
<p>其他就請參考來源文章囉。</p>
<h2>相關文章 </h2>
<ul>
<li><a href="http://dev.iordanov.net/archives/9">php 5.3: notes about closures and lambda functions</a> </li>
<li><a href="http://www.ooso.net/index.php/archives/463">php 5.3将提供改进的Lambda函数</a> </li>
</ul>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6541789.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6541789.html</guid>
	<category> PHP</category>
	<pubDate>Tue, 22 Jul 2008 17:41:48 +0800</pubDate>
</item>
<item>
	<title>[Web] 連結分享</title>
	<description><![CDATA[<p>又 Lag 了好久...真希望趕快把工作做完，可以好好打個電動。</p>
<h2>PHP</h2>
<ul>
<li><a href="http://blog.adaniels.nl/articles/how-i-php-using-defaults-for-input-arguments/">How I PHP: Using defaults for input arguments</a></li>
<li><a href="http://weierophinney.net/matthew/archives/181-Migrating-OOP-Libraries-and-Frameworks-to-PHP-5.3.html">Migrating OOP Libraries and Frameworks to PHP 5.3</a></li>
<li><a href="http://www.webappers.com/2008/07/02/pchart-php-charting-library-under-gpl-license/">pChart - PHP Charting Library under GPL License</a></li>
<li><a href="http://www.avnetlabs.com/php/php-framework-comparison-benchmarks">PHP framework comparison benchmarks</a></li>
<li><a href="http://www.dc9.cn/post/514.html">php建立多级目录的函数</a></li>
<li><a href="http://www.mikespook.com/index.php/archives/142">PHP —— 为什么不要在 foreach 中使用变量引用</a></li>
<li><a href="http://particletree.com/notebook/smarter-auto-linking/">Smarter Auto-Linking</a></li>
<li><a href="http://karwin.blogspot.com/2008/05/activerecord-does-not-suck.html">ActiveRecord does not suck</a></li>
<li><a href="http://blog.roodo.com/rocksaying/archives/6319337.html">SQLite/PHP/Apache 設定筆記</a></li>
<li><a href="http://c7y.phparch.com/c/entry/1/art,images_and_php">Handling Images with PHP</a></li>
<li><a href="http://www.prodevtips.com/2008/07/11/fluent-arrays-and-strings-in-php-adding-json-and-more/">Fluent Arrays and Strings in PHP - Adding JSON and more</a></li>
<li><a href="http://www.techfounder.net/2008/07/12/the-advancing-php-developer-part-5-design-patterns/">The Advancing PHP Developer Part 5: Design Patterns</a></li>
<li><a href="http://www.phpv.net/html/1612.html">PHP 168 SQL注射漏洞</a></li>
<li><a href="http://php.bubble.ro/top-5-php-replacements-for-apache-default-directory-listing/">Top 5 PHP replacements for Apache default directory listing</a></li>
<li><a href="http://devzone.zend.com/article/3705-Generating-PDF-Forms-From-a-Flex-Application-With-PHP-">Generating PDF Forms From a Flex Application With PHP</a></li>
</ul>
<h3>Zend Framework</h3>
<ul>
<li><a href="http://weierophinney.net/matthew/archives/182-Testing-Zend-Framework-MVC-Applications.html">Testing Zend Framework MVC Applications</a></li>
<li><a href="http://www.brownphp.com/2008/07/zend_cache-is-saving-me-money/">Zend_Cache is Saving me Money!</a></li>
<li><a href="http://codeutopia.net/blog/2008/06/02/autogenerating-forms-from-doctrine-models/">Autogenerating forms from Doctrine models</a></li>
<li><a href="http://ishouldbecoding.com/2008/07/12/simplifying-zend_view_helper_url">Simplifying zend_view_helper_url</a></li>
<li><a href="http://devzone.zend.com/article/3510-Zend_Acl-and-MVC-Integration-Part-II-Advanced-Use">Zend_Acl and MVC Integration Part II (Advanced Use)</a></li>
<li><a href="http://www.rollenc.com/id/417">Zend Framework 1.6 RC1 Released</a></li>
</ul>
<h2>JavaScript</h2>
<ul>
<li><a href="http://javascriptmvc.com/index.html">JavaScriptMVC</a></li>
<li><a href="http://onesandzeros.biz/jsphpremoting/">Javascript-to-PHP Remoting</a></li>
<li><a href="http://www.josephjiang.com/Presentation/OOJS/object-basic.html">JavaScript Object Basic</a></li>
<li><a href="http://ejohn.org/blog/eval-kerfuffle/">eval() Kerfuffle</a></li>
<li><a href="http://blog.miniasp.com/post/2008/07/quipt-Client-side-library-caching-with-JavaScript.aspx">qUIpt：一個很有創意的 JavaScript Cache Library</a></li>
<li><a href="http://www.blueidea.com/tech/web/2008/5956.asp">JavaScript是怎樣讓互聯網變慢的</a></li>
<li><a href="http://fortes.com/projects/dynamiclayout/">Dynamic Layout</a></li>
<li><a href="http://atedev.wordpress.com/2008/07/21/js-%e6%8e%a7%e5%88%b6-iframe-%e5%85%a7%e5%ae%b9%ef%bc%88ffie%ef%bc%89/">js 控制 iframe 內容（FF/IE）</a></li>
<li><a href="http://ejohn.org/blog/dom-documentfragments/">DOM DocumentFragments</a></li>
</ul>
<h3>jQuery</h3>
<ul>
<li><a href="http://css.dzone.com/tips/jquery-tracking-the-position-o">jQuery Tracking The Position Of The User&#39;s Mouse</a></li>
<li><a href="http://ejohn.org/blog/jquery-plugins-size-and-storage/">jQuery Plugins, Size, and Storage</a></li>
<li><a href="http://tutorialblog.org/designing-your-page-around-a-jquery-ui-theme/">Designing Your Page Around a jQuery UI Theme</a></li>
<li><a href="http://ejohn.org/blog/jquery-livesearch/">jQuery LiveSearch</a></li>
<li><a href="http://www.prodevtips.com/2008/07/06/jquery-treeview-with-modx-wayfinder/">jQuery Treeview with MODx Wayfinder</a></li>
<li><a href="http://www.codinginstinct.com/2008/07/cleanup-your-html-with-jquery.html">Cleanup your html with JQuery</a></li>
<li><a href="http://mattberseth.com/blog/2008/07/jqueryui_progressbar_widget.html">jQuery.UI ProgressBar Widget</a></li>
<li><a href="http://www.noupe.com/tutorial/51-best-of-jquery-tutorials-and-examples.html">51+ Best of jQuery Tutorials and Examples</a></li>
<li><a href="http://omnipotent.net/jquery.sparkline/">jQuery Sparklines</a></li>
<li><a href="http://css-tricks.com/garage-door-style-menu-using-animated-background-images-with-jquery/">Garage Door Style Menu (using Animated Background Images with jQuery)</a></li>
<li><a href="http://www.pathf.com/blogs/2008/07/jquery-plugins-five-tips-for-separating-the-good-from-the-bad-and-the-ugly/">jQuery plugins: Five tips for separating the good from the bad and the ugly</a></li>
</ul>
<h2>CSS</h2>
<ul>
<li><a href="http://www.dbanotes.net/web/best_practices_for_speeding_up_your_web_site_css.html">Web 前端优化最佳实践之 CSS 篇</a></li>
<li><a href="http://www.cssnewbie.com/css-american-flag/">Build an American Flag out of XHTML and CSS</a></li>
<li><a href="http://www.noupe.com/css/css-styled-lists-20-demos-tutorials-and-best-of.html">CSS-Styled Lists: 20+ Demos, Tutorials and Best Practices</a></li>
<li><a href="http://www.catswhocode.com/blog/web-design/top-10-css-buttons-tutorial-list-29">Top 10 CSS buttons tutorial list</a></li>
<li><a href="http://static.fortes.com/projects/dynamiclayout/demos/dynamicholygrail.html">Dynamic Layout: Dynamic Holy Grail Demo</a></li>
<li><a href="http://www.search-this.com/2008/07/14/fix-your-css/">Fix Your CSS</a></li>
<li><a href="http://www.stevenyork.com/tutorial/pure_css_opacity_and_how_to_have_opaque_children">Pure CSS opacity and how to have opaque children</a></li>
<li><a href="http://www.blueidea.com/tech/web/2008/5969.asp">斜角滑动门导航条(DIV+CSS)</a></li>
<li><a href="http://www.blueidea.com/tech/web/2008/5970.asp">曹鹏 CSS 视频教程</a></li>
<li><a href="http://www.blueidea.com/tech/web/2008/5975.asp">元素层叠级别及z-index剖析</a></li>
<li><a href="http://acomment.net/creating-css-layouts-the-best-tutorials-on-converting-psd-to-xhtml/76">Creating CSS Layouts: The Best Tutorials on Converting PSD to XHTML</a></li>
</ul>
<h2>Database</h2>
<h3>MySQL</h3>
<ul>
<li><a href="http://www.mysqlperformanceblog.com/2008/06/29/resyncing-table-on-mysql-slave/">Resyncing table on MySQL Slave</a></li>
<li><a href="http://www.ooso.net/index.php/archives/439">混合使用SQL和shell命令</a></li>
<li><a href="http://jan.kneschke.de/projects/mysql/order-by-rand">ORDER BY RAND()</a></li>
<li><a href="http://blog.gslin.org/archives/2008/07/02/1535/">MySQL 的 ORDER BY RAND() 的替代方案</a></li>
<li><a href="http://www.phpobject.net/blog/read.php?131">MYSQL索引实例</a></li>
<li><a href="http://www.ooso.net/index.php/archives/436">用mysql触发器自动更新memcache</a></li>
<li><a href="http://plog.longwin.com.tw/my_note-app-setting/2008/07/17/mysql_set_master_slave_replication_fase_online_2008">MySQL 快速為線上運作的 Master 增加 SLAVE(設定 Replication)</a></li>
<li><a href="http://www.mysqlperformanceblog.com/2008/07/19/mysql-51-is-to-reach-ga-state-all-to-arms/">MySQL 5.1 is to reach GA state</a></li>
</ul>
<h3>Oracle</h3>
<ul>
<li><a href="http://blog.roodo.com/mywork/archives/6516449.html">10升11g的讀書筆記(3)</a></li>
</ul>
<h2>Browser</h2>
<ul>
<li><a href="http://blog.gslin.org/archives/2008/06/30/1531/">Using jQuery in Greasemonkey</a></li>
<li><a href="http://briian.com/?p=5607">【FireNes】用Firefox玩超級瑪莉、1942、魂斗羅…等2000多個任天堂遊戲！</a></li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/7575">Rainbow for Firebug :: Firefox Add-ons</a></li>
<li><a href="http://jas9.blogspot.com/2008/07/4-firebug.html">4個 Firebug 的必備元件</a></li>
</ul>
<h2>Design</h2>
<ul>
<li><a href="http://kailoon.com/7-useful-web-design-tips/">7 Useful Web Design Tips</a></li>
<li><a href="http://dzineblog.com/2008/07/best-photoshop-layout-design-tutorials.html">27 Best Photoshop Web Layout Design Tutorials to Design Decent Web Layouts</a></li>
<li><a href="http://www.iconspedia.com/">PNG Icons &amp; Icon Packs Download</a></li>
</ul>
<h2>Game</h2>
<ul>
<li><a href="http://www.msplay.com/top/?p=279">Wing Commander Saga</a></li>
</ul>
<h2>Programming</h2>
<ul>
<li><a href="http://blog.pixnet.net/ronnywang/post/19938328">軟體業的重要職缺 命理大師!</a></li>
<li><a href="http://plog.longwin.com.tw/news-unix/2008/07/15/convmv_utf8_big5_convert_linux_2008">Linux: 轉換 檔案名稱 的編碼 convmv (UTF-8/Big5 互轉)</a></li>
<li><a href="http://inet6.blogspot.com/2008/07/rpg-textrpg.html">給我五分鐘，教你用中文腳本寫一個 RPG (使用 TextRPG)</a></li>
</ul>
<h2>SCM</h2>
<ul>
<li><a href="http://www.itwriting.com/blog/703-whats-new-in-subversion-15.html">What&#39;s new in Subversion 1.5</a></li>
</ul>
<h2>Service</h2>
<ul>
<li><a href="http://www.freegroup.org/free-website-thumbnails-websnapr">websnapr - 免費線上網頁截圖工具</a></li>
</ul>
<h2>Software</h2>
<ul>
<li><a href="http://andyblog.wordpress.com/2008/06/30/%e9%81%a0%e7%ab%af%e6%a1%8c%e9%9d%a2%e9%80%a3%e7%b7%9a%e7%a8%8b%e5%bc%8f-terminals/">遠端桌面連線程式 Terminals</a></li>
<li><a href="http://blog.joaoko.net/archives/571">重組被鎖定的系統檔案不再是麻煩事：System File Defragmenter</a></li>
<li><a href="http://blog.joaoko.net/archives/579">解決由 AppLocale 引起的 MSI 安裝程式亂碼問題</a></li>
<li><a href="http://playpcesor.blogspot.com/2008/07/java-runtime-environment-jre-javara.html">Java Runtime Environment (JRE) 專用的安裝、升級輔助器：JavaRa</a></li>
<li><a href="http://blog.joaoko.net/archives/582">搜尋登錄檔的超級利器：RegScanner</a></li>
<li><a href="http://blog.miniasp.com/post/2008/07/Useful-tools-IObit-SmartDefrag.aspx">介紹好用工具：IObit SmartDefrag 磁碟重組工具</a></li>
</ul>
<h2>System</h2>
<ul>
<li><a href="http://blog.miniasp.com/post/2008/07/How-to-install-Apache-22-OpenSSL-Subversion-15-in-Windows-environment.aspx">在 Win32 安裝 Apache 2.2 with OpenSSL + Subversion 1.5</a></li>
<li><a href="http://www.howtoforge.com/perfect-server-centos-5.2">The Perfect Server - CentOS 5.2</a></li>
<li><a href="http://metamuse.blogspot.com/2008/04/ubuntu-804-lts-busybox.html">Ubuntu 很忙 : 解決 8.04 LTS 安裝時掉進 BusyBox 的問題</a></li>
</ul>
<h2>Web Development</h2>
<ul>
<li><a href="http://blog.miniasp.com/post/2008/06/Using-ApacheBench-ab-to-do-Web-stress-test.aspx">使用 ApacheBench 進行網站的壓力測試</a></li>
<li><a href="http://ejohn.org/blog/powering-a-web-revolution/">Powering a Web Revolution</a></li>
<li><a href="http://blog.ericsk.org/archives/1034">用 GAEO 加快開發 Google App Engine 的程式吧！</a></li>
<li><a href="http://zone81.blogspot.com/2008/07/apache-mysql-tuning-tips-from-my.html">Apache-MySQL Tuning tips -From My Experience</a></li>
<li><a href="http://free-wiz.blogspot.com/2008/07/best-free-chart-apis.html">10 Best Free Chart APIs</a></li>
<li><a href="http://blog.miniasp.com/post/2008/07/JPEG-Image-cannot-be-displayed-in-Internet-Explorer.aspx">有特定格式的 JPEG 圖檔無法在 IE 瀏覽器中顯示</a></li>
<li><a href="http://www.webappers.com/2008/07/16/another-png-fix-for-transparent-pngs-in-ie-6/">Another PNG Fix for Transparent PNGs in IE 6</a></li>
<li><a href="http://css-tricks.com/why-people-still-use-ie-6/">Why People Still Use IE 6</a></li>
<li><a href="http://blog.wctang.info/2008/06/maps-api-gtilelayer.html">Maps API, GTileLayer</a></li>
<li><a href="http://blog.ericsk.org/archives/1057">在敝社的訓練所當講師</a></li>
<li><a href="http://woork.blogspot.com/2008/07/useful-tips-to-enrich-your-html-forms.html">Useful tips to enrich your HTML Forms</a></li>
<li><a href="http://gathadams.com/2008/07/15/opening-a-new-browser-window-with-post-data/">Opening a new browser window with POST data</a></li>
<li><a href="http://www.sitepoint.com/blogs/2008/07/18/conditional-comments-for-html-email/">Conditional Comments for HTML Email</a></li>
<li><a href="http://benramsey.com/archives/http-status-redirection/">HTTP Status: Redirection</a></li>
<li><a href="http://realazy.org/blog/2008/07/22/web-forms-20/">Web Forms 2.0</a></li>
</ul>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6541689.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6541689.html</guid>
	<category>連結分享</category>
	<pubDate>Tue, 22 Jul 2008 17:15:04 +0800</pubDate>
</item>
<item>
	<title>[心得] 給程式開發人員的一些想法</title>
	<description><![CDATA[<ul style="font-size:16pt;color:#CC0033;line-height:20pt;">
<li>程式框架會因為需求導向的不同而有所改變。</li>
<li>在不良管理下工作，程式員不會覺得他的工作有價值。 </li>
<li>程式員需要不受干擾的環境，否則他的生產力將大打折扣。 </li>
<li>人不是 CPU ，通常只能專注一件事，因為人在轉換 Process 上的代價是很大的。 </li>
<li>正視並善用你手邊的工具，不要<del>一昧</del><a href="http://atj.yam.org.tw/mw1583.htm" target="_blank">一味</a>地追求新技術。 </li>
<li>不要因為新技術為你帶來好處，而忽略它也可能同時為別人帶來壞處。 </li>
</ul>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6296947.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6296947.html</guid>
	<category>心得感想</category>
	<pubDate>Thu, 03 Jul 2008 16:09:44 +0800</pubDate>
</item>
<item>
	<title>[PHP] PHP 5.3 的新特色： Phar</title>
	<description><![CDATA[<p class="note">註：以下程式我並沒有實作過，只是先分享一下給大家。</p>
<p>PHP 5.3 帶來很多有趣的特色，其中一個就是可以把你的 Library 打包成 phar 格式，並透過 require 敘述來引用裡面的程式碼。</p>
<p>首先你可以用 PHP 5.3 的新類別 Phar 來打包你想要的程式碼 (通常是類別檔案) ：</p>
<pre><code>&lt;?php
$phar = new Phar('My.phar', 0, 'My.phar'); // 建立 My.phar 檔案
$phar-&gt;buildFromDirectory(
    dirname(__FILE__) . '/My', '/\.php$/'
); // 打包所有 My 目錄下的 php 檔案
$phar-&gt;compressFiles( Phar::GZ ); // 以 GZ 格式壓縮
$phar-&gt;stopBuffering(); // 壓縮完成，寫入 phar 檔</code></pre>
<p>然後你可以整包引入：</p>
<pre><code>require 'My.phar';</code></pre>
<p>也可以單獨引入其中的某支檔案：</p>
<pre><code>require 'phar://My.phar/src/Test.php';</code></pre>
<p>就連 <a href="http://www.phpunit.de/">PHPUnit 3.3</a> 也<a href="http://sebastian-bergmann.de/archives/799-Phar.html">試用 Phar 來打包</a>囉了！ </p>
<p>那麼效能呢？據 Jan Schneider 的<a href="http://blog.stuartherbert.com/php/2008/06/29/where-are-the-benchmarks-for-phar/">消息</a>指出， PHP 的開發團隊已經把這個功能的效能調整到接近 native PHP 的執行進度了！</p>
<p>很酷吧？期待 PHP 5.3 的來臨吧！ </p>
<h2>參考 </h2>
<ul>
<li> <a href="http://derickrethans.nl/friday_afternoon_toying_ez_components_as_phar.php">Friday afternoon toying: eZ Components as phar</a></li>
</ul>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6247655.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6247655.html</guid>
	<category> PHP</category>
	<pubDate>Mon, 30 Jun 2008 10:08:45 +0800</pubDate>
</item>
<item>
	<title>[Web] 連結分享</title>
	<description><![CDATA[<h2>PHP</h2>
<ul>
<li><a href="http://mutantphp.org/blog/2008/06/19/a-service-locator-for-php5/">A Service Locator for PHP5</a> </li>
<li><a href="http://schlitt.info/applications/blog/index.php?/archives/605-Hierarchical-caching.html">Hierarchical caching</a> </li>
<li><a href="http://www.prodevtips.com/2008/06/23/fluent-arrays-and-strings-in-php/">Fluent Arrays and Strings in PHP</a> </li>
<li><a href="http://php.dzone.com/news/php-caching-pages-with-output-">PHP - Caching Pages with Output Buffering </a> </li>
<li><a href="http://www.twoscomplement.com/2008/06/22/an-introduction-to-friendly-urls-in-php/">An introduction to friendly URLs in PHP</a> </li>
<li><a href="http://blog.digitalstruct.com/2008/06/18/php-performance-series-maximizing-your-mysql-database/">Maximizing Your MySQL Database</a> </li>
<li><a href="http://devzone.zend.com/article/3592-Three-Quick-Tips-To-Make-Your-PHP-Understandable">Three Quick Tips To Make Your PHP Understandable</a> </li>
<li><a href="http://blog.csdn.net/Haohappy2004/archive/2008/06/25/2584005.aspx">創建自己的PEAR頻道</a> </li>
<li><a href="http://derickrethans.nl/friday_afternoon_toying_ez_components_as_phar.php">Friday afternoon toying: eZ Components as phar</a> </li>
<li><a href="http://sebastian-bergmann.de/archives/799-Phar.html">Phar</a> </li>
</ul>
<h3>Zend Framework</h3>
<ul>
<li><a href="http://www.prodevtips.com/2008/06/19/nice-zf-jquery-and-smarty-combo/">Nice ZF, jQuery and Smarty combo</a> </li>
<li><a href="http://devzone.zend.com/article/3509-Zend_Acl-and-MVC-Integration-Part-I-Basic-Use">Zend_Acl and MVC Integration Part I (Basic Use)</a> </li>
</ul>
<h2>CSS</h2>
<ul>
<li><a href="http://www.cssglobe.com/post/1960/css-dos-and-donts-part-2-markup">CSS do&#39;s and dont&#39;s Part 2- Markup</a> </li>
<li><a href="http://ejohn.org/blog/new-css-in-firefox-3/">New CSS in Firefox 3</a> </li>
<li><a href="http://www.zachgraeve.com/css-cheats/">CSS Layout Cheats</a> </li>
</ul>
<h2>Database</h2>
<h3>Oracle</h3>
<ul>
<li><a href="http://blog.roodo.com/mywork/archives/6198547.html">Oracle XE 安裝筆記</a> </li>
</ul>
<h2>JavaScript</h2>
<ul>
<li><a href="http://www.alexatnet.com/node/152">Cross-browser image rotation with JavaScript and CSS</a> </li>
<li><a href="http://weblog.gilbert.tw/public/scripts/js_windowopen.html">window.open() Syntax Generator</a> </li>
<li><a href="http://www.noupe.com/javascript/23-impressive-tools-for-faster-javascriptajax-development.html">23+ Impressive Tools for Faster Javascript/Ajax Development</a> </li>
</ul>
<h3>jQuery</h3>
<ul>
<li><a href="http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=88">Advanced Image Enlargement With jQuery</a> </li>
<li><a href="http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery">Create a multilevel Dropdown menu with CSS and improve it via jQuery</a> </li>
<li><a href="http://ajaxian.com/archives/jstree-jquery-based-javascript-tree-component">jsTree: jQuery-based JavaScript tree component</a> </li>
<li><a href="http://greatwebguy.com/programming/dom/input-focus-with-jquery/">Input focus with jQuery</a> </li>
<li><a href="http://himerusinc.com/practical-jquery-projects/part-1/jquery-101">Chapter 1 - jQuery 101</a> </li>
<li><a href="http://css-tricks.com/build-your-own-social-home/">Build Your Own Social Home!</a> </li>
<li><a href="http://benxshen.wordpress.com/2008/06/25/diigo-diary-06252008/">jQuery 相關連結</a> </li>
<li><a href="http://css.dzone.com/news/jquery-five-questions-and-answ">jQuery - Five Questions And Answers</a> </li>
<li><a href="http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm">mcDropdown jQuery Plug-in</a> </li>
</ul>
<h2>Web Development</h2>
<ul>
<li><a href="http://www.noupe.com/tools/handy-designers-tools-on-the-fly.html">Handy Designer&#39;s Tools &quot;On The Fly&quot;</a> </li>
<li><a href="http://blog.miniasp.com/post/2008/06/Perfect-Solution-for-word-warp-cross-browser.aspx">完美解決網頁文字太長而導致破版的問題</a> </li>
<li><a href="http://www.vixual.net/blog/?p=247">使用 .htaccess 自訂 “404 找不到網頁” 的頁面</a> </li>
<li><a href="http://www.joedolson.com/color-contrast-tester.php?lang=zh-tw">Color Contrast Spectrum Tester, by Joseph C Dolson</a> </li>
<li><a href="http://blog.accessibility.tw/2008/06/blog-post.html">色彩對比分析</a> </li>
<li><a href="http://www.xavierfrenette.com/articles/css-support-in-webmail/#styleinhead">CSS support in HTML emails of Hotmail, Yahoo! Mail and Gmail</a> </li>
</ul>
<h3>Browser</h3>
<ul>
<li><a href="http://playpcesor.blogspot.com/2008/06/firefox-30_4178.html">Firefox 3.0 可用和推薦的擴充套件列表，歡迎補完</a> </li>
</ul>
<h2>Design</h2>
<ul>
<li><a href="http://dzineblog.com/2008/06/27-dark-website-designs.html">27 Dark Website Designs</a> </li>
</ul>
<h2>Project</h2>
<ul>
<li><a href="http://devjargon.com/management/5-ways-to-make-sure-your-project-fails/">5 Ways to Make Sure your Project Fails</a> </li>
<li><a href="http://shipsoftwareontime.com/2007/11/12/building-a-great-team/">Building a Great Team</a> </li>
</ul>
<h2>Service</h2>
<ul>
<li><a href="http://www.warningsigngenerator.com/">Warning Sign Generator</a> </li>
</ul>

<h2>Software</h2>
<ul>
<li><a href="http://www.smashingmagazine.com/2008/06/19/css-editors-reviewed/">CSS Editors Reviewed</a> </li>
</ul>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6240289.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6240289.html</guid>
	<category>連結分享</category>
	<pubDate>Sat, 28 Jun 2008 16:48:19 +0800</pubDate>
</item>
<item>
	<title>[PHP-ZF] 解決 ZF 在 Proxy 模式下無法正確解析 Controller Name 的問題</title>
	<description><![CDATA[<h2>說明</h2>
<p>因為要和客戶的內部網路連線，便透過 <a href="http://cha.homeip.net/blog/archives/2006/01/putty_ssh_tunne.html">PieTTY 的 SSH Tunnels 模式</a>來做 Proxy 。 但是這個方式卻讓 Zend Framework 出現了以下的錯誤訊息：</p>
<pre><code>An error occurred with this request: Invalid controller specified (http:).</code></pre>
<p>解決方式是修改 Zend Framework 的 Zend_Controller_Request_Http 這個類別。</p>
<p>先開啟 Zend/Controller/Request/Http.php ，並找到：</p>
<pre><code>$requestUri = $_SERVER['REQUEST_URI'];</code></pre>
<p>改為：</p>
<pre><code>$requestUri = preg_replace(
    '/^https?:\/\/' . $_SERVER['HTTP_HOST'] . '/i',
    '',
    $_SERVER['REQUEST_URI']
);</code></pre>
<p>這樣就能避掉 Proxy 所帶來的問題了。</p>
<p class="note">註 1 ：這個方法的風險在於會修改原生的 ZF 程式碼，如果會用到 Subversion 來管理程式碼的話，要特別注意未來更新版本時可能會發生衝突的問題。</p>
<p class="note">註 2 ：未來版本應該會修正這個問題。</p>
<h2>參考</h2>
<p> <a href="http://framework.zend.com/issues/browse/ZF-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel">ZF MVC is not compatible with apache + http protocol proxy requests</a></p>
]]></description>
	<link>http://blog.roodo.com/jaceju/archives/6217407.html</link>
	<guid isPermaLink="true">http://blog.roodo.com/jaceju/archives/6217407.html</guid>
	<category>Zend Framework</category>
	<pubDate>Mon, 23 Jun 2008 11:09:41 +0800</pubDate>
</item>
</channel>
</rss>