Archive for 一月, 2009

Google Apps免费版指标不断缩水

星期六, 一月 24th, 2009

当Google Apps刚推出时,吸引了不少眼球,功能也是相当强大,但是Google Apps的标准版确不断缩水,从最新的介绍中,免费标准版最多50个用户(Free, ad-supported, up to 50 user accounts),而最早的时候,免费版本可以支持1000个免费帐号(mvnsearch.org:3 users Create new users You can create up to 1000 user accounts for this domain.),Google Apps看来真的为小企业服务啦。外界传闻Google借此进行收费,也不知道此举是否能达到收费的目的。关于收费和免费版本对比,可以访问: http://www.google.com/apps/intl/en/business/editions.html

Google Ajax API Playground

星期五, 一月 23rd, 2009

The AJAX API Playground is currently loaded with over 170 samples for 8 Google JavaScript APIs (Maps, Search, Feeds, Calendar, Visualization, Language, Blogger, Libraries and Earth) that you can edit and run to help you explore what our APIs have to offer. There are also Save and Export features. The save feature allows you to [...]

Book Shelf落户Twitter

星期四, 一月 22nd, 2009

Book Shelf已经落户Twitter啦,欢迎大家访问 http://www.twitter.com/book_shelf ,有新书更新会及时发布上去的。我其实就是使用了twitter4r,新书加入的时候,自动发到twitter上。

twitter4r: Twitter Ruby Client package

星期四, 一月 22nd, 2009

昨天Mulder告诉我,他使用twitter4r给乐道做了推荐,我也突发奇想,打算给Book Shelf添加这一特性。在Windows下安装twitter4r时,需要先安装json的包,如下:
gem install –version 1.1.1 json gem install twitter4r
下面是twitter4r的更改状态代码:

require ‘time’require ‘twitter’
client = Twitter::Client.new(:login => ‘your_name’, :password =>
‘your_password’);Twitter::Status.create(:client => client, :text =>
“我开始Twitter4r啦”);

Auto restart after plugin install

星期二, 一月 20th, 2009

之前文档都这样说,打开plugin manager,安装xxx plugin,然后重新启动IDEA。在最新的EAP(9647) 版本中,当你安装或更新plugin后,IDEA会启动重新启动,看来文档需要更改啦。

IDEA 8.x EAP添加Velocity 1.6支持

星期一, 一月 19th, 2009

最新的版本添加了1.6中的指令,同时fix了一下bug,另外一点可能就是IntelliLang和Velocity的整合,不少人会在xml文件中添加对Velocity模板,现在IntelliLang添加对Velocity模板支持,编写这样的文件就方便很多啦。

Struts2.1不在支持JSP EL

星期一, 一月 19th, 2009

在Struts 2.0.x中,你可以使用JSP EL直接访问ActionContext中属性,但是Struts 2.1不在支持啦,所以JSP EL和JSTL可能需要调整,你只能通过OGNL方式访问。
Struts2.1 tags do not allow evaluation of JSP EL within their attributes. Instead, Struts2 tags evaluate attribute values as OGNL. Allowing both expression languages within the same attribute opens major security vulnerabilities.
如果你想使用JSTL,可能需要进行以下转换:
<s:set name=”entities” value=”entities” scope=”request”/>
关于Struts 2.0.x to 2.1的升级注意事项请访问: http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-ConvertELexpressionstoOGNL

ActiveRecord.js: Cross Browser, Cross Platform, JavaScript ORM

星期五, 一月 16th, 2009

ActiveRecord.js makes it easy to begin working with databases in JavaScript on the client or server, with Google Gears & Chrome, Aptana Jaxer, Adobe AIR or any platform supporting the W3C HTML5 SQL Specification (currently Webkit and iPhone).
今天在Chrome上试用了一下,非常便捷,有了这个ActiveRecord.js,对Google Gears操作就方便很多啦。Apress将出一本书,讲述ExtJS和Google Gears开发,相信会用到ActiveRecord.js,呵呵。
详细信息请访问: http://www.activerecordjs.org/