问题描述
针对所有 GWT 专家的问题 - 哪个是最好的 GWT 小部件库?为什么?
Question for all the GWT gurus out there - which is the best GWT widgets library out there? And why?
根据答案列出:
- Default
- Sencha GXT
- Smart GWT
- Vaadin
- GWT-Bootstrap
- GwtBootstrap3
- Rocket GWT (inactive)
- Tatami (inactive)
- ErraiFramework
- GWTMaterialDesign
И наконец- новое поколение основанное на JsInterop:
И наконец- новое поколение основанное на JsInterop:
推荐答案
不要将自己绑定到任何这些库.使用 Vanilla GWT 创建项目的结构.特别是,使用 MVP 模式和事件总线.请参阅谷歌文章以了解如何使用 GWT 最好地设计您的客户端应用程序:构建 MVP 应用程序
Do not bind yourself to ANY of these libraries. Use Vanilla GWT to create the structure of your project. In particular, use the MVP pattern and an Event Bus. Please, see google article to know how to best design your client application with GWT: Building MVP apps
之后,您可以使用这些库的任何小部件(例如表格、组合框、日期选择器等)并将其合并到您的项目中.仅当您看不到使用 vanilla GWT 的方法时才尝试使用扩展组件.这样,您就不会将自己束缚在这些库上,当您尝试执行演示应用程序中没有出现的、包含许多错误且它们的支持充其量很差的事情时,这些库总是很痛苦.
After, you can use any widget of these libraries (say a table, or a combobox, a datepicker, etc) and incorporate it to your project. Try to use extended components ONLY if you don't see a way to do it with vanilla GWT. This way you don't tie yourself to these libraries which are ALWAYS a pain when you try to do something that doesn't appear in the demo application, contain many bugs and their support are poor at best.
如何查找小部件应遵循以下顺序:
How to look for widgets should follow this order:
- 首先检查 GWT 孵化器,看看是否这就是我要找的东西.http://code.google.com/p/google-web-toolkit-孵化器/
- 那么,如果您正在寻找一些更酷"的检查 GWT Mosaichttp://code.google.com/p/gwt-mosaic/
小心其他图书馆,我和他们一起工作过(但仍然做噩梦).
Careful with other libraries, I've worked with them (and still have nightmares).
这篇关于最好的 GWT 小部件库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!