Archive for » March 18th, 2007 «

Zend Framework Beta 0.9.0

March 17, 2007
  We are very proud to announce Zend Framework Beta Release version 0.9.0. This is the first Beta Release for Zend Framework. Most components have graduated from the incubator to the core library, the class interfaces are stabilizing, and the documentation and tests have been improved significantly.

  Some of the highlights and new developments in this release are the following:

  • MVC: view integration, output buffering;
  • Zend_Auth: new authentication adapters;
  • Zend_Db_Table: object-oriented enhancements;
  • Zend_Db_Select: enhanced interface, new documentation;
  • Zend_Db_Adapter_Mysqli: native adapter moved to core;
  • Zend_Feed: adds a class to produce an RSS/Atom feed;
  • Zend_Mail: more features for handling messages in folders;
  • Zend_Search_Lucene: now matches the performance of Java Lucene
  • Zend_Service_Audioscrobbler, Zend_Service_Delicious, Zend_Service_Simpy: moved to core;
  • Zend_Translate: moved to core, new message storage adapters;
  • Zend_Validate: improvements to validators for email address and hostnames;
  • Zend utility classes: refactored design
  • Zend_Log (incubator): fully object-oriented redesign
  • Zend_Memory (incubator): for managing data structures in a low-memory environment
  • Many other enhancements to test suites and documentation.

Download Zend Framework Beta 0.9.0!

The changelog highlights the most significant changes to the Zend Framework.

把mrtg、awstats和bugzilla都移到了lighttpd下

  今天晚饭后抽了点闲功夫,把mrtg、awstats和bugzilla都移到的lighttpd下,于是把之前单独为这几个东西跑的apache停了,全部使用lighttpd提供web服务,系统开销又能小一些。

  mrtg很容易移植,几乎不用配置甚么就可以了,awstats和bugzilla都是perl的,需要配置lighttpd的cgi支持,简单的使用下面一行即可搞定awstats的移植
[coolcode]
$HTTP[“url”] =~ “^/awstats/” {
cgi.assign = (
“.pl” => “/usr/bin/perl”,
“.cgi” => “/usr/bin/perl”
)
}
[/coolcode]
  不过照着上面的代码设置bugzilla的时候却遇到了问题,bugzilla的每个文件里面第一行的perl命令后加入了 -wT参数,在lighhtpd下以cgi模式运行会报 500 错误,尝试修改了index.cgi,去掉 -wT参数后可以正常运行,于是使用了下面的一句命令,把全部的cgi文件中-wT参数都给去掉了,这句命令估计对很多人都能有帮助:)
[coolcode]
sed -in-place -e “s/ -wT/ /g” `grep ” -wT” -l ./*.cgi`
[/coolcode]
  搞定!

  逐渐的,我开始抛弃Apache了。