且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

JSF vs Stripes,哪个***?

更新时间:2023-12-04 19:30:28

哪个***,换句话说,哪个最容易使用?条纹或JSF.

Which is best, or in other words, which is easiest to use? Stripes or JSF.

哪个***?好吧,Stripe和JSF是不同的.前者是基于动作的框架(如Struts),而后者是基于组件的框架(如Wicket).因此,答案将取决于您对基于操作的流程与基于组件的层次结构的经验和知识,两者各有优缺点.哪个最简单?条纹,对此毫无疑问.

Which is the best? Well, Stripes and JSF are different. The former is an action-based framework (like Struts) while the later is component-based (like Wicket). So the answer will depend on your experience and knowledge of action-based flow vs component-based hierarchy and both have their strengths and weaknesses. Which is the easiest? Stripes, no doubts about that.

我对Stripes的热爱:

What I love about Stripes:

  • 这很简单,即学习曲线很低.
  • 我喜欢它的约定优于配置方法.
  • 轻巧.
  • 它有充分的文档记录(由于它的简单性,您不需要大量的文档).
  • 它有一个很小的反应社区(您将在邮件列表).
  • It's simple and easy i.e. it has a low learning curve.
  • I love its convention over configuration approach.
  • It's lightweight.
  • It's well documented (and you don't need tons of documentation because of its simplicity).
  • It has a small but reactive community (you'll get answers on the mailing lists).

如果两者对您来说都是新手,我都会去条纹.如果您想学习基于组件的框架,我认为从Wicket开始更容易(另请参阅Gavin King在中所说的内容).如何开始学习Java EE 6 ).

If both are new to you, I'd go for Stripes. If you want to learn a component-based framework, I think it's easier to start with Wicket (also see what Gavin King says in How to start learning Java EE 6).