最近一年, 每天都非常難熬, 因為每天都要轉換幾種思維去寫唔同的程序. 程序好似寫了唔少了, 從html, css, javascript, 到java, php. 可以講自己已經無所不通了, 但總是覺得自己冇咩積累. 尤其之前自己設計的一個框架, 雖然思想與大部分框架一致, 但事實上設計很簡陋, 令到自己十分沮喪. 然后又加深了自己的認識, 更加覺得冇豐富的編程經驗, 系冇可能寫得出優秀框架的. (開始懷疑那些連程序都冇掂過的system designer 究竟可以設計出咩垃圾框架出來). 雖然有自建的standalone wiki, 但始終唔喜歡用wiki, 因為not html friendly. 于是就促成了這個空間的來由.
當自己現在開始累積的時候, 卻發覺自己的知識都很多, 但沒有一個系統的整理. 雖然系在遇到問題的時候, 可以很快的trouble shooting and solving. 但以后呢? 所以要在將來空閑的時間來整理一下, 至少對career一定有用的.
盼望空閑時間的來臨…
PS: 最近, 或者講一直很討厭microsoft的編程語言的出品, 或者系缺少例如Jame Gosling這種編程大師吧. VB, C#, 一見到啲syntax就想作嘔… syntax同design上的問題就唔使講啦, 還要dot net唔系開源的, 想查問題出在邊都查唔到…
Actually, there is an issue with noConflict and older versions of
Scriptaculous but not jQuery v1.2.6 and the most recent Scriptaculous.
You can check out the whole threads here:
http://groups.google.com/group/jquery-en/browse_thread/thread/69cb41d2e3710c70/f707b1df7821d026?hl=en&#f707b1df7821d026
http://groups.google.com/group/jquery-en/browse_thread/thread/dde6b91c3ad00ecc/25465bb7850810fa?hl=en%E6%8D%B9bb7850810fa
The issue wasn’t so much a problem with jQuery as [...]
Just a note: If you have to use IIS and CakePHP together, however, you don’t have any privileges to the setting on production server, especially on shared hosting server, this is for you.
Just uncomment this line
//Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));
And change to
Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’).”?”);
And the url will become pretty, at lease not ugly.
/context/index.php?/controller/action/param1/param2 [...]
Just a note of different anchors as following:
href=’#’ will function the same as scroll to the top. This just draw me another attention that DO NOT put # in you file name! href=’?’ will trigger the browser to refresh the same page. just a shorter coding if you don’t want to type the whole [...]
Just a note of gears in Firefox which will help a great deal in facilitating your web development.
Firebug: very handy extension which will help in figuring out the CSS and Javascript bugs.
YSlow: Y(Why) slow? It’s a really a good name which will clearly identify the performance problems in your [...]
From http://kb.mozillazine.org/About_protocol_links
There are a few special URLs, which begin with about:, that you can type into the Location Bar. (In Thunderbird, which has no Location Bar, or in SeaMonkey, you can also use them as “Mail Start Page”.)
about: — The same page as “Help -> About”. about:about — Lists all these [...]
Just a note to remind me not to repeat the same mistakes again.
1. Never let View layer throw out any exceptions, ‘cuz they will display on the screen immediately. It’s really bad to show others errors, since people will just reckon that your application is not reliable and secure at all.
So keep in [...]
Recently, I just started to learn how to use the services from Google to improve the page ranking, not only for myself, but also for my client.
First of all, go to http://www.google.com/analytics/ to signup your website and insert the generated script into your pages, then google will start to analyse every [...]
set_time_limit(0);
function _rand() {
$length=26;
$chars = “0123456789abcdefghijklmnopqrstuvwxyz”;
$max = strlen($chars) – 1;
mt_srand((double)microtime() * 1000000);
$string = ”;
for($i = 0; $i < $length; $i++) {
$string .= $chars[mt_rand(0, $max)];
}
return $string;
} [...]
A:
艾–Ai
安–Ann/An
敖–Ao B:
巴–Pa
白–Pai
包/鲍–Paul/Pao
班–Pan
贝–Pei
毕–Pih
卞–Bein
卜/薄–Po/Pu
步–Poo
百里–Pai-li
C:
蔡/柴–Tsia/Choi/Tsai
曹/晁/巢–Chao/Chiao/Tsao
岑–Cheng
崔–Tsui
查–Cha
常–Chiong
车–Che
陈–Chen/Chan/Tan
成/程–Cheng
池–Chi
褚/楚–Chu
淳于–Chwen-yu
[...]
-
Articles
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
-
Meta