ExtJs 与 Ext GWT 与 SmartGWT [英] ExtJs Vs Ext GWT Vs SmartGWT

查看:21
本文介绍了ExtJs 与 Ext GWT 与 SmartGWT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将开始一个新的应用程序,它主要由导航窗格、网格、工具栏组成.布局应该像这个演示页面 http://www.gwt-ext.com/demo/

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.

我一直在用 javascript 编码,所以 ExtJs 似乎是我编码的简单方法.但是我很想尝试 GWT Ext,它是否真的可以通过编写几行 java 代码来做很多事情.

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.

例如:要实现布局(在上面的 gwt ext demo url 中给出),我应该选择 ExtJs 还是 GWT Ext.

For eg: To achieve the layout ( given in above gwt ext demo url), which one should I opt ExtJs or GWT Ext.

我读到 SmartGWT 比 GwtEXT 慢.它比 GWT EXT 有什么优势吗?我也在寻找基于休眠的数据模块(因为我的应用程序将有很多数据库调用).SmartGWT 或 GWTExt 中的任何一个都支持此类模块.我开始知道 smartgwt 不提供所有 smartclient 企业版功能,我们只允许使用一些 smartclient 功能.会不会有问题?

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?

非常感谢您的回复.

推荐答案

要编写最少的代码,请使用 SmartGWT Pro.它提供了一个向导,让您只需从您创建的 Hibernate 实体列表中进行选择,您就可以立即在该实体上执行所有 CRUD 操作,无需代码.然后就可以添加业务逻辑了.

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.

巫师:

http://www.smartclient.com/smartgwtee/showcase/#tools_hibernate_wizard

关于链接只是截图,但展示中有几个 Hibernate 示例.请特别参阅 Master-Detail Batch Load and Save 示例.

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.

就性能而言,大多数企业应用的实际性能取决于应用与服务器联系的频率.由于自适应过滤等功能,SmartGWT 在这方面遥遥领先(请参阅 SmartGWT 展示中的特色区域).

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).

我们收到的关于 SmartGWT缓慢"的几乎所有报告都是由于启用了 Firebug.禁用 Firebug 性能很好,因此普通最终用户永远不会感觉到缓慢.

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 与 Ext GWT 与 SmartGWT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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