Archive for the ‘Open Sources’ Category

Drupal开源CMS升级的注意事项和步骤

Thursday, March 18th, 2010

Drupal 是一个自由和开源的模块化框架和内容管理系统(CMS),是用PHP语言写成的。Drupal也被称为内容管理 框架,因为其功能已经超越了一般意义上的内容管理系统。 Drupal可以运行在Windows和Unix/Linux等操作系统上,支持IIS 和Apache Web服务器,但需要MySQL或者PostgreSQL数据库。Drupal是一套采用GPL授权的开放源码软件,是由数以千计的使用者和开发人员所共同维护和开发的。所以Drupal经常升级新版本,现在最新版本是6.16,相信Druapl7不久也将发布。

Drupal的新版本发布后,需要下载下来覆盖原来的文件,因此中间可能会涉及到一些问题的发生,因此还是需要做好备份工作,备份网站程序文件和数据库。但我升级Drupal很多次的经验来看,基本上没有出现什么大问题,因为它的升级程序已经做的相当不错了。
(more…)

国外流行的开源程序代码在Google的CDN

Tuesday, March 16th, 2010

什么是CDN
CDN ( Content Delivery Network ) 是把原来放在一台服务器上的内容放到多台服务器上,让使用者可以在离自己比较接近的服务器存取网站,概念听起来很像近来流行的云运算,但实际上来说,它比较接近Proxy Server ( 代理服务器) 的概念,因为它并不负责产生资料,而是直接储存原始电脑上的网站内容。
因为 CDN ( Content Delivery Network ) 只取得并储存内容,而不用重新产生,所以不用每一台服务器都需要设置成和原始网站服务器一样的设定,只要能取得原始网站的资料并且传送给使用者就可以了。

用CDN的一些好处:
(more…)

用noConflict解决jQuery与其它JavaScript库冲突

Monday, March 1st, 2010

jQuery是继prototype之后又一个优秀的Javascript框架,其宗旨是--WRITE LESS,DO MORE(写更少的代码,做更多的事情)。它是轻量级的js库(压缩后只有21k),这是其它的js库所不及的,它兼容CSS3,还兼容各种浏览器 (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+)。jQuery是一个快速的,简洁的javaScript库,使用户能更方便地处理HTML documents、events、实现动画效果,并且方便地为网站提供AJAX交互。由此众多便利使得很多网站都在使用jQuery,但有时由于项目需要还要用到其它的Javascript库及其插件,因此有时会遇到与jQuery的冲突,比如在MoolTools的图片幻灯片插件Featured Content Gallery(FCG),在WordPress下使用时会与WP默认使用的jquery 1.3.2发生冲突,出现脚本错误,提示信息如下:
(more…)

steps to change domain name of wordpress(更换域名步骤)

Friday, February 5th, 2010

WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time.

So , Many people use WordPress in the world , such as blog , cms , company website , and more.

But many people will be change their domain because many different reason, just like me . I test the the wordpress as a blog in local host , and post many articles and images in blog , then I want to publish the blog in production host . So , to change the domain name of wordpress , you should follow the steps below.

0) prepare the new host information and new domain name address and the database host.

1) log in blog and go to Site Admin page, and in the Settings , change the WordPress Address(URL) and the Blog Address(URL) in the form and save it (when you done this, if you want to log in you should change the data in the database , it store in the table named wp_options).
(more…)