是否可以在一个Web应用程序中结合Primefaces和Richfaces? [英] Is that possible to combine Primefaces and Richfaces in one web application?

查看:99
本文介绍了是否可以在一个Web应用程序中结合Primefaces和Richfaces?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在阅读 RichFaces与PrimeFaces(为了提高性能)之后,我很想在我的网站中同时使用这两种方法应用程序以从两者中获得最大收益.

After reading RichFaces Vs PrimeFaces (for performance), I was tempted to use both in my web application to get the maximum benefit from both.

您认为这可能吗?优点和缺点是什么?

Do you think that is possible? What are the advantages and disadvantages?

推荐答案

两者都是很棒的组件库.您绝对可以将它们结合起来.但这不是1 + 1 = 2.更多1 * 1 = 1.您应该更仔细地研究这两个组件库.您究竟需要RichFaces所提供的哪些PrimeFaces没有提供的功能?您到底需要RichFaces不提供的PrimeFaces,您需要什么呢?您需要自己找到合适的平衡.一个Web应用程序不是另一个.

Both are great component libraries. You can definitely combine them. But it is not true that it's 1+1=2 here. It's more 1*1=1. You should really investigate the both component libraries more closely. What exactly do you need from RichFaces which PrimeFaces doesn't offer? What exactly do you need from PrimeFaces which RichFaces doesn't offer? You need to find the right balance yourself. The one webapp isn't the other.

关于优点/缺点,这是相当主观的.自己去玩吧.首先分别分开,然后一起.自己的经验是最好的经验.我本人在PF 2.1方面有很好的经验. PF 2.2在数据表组件等方面存在一些严重问题.我还没有尝试过PF 3.0.我目前正在研究一个使用一些RF 3.3组件的项目,我们正在将其升级到RF 4.0.我只能说这是一个相当不错的组件库,带有良好的文档.完整的PF文档不再免费提供.

As to advantages/disadvantages, that's pretty subjective. Go play with them yourself. First each separately and then together. Own experience is the best experience. I myself had good experiences with PF 2.1. PF 2.2 had some serious issues in among others the datatable component. I didn't try PF 3.0 yet. I am currently working on a project which uses some RF 3.3 components and we are in a progress to upgrade it to RF 4.0. All I can say is that it's a pretty decent component library with good documentation. The full PF documentation isn't freely available anymore.

这篇关于是否可以在一个Web应用程序中结合Primefaces和Richfaces?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆