问题描述
哪个最好,换句话说,最容易使用?条纹或JSF.
Which is best, or in other words, whish is easiest to use? Stripes or JSF.
尽管我并没有因为愤怒而同时使用这两种方法,但我需要评估启动新项目和转换现有Struts项目的最佳选择.
Although I haven't used both in anger I need to gauge what is the best option to work with for both starting new projects and converting existing Struts projects.
我担心JSF的渲染效果不理想,但是其他人有什么经验呢?似乎条纹要简单得多,在这种假设下我会正确吗?
I have a fear that JSF won't render as nicely as I want but what are others experiences?Seems Stripes is far more straight forward, would I be correct in this assumption?
推荐答案
哪个最好?好吧,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).
这篇关于JSF vs Stripes,哪个最好?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!