百度首页 | 百度空间
 
文章列表
 
2008年02月19日 星期二 23:56
http://www.easyjf.com/blog/html/20080217/1179671.html

A chinese tutorial for Ext2.0. You can get started from there.

http://extjs.com/learn/Tutorials (English)

http://wddaffwdd.zhan.cn.yahoo.com/ (chinese)
类别:Javascript | 评论(0) | 浏览()
 
2008年02月18日 星期一 15:20
Firebug documentaion

Video materials


FireBug Tips and Tricks

Now, debug your javascript with firebug.

Update: Tutorials of Firebug (Chinese)
类别:Javascript | 评论(0) | 浏览()
 
2008年02月13日 星期三 20:15
类别:Serverside | 评论(0) | 浏览()
 
2008年02月06日 星期三 10:14
You can press win + R , input services.msc.

Finally, find Contrl Center of Storm Media and forbid it.

If you don't want Storm Media automatically update and you can forbid it.
类别:Computer | 评论(1) | 浏览()
 
2008年02月05日 星期二 23:24
It's very straightfoward, you can write:

# sudo apt-get install unrar

Now you can click the right key of mouse to uncompress your rar files.
类别:Linux | 评论(0) | 浏览()
 
2008年02月05日 星期二 22:10
Firstly, login to the ubuntu desktop and select the Install VMware Tools of VM menu in VMware.

Secondly, open the terminal and input:

$ uname -r
$ apt-get install gcc make build-essenial liunx-headers-'uname -r'
$ cp /cdrom/vmware-linux-tools.tar.gz /tmp
$ cd /tmp
$ tar zxvf vmware-linux-tools.tar.gz
$ cd vmware-tools-distrib
$ sudo ./vmware-install.pl

Thirdly, input:
$ sudo vim /etc/X11/xorg.conf

Option "Protocol" "IMPS/2" instead of Option "Protocol" "ps/2"

Finally, reboot system, open the terminal and input:

$vmware-toolbox

You can move your mouse out the wmware without press ctrl + alt.
类别:Linux | 评论(0) | 浏览()
 
2008年02月03日 星期日 13:34
1. If a method can be static, declare it static. Speed improvement is by a factor of 4.

2. echo is faster than print.

3. Use echo's multiple parameters instead of string concatenation.

4. Set the maxvalue for your for-loops before and not in the loop.

5. Unset your variables to free memory, especially large arrays.
...
...

Know more
类别:Php | 评论(0) | 浏览()
 
2008年02月03日 星期日 12:45
YSlow is a Firefox add-on integrated with the popular Firebug web development tool. YSlow analyzes web pages and tells you why they're slow based on the rules for high performance web sites.

You can know more from Yahoo! Developer Network.

P.S You have to intall Firebug first.
类别:Webdesign | 评论(2) | 浏览()
 
2008年02月02日 星期六 13:36
You have to write the following code manually in system/database/DB.php:

    // Instantiate the DB adapter
    $driver = 'CI_DB_'.$params['dbdriver'].'_driver';
    
$DB =& new $driver($params);
   
    // Set charset yourself
    
$DB->query("SET NAMES 'utf8'");
   
     return
$DB;

P.S. CI 1.6 released. See the Change Log, More...
类别:Php | 评论(0) | 浏览()
 
2008年01月31日 星期四 17:31
Joomla! Coding Standards

Including Code
Anywhere you are unconditionally including a class file, use require_once(). Anywhere you are conditionally including a class file (for example, factory methods), use include_once(). Either of these will ensure that class files are included only once. They share the same file list, so you don’t need to worry about mixing them - a file included with require_once() will not be included again by include_once().

Note: include_once() and require_once() are statements, not functions. You don’t need parentheses around the filename to be included.

PHP Code Tags
Always use <?php ?> to delimit PHP code, not the <? ?> shorthand. This is required for PEAR compliance and is also the most portable way to include PHP code on differing operating systems and setups.

For files that contain only PHP code, the closing tag (”?>”) is never permitted. It is not required by PHP. Not including it prevents trailing whitespace from being accidentally injected into the output.

SQL Queries
SQL keywords are to be written in uppercase, while all other identifiers (which the exception of quoted text obviously) is to be in lowercase. Carriage returns should not be used as JDatabase::getQuery provides for formatted output. However, indenting with spaces to improve readability is desireable.

Queries should be wrapped in single quotes (as these text blocks are parsed faster by php).

All quoted string must using the Quote method to facilitate future compatibility with other database engines.

All expected integer or floating-point variable must be cast with (int), (float) or (double) as appropriate

...
More...
类别:Php | 评论(0) | 浏览()
 
     
 
 
文章分类
 
 
 
Ria(25)
 
 
 
 
 
Ruby(2)
 
 
Php(88)
 
Linux(11)
 
Jquery(34)
 
     
 
文章存档
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
     
 
最新文章评论
   

输入框 没用
 
 
 

谢谢提醒,已经通知我朋友了
 
 
     


©2008 Baidu