问题描述
我将开始一个新的应用程序,主要包括NavigationPane,Grid,Toolbar。布局应该像这个演示页面一样我很困惑,在编写较少代码,性能更好等方面使用哪一个。
有人可以告诉他们的利弊所有这些技术。
所有这一切我在javascript编码,所以这样ExtJs似乎是我的代码很容易。但是我是尝试GWT Ext的curios,这是真的,它可以做很多只是通过写几行java代码。
例如:要实现布局(在上面的gwt ext demo url中给出),我应该选择哪一个ExtJs或GWT Ext。
我看到SmartGWT比GwtEXT慢。它是否比GWT EXT有任何优势。我也在寻找基于hibernate的数据模块(因为我的应用程序将有很多数据库调用)。任何一个SmartGWT或GWTExt都支持这样的模块。我知道smartgwt不提供所有的smartclient企业版功能,我们只允许一些smartclient功能。这是一个问题吗?
您的回应非常感谢。
要编写最少的代码,请使用SmartGWT Pro。它提供了一个向导,允许您从您创建的Hibernate实体列表中选择,并立即可以对该实体执行所有CRUD操作,无需代码。然后你可以添加业务逻辑。
向导:
链接只是屏幕截图,但在展示中有几个Hibernate示例。特别看主要细节批量加载和保存样品。
在性能方面,大多数企业应用程序的实际性能都取决于应用程序联系的频率服务器。在这个领域,SmartGWT由于自适应滤波(Smart Filtering)等功能而有很大的优势(见SmartGWT展示中的特色区域)。
几乎所有收到SmartGWT的报告都是慢 是因为启用了Firebug。禁用Firebug和性能是好的,所以正常的终端用户永远不会感觉到缓慢。
I am going to start a new application which mainly consist NavigationPane, Grid, Toolbar. Layout should look like this demo page http://www.gwt-ext.com/demo/
I am quite confused which one to use in terms of writing less code, more performant, etc..Could someone tell the pros and cons of all these technologies.
All the while I coded in javascript, so that way ExtJs seems to be the easy one for me to code. But I am curios to try GWT Ext, Is it true that it could do a lot just by writing few lines of java code.
For eg: To achieve the layout ( given in above gwt ext demo url), which one should I opt ExtJs or GWT Ext.
I read SmartGWT is relatively slower than GwtEXT. Does it have any advantage over GWT EXT. I am also looking for hibernate based data modules ( as my application is going to have many database calls). Anyone of SmartGWT or GWTExt has support for such modules. I came to know that smartgwt doesn't offer all of smartclient enterprise version functionalities, that we are allowed only a few of smartclient features. Will it be an issue?
Your response is highly appreciated.
To write the least code, use SmartGWT Pro. It provides a wizard that allows you to just pick from a list of Hibernate entities you've created, and instantly you have the ability to perform all CRUD operations on that entity, no code required. Then you can add business logic.
The wizard:
http://www.smartclient.com/smartgwtee/showcase/#tools_hibernate_wizard
The link about is just screenshots, but there are several Hibernate samples in the showcase. See especially the Master-Detail Batch Load and Save sample.
As far as performance, real-world performance of most enterprise apps is dictated by how often the application has to contact the server. In this area SmartGWT has a large lead because of features like Adaptive Filtering (see the Featured area in the SmartGWT showcase).
Almost all reports we receive of SmartGWT being "slow" are due to having Firebug enabled. Disable Firebug and performance is fine, so normal end users will never perceive slowness.
这篇关于ExtJs Vs Ext GWT Vs SmartGWT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!