Web开发框架比较

本文通过Matt Raible的演讲PPT,对比了多种Web开发框架的优缺点,包括Struts、Spring MVC、WebWork、Tapestry及JSF等,并提供了丰富的资源链接供读者深入研究。

Matt Raible的新web开发框架的比较

下载ppt地址:http://raibledesigns.com/page/rd?entry=comparing_web_frameworks_presentation1

ppt中,一开始Matt先用一组照片展示了他的房子,车子以及他的幸福的一家和他出的书,来显示他做为独立咨询顾问的成功一面。

接下来,展示了他的开发历程

Struts: used since June 2001 - same time 1.0 was released.
Spring MVC: used since January 2004 - before 1.0 was released.
WebWork: used since July 2004.
Tapestry: used since July 2004.
JSF: used since July 2004 - both Sun’s RI and MyFaces. 

下面开始比较各个框架,仅摘要如下,请恕本人只看缺点,不看优点。因为优点是说不完的

Struts缺点:

ActionForms - they’re a pain
Can’t unit test - StrutsTestCase only does integration
Project has been rumored as “dead”

Display Tag:

Spring MVC缺点:

Configuration intensive - lots of XML
Requires writing lots of code in JSPs
Almost too flexible - no common parent Controller

WebWork缺点:

Small Community
Documentation is poorly organized

Tapestry缺点:

Documentation very conceptual, rather than
pragmatic
Steep learning curve - very few examples
Long release cycles - major upgrades every year

JSF缺点:

Tag soup for JSPs
Doesn't play well with REST or Security
No single source for implementation

SiteMesh:

 

IDE支持

Struts has a lot of IDE support and even has frameworks built on top of it (i.e. Beehive’s PageFlow)
Spring has Spring IDE - only does XML validation, not a UI/web tool
WebWork has EclipseWork
Tapestry has Spindle - great for coders
JSF has many, and they're getting better and better

资源:

Download sample apps from this presentation
http://equinox.dev.java.net/framework-comparison


Struts - http://struts.apache.org
  StrutsTestCase: http://strutstestcase.sf.net
Spring MVC - http://www.springframework.org
  Spring IDE: http://www.springide.org
  Gaijin Studio: http://gaijin-studio.sf.net
WebWork - http://opensymphony.org/webwork
  Eclipse Plugin: http://sf.net/projects/eclipsework
  IDEA Plugin: http://wiki.opensymphony.com/display/WW/IDEA+Plugin

Tapestry - http://jakarta.apache.org/tapestry
  Spindle: http://spindle.sourceforge.net
JSF - http://java.sun.com/j2ee/javaserverfaces and http://myfaces.apache.org
  Java Studio Creator: http://sun.com/software/products/jscreator
  MyEclipse: http://myeclipseide.com
IDEA: http://www.jetbrains.com/idea
SiteMesh: http://opensymphony.com/sitemesh

Testing Frameworks
  JUnit: http://junit.org
  EasyMock: http://easymock.org
  jMock: http://jmock.org
  jWebUnit: http://jwebunit.sourceforge.net
  Canoo WebTest: http://webtest.canoo.com
  Tapestry Test Assist: http://howardlewisship.com/blog/
  2004/05/tapestry-test-assist.html
XDoclet - http://xdoclet.sourceforge.net
AppFuse - http://appfuse.dev.java.net

 

其它选择

  1. Ruby on Rails
  2. OpenLaszlo
  3. AJAX
  4. Wicket
  5. Seam
  6. Clarity Trails

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值