<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
	<title>PHP 程式設計</title>
	<link>http://blog.roodo.com/rss20/topic/topic_article_1741.xml</link>
	<description>PHP 程式設計</description>
	<language>zh-tw</language>
	<generator>Roodo Blog System</generator>
	<copyright>All Rights Reserved</copyright>
	<item>
		<title>PHP生成靜態網頁的方法 / 趨勢報報 ........</title>
		<description>  在網路上(80x86 blog)看到的一篇文章，個人覺得很有價值，並也剛好符合個人Case的需求!  </description>
		<link>http://blog.roodo.com/nextstep/archives/2161015.html</link>
		<author>info@blog.roodo.com&lt;info@blog.roodo.com&gt;</author>
		<category>網路/3C</category>
		<pubDate>Thu, 12 Oct 2006 16:28:14 +0800</pubDate>
					</item>
	<item>
		<title>何謂 xajax? / 趨勢報報 ........</title>
		<description>  xajax 是一套 PHP class library 用來開發網頁, 並結合 HTML, CSS, JavaScript 等網頁開法語言來建構功能強大的網站。     xajax 是利用非同步概念由 Client 端來呼叫 Server 端的 PHP functions 避免掉 Client 端更新一整個頁面所浪費的網路及系統資源; 換句話說, 利用這個機制所有的程式運算都由 Server 端來負責然後 Sever 再將運算結果傳回瀏覽器呼叫此 function 的物件, 因此在網頁上只有此物件會看到不同的運算結果, 其餘頁面則維持不變。     更清楚的說, 首先由 PHP 產生出 JavaScript XMLHttpRequest 的 xajax 物件並放到瀏覽器上的某個位置, 當使用者點選了該物件, 這個物件會將請求傳回 Server 並找到其相對應的 PHP function 要求此 function 處理, 一旦運算結果出爐, xajax XML 會將結果傳回瀏覽器並更新所得結果。    xajax 可支援 PHP 4.3.x/PHP 5.x 以及 Apache/IIS 伺服器平台。   </description>
		<link>http://blog.roodo.com/nextstep/archives/1343059.html</link>
		<author>info@blog.roodo.com&lt;info@blog.roodo.com&gt;</author>
		<category>網路/3C</category>
		<pubDate>Fri, 31 Mar 2006 08:39:02 +0800</pubDate>
					</item>
	<item>
		<title>比對兩個資料筆數龐大的table, 是否異動或新增! / 趨勢報報 ........</title>
		<description>   需求說明：因為我有個案子, 需要每日讀取最新的資料檔(table2), 與歷史檔(table1)作比對, 針對有異動或新增的資料記錄在歷史檔(table1)。    問題分析：一開始的作法, 就是用SQL command作搜尋, 可是因為每日最新的資料檔(table2)資料筆數就高達近200萬筆, 所以table1與table2用此方式比對可能就需要數小時才能作完, 根本是沒效率。    作法改進：所以, 必需避免使用SQL command去作比對, 我採用先將table1的資料先弄到陣列中, 這對SQL server並不會造成多大負荷, 而且非常迅速! 然後再讀取每日最新的資料檔(table2)資料, 一筆筆與陣列裏的歷史檔(table1)資料作比對。    結果：出乎意料之外的, 效率果然提升許多倍, 以200萬筆新資料與200萬筆舊資料的比對, 竟只要花10分鐘而已, 這對每天必須要作的一次比對的工作已經不成負擔了!    其他問題：但如果你的資料筆數是龐大的, 每當執行這個比對程式,你可能會遇到錯誤訊息的提示, 說明記憶體不足, 此時你就要去調整php.ini的設定了!    假設其資料欄位： 歷史檔table1：a, b, c, update_date 每日最新的資料檔table2：a, b, c, update_date   </description>
		<link>http://blog.roodo.com/nextstep/archives/222956.html</link>
		<author>info@blog.roodo.com&lt;info@blog.roodo.com&gt;</author>
		<category>網路/3C</category>
		<pubDate>Mon, 06 Mar 2006 23:24:54 +0800</pubDate>
					</item>
	<item>
		<title>論以PHP截取yahoo.com.com的匯率資料 / 趨勢報報 ........</title>
		<description>   Nextstep  2005/06/12        有很多截取首頁新聞的程序，但是並不能成功。他們的工作原理無非兩種：    一種是採用某些網站稱之為backend的後台資料庫，另一種則是硬聲聲的根據html代碼截取。      本程式採用的是後者，為我自己為要應用在每天定時動態擷取固定位址(別人的網站)的資料而撰寫的。   </description>
		<link>http://blog.roodo.com/nextstep/archives/185546.html</link>
		<author>info@blog.roodo.com&lt;info@blog.roodo.com&gt;</author>
		<category>網路/3C</category>
		<pubDate>Sun, 12 Jun 2005 21:45:00 +0800</pubDate>
					</item>
	<item>
		<title>將php寫的網頁直接存成html網頁型式 / 趨勢報報 ........</title>
		<description>    有二種方法： 一．表單送出後諭程式把資料和html碼在server端組合成檔案讓使用者下載。  二．直接把資料輸出使用header，這樣頁面就會自動成為下載檔案：     header(&amp;quot;Content-Disposition: attachment;filename=xxx.htm&amp;quot;);    header(&amp;quot;Content-Type:application/image/jpeg\n\n&amp;quot;);    header(&amp;quot;Content-Description:PHP5 Generated Data&amp;quot;);   </description>
		<link>http://blog.roodo.com/nextstep/archives/129292.html</link>
		<author>info@blog.roodo.com&lt;info@blog.roodo.com&gt;</author>
		<category>網路/3C</category>
		<pubDate>Sun, 15 May 2005 18:14:51 +0800</pubDate>
					</item>
</channel>
</rss>