精华帖 (0) :: 良好帖 (0) :: 新手帖 (1) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-01-11
从Rails迁移Grails的10个理由(译者:呵呵非常抱歉,此地址我不能访问,很遗憾。) 7. 忙碌的不断成长的Grails邮箱列表 社区,就是揭示停滞不前最好的反例 8. 内置Spring(最基本的企业应用集成技术) 9. 服务层 支持事务的自动分界和范围
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-01-11
我把那个访问不了的贴上来了,个人觉得相比Rails,Grails还是有很多优点的。今天看了一下Grails的官方网站上的插件,和Rails插件的数量差无数个数量级,但都是我想要的。
10 Reasons to Switch from Rails to Grails After spending a few years really enjoying Rails it was difficult to bring myself to even try groovy and grails. But my latest contract forced me to look for alternatives, and I'm glad I did. Here are some reasons that you may want to switch... 1. GORM with hibernate/spring and jpa is much better than ActiveRecord 2. No distribution problems; runs in many production ready containers 3. Internationalization out of the box (not specifically ignored as DHH does) 4. Transactions actually work, and they include save-points. 5. Not only dynamic finders and counters, but dynamic listOrderBy 6. No green threads (although this may be fixed in Ruby 2.0, around 2010?) 7. Ability to use pessimistic locking out of the box 8. Real-live prepared statements and .withCriteria method 9. Production level test reporting with built in Mocking and Stubbing 10. Search operations are based on Lucene (with a plugin) All of these don't make sense for a non-java coder. And my startup time for grails would have be much longer without my prior experience with Rails and Ruby. One thing I thought I might be giving up was the endless list of valuable gems that make developing in Rails a real pleasure. But after re-reviewing the list of open source products from apache, java source, spring, hibernate, and even Sun (glassfish), I can't think of any gems that I will miss. |
|
返回顶楼 | |
发表时间:2008-01-11
to Vstar:thank you very much
其实,我个人的感觉是groovy/grails给我象java一样的亲和力。 |
|
返回顶楼 | |
发表时间:2008-01-11
我觉得GORM能够象Ruby on Rails一样直接拿数据库的字段来映射就好,就压根不用在model还写属性字段。
|
|
返回顶楼 | |
发表时间:2008-01-11
呵呵,翻译完有点后悔了,这是不是又在搞XXX之争么?
10 Reasons to Switch from Rails to Grails的十条看起来也比较简单,在此就不再翻译了,而且也充满了跟Rails的对比。 |
|
返回顶楼 | |
发表时间:2008-01-11
Grails开发效率如果,最关心这个了...
|
|
返回顶楼 | |
发表时间:2008-01-11
Grails的开发效率还是比较高的,昨天小试了一下还是挺爽的
|
|
返回顶楼 | |
发表时间:2008-01-11
Arden 写道 我觉得GORM能够象Ruby on Rails一样直接拿数据库的字段来映射就好,就压根不用在model还写属性字段。
呵呵,这也是ActiveRecord跟Hibernate的ORM区别,关注点不同。 |
|
返回顶楼 | |
发表时间:2008-01-12
我们喜欢的是ruby的特性,而非仅仅是rails的方便。
|
|
返回顶楼 | |
发表时间:2008-01-14
比较烦的是写一个hello world, 一发布, 好家伙, 几十兆....
最烦的是里边还藏着个spring, 我在想, 为啥G开头的不用guice? |
|
返回顶楼 | |