2008年6月19日 星期四

iGoogle 用的是何種Framework ?

其實可以參考以下網址
http://www.portaneo.com/solutions/en/opensource.php

Posh is a open source personalizable portal (Netvibes, iGoogle, ...) developed with PHP/MySQL/Ajax.

It can be used :
  • either in enterprise intranet context (Portaneo enterprise portal)
  • or in web application context (posh internet portal) : myFoot,actuF1, ...


Licence


P.O.S.H is a free open-source software distributed under GNU General Public Licence v3.


Credits


Features


Personalizable interface

  • Display / move widgets.
  • Add / remove / configure widgets.
  • Add / remove / rename / move tabs.
  • Personalize the visual environment.
  • Add HTML pages (to include an existing application for example).

Administration interface

  • Widgets management.
  • Users management.
  • Tabs management.
  • Skins management.
  • Plug-ins tool.

Creation widget tutorial

  • RSS widgets.
  • API to realize your own widgets (iGoogle compatibility).

Social network (collaboration suite plugin)

  • profiles management
  • Add / remove people in my network
  • News of my network (activity notifications)

Notebook (collaboration suite plugin)

  • Private articles (archive)
  • Share articles, widgets, pages on my notebook
  • Follow notebooks on my portal

Search (collaboration suite plugin)

  • Search news, archives, people, widgets, pages
  • Find the experts based on their notebook

Technical information

  • MySQL / PHP 4.3+.

2008年4月6日 星期日

JForum fails to start when deployed from a WAR in Weblogic

又係由於怕網上個source會唔見左,所以轉貼來自己個blog度
以下轉貼自:http://www.jforum.net/jira/browse/JF-638


「Once JForum has been deployed (succesfully) in Weblogic, from a war (built with the ant task "ant dist"), it doesn't start due a NullPointerException. This occurs with version 2.1.7, but I haven't tested any others.

I have traced this down to the init method in JForumBaseServlet, on the following line (101 in my version):
String appPath = config.getServletContext().getRealPath("");

Under weblogic, the method getRealPath() always returns null when the application is running from a WAR. See:
https://issues.apache.org/struts/browse/WW-186

I offer the following patch. I have tested it with good results in Weblogic 9 and Tomcat 5.5.

Add after the previously quoted line:
if (appPath == null) {
// resources are in a .war and application server returns null for getRealPath()
appPath = config.getServletContext().getResource("/").getPath();
}」

JForum Eclipse WTP開發環境設定

(由於怕網上個source會唔見左,所以轉貼來自己個blog,穩陣d)

以下內容轉貼自:http://www.andowson.com/posts/list/62.page

為了加速對JForum的開發及測試,不能再用傳統的WinCVS->PSPad->FileZilla->PuTTY->ant->service tomcat restart方式,要改用一個整合式的開發環境(IDE)將CVS到編輯修改除錯完成後再部署(deploy)到正式站台去。

在開發工具選擇上Eclipse WTP是個滿不錯的選擇,免費且plugin又多,於是我選擇了這個工具,同時也安裝了FreeMarker的Eclipse plugin,當然Tomcat也是得裝的。

由於直接由Eclipse的Import..->Projects from CVS會使用和CVS上相同的專案名稱jforum,故我把新的專案名稱改為jforumWTP,過程就是新增一個Dynamic Web Project然後取名為jforumWTP,完成後將原來jforum專案的src目錄內容全部複製到jforumWTP的src目錄去,其他的 index.htm, images, templates, tmp, upload及WEB-INF等目錄複製到WebContent目錄去,然後從現有上線的主機下載回jforum-custom.conf(修改一下 database.connection.host的設定)再對index.htm按右鍵選擇Run As-&gtRun On Server

懶得自己去挑選目錄跟檔案的人可以下載我打包好的WAR檔
http://andowson.myweb.hinet.net/jforum/jforumWTP.war
然後在Eclipse中新增一個空白專案(jforumWTP)後,改用Import->Web->WAR file,選擇jforumWTP.war即可。

從此以後就可以直接在Eclipse裡面直接執行JForum了,要修改或除錯也變得很方便。

2008年3月17日 星期一

「恒源祥」廣告

今日响一個朋友既fackbook果度,睇到佢响自己個wall度post左一篇文章&一篇廣告既video
http://www.youtube.com/watch?v=vbs-wK28VMw
我見呢位朋友寫住:「看完後, 我真的翻出讀過的廣告理論, 這是成功還是失敗??
我現在滿腦子豬豬豬雞雞雞,好像星球大戰的音效......」
見佢寫成咁,於是,我懷住好奇的心去click來睇下....睇完之後,只有一個感覺:

































()#&%$(&_$&(@#$^@#($&_@&%(_@%

= =
我相信呢個廣告用既係反向思維既方式,令人愈憎佢,就愈記得佢...
我覺得廣告創作人同個客戶都好大膽,而且,好有勇氣...內地既同胞辛苦你地喇!!!

2008年1月27日 星期日

2008.01.27 貪心/大計

曾幾何時,有個朋友向我介紹部相機既時候,曾經這樣形容她自己:「我都幾貪心架,我叫男朋友幫我買呢部相機之前,同佢講想要部相機容量又大,解像度又高,又有我想要既function...例如要有得自己調較contrast對比、有得自己手動set捕光率、有得set延長捕光的時間長度.....我男朋友跟住同我講『妳都幾貪心架喎』 XDDD .... 我認架,我係想做好多好多野,好怕人地做野做得慢果D人黎架...」
我發現,自己雖然同呢位朋友唔係好相似,但係....我偏偏都有一想法,就係我其實都係有點貪心的人,想要做好多好多野,做好多好多嘗試....其實我自己有無能力咁樣做呢....或者我真係可以嘗試,但係要認清楚自己最想試既係咩,而且一定要完成晒之前已經開始左果樣野,才好再開始另一個嘗試。有時候就係因為開始左一個嘗試,但係呢樣野要做好耐,耐到有些時候斷斷續續做下去,就另自己覺得中間那些時間好像浪費左,心諗或者可以同時間試兩樣野喎,結果,開始果兩樣野未做完,又突如其來一d必要做既野,結果當然就係三面不討好啦.....所以,都係要量力而為,認清左最想做既野,做好左先

打到好攰....打住咁多先....大計遲d先打....^^"