Google Web Toolkit 适合开发基于数据库的 Web 应用程序吗?
Google Web Toolkit 适合开发基于数据库的 Web 应用程序吗?您还有其他建议吗?
感谢各位答主!
Is Google Web Toolkit is fine to develop database based web application or do you have any other suggestion?
Thanks to answerers!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
对于基于数据库的 Web 应用程序来说,没有什么比 Grails 更好的了。查看IBM 提供的教程。它将向您展示 Grails 的强大功能以及在几分钟内开发基于数据库的 Web 应用程序是多么容易。我喜欢 GWT 和 smartGwt,但只有当存在大量非数据库的前端(客户端)逻辑时,我才会选择它们而不是纯粹的 grails。
如果您没有选择的编程语言(Grails 是基于 groovy 的,它基于 Java),您甚至可以查看 Ruby on Rails 是 Grails 本身的灵感来源。
或者,您可以使用此 gwt grails 插件 将 grails 和 gwt 混合添加,以便您拥有强大的数据库集成,以及强大的前端开发人员。 (不过我没用过这个)
For a heavy Database based web application, nothing beats Grails. Check out this tutorial by IBM. It will show you the power of Grails and how easy it is to develop database based web applications in minutes. I love GWT and smartGwt, but will go for them over pure grails only if there is a lot of non-database based front end (client side) logic.
If you do not have a programming language of choice (Grails is groovy based, which is based on Java), you could even look at Ruby on Rails which was the inspiration for Grails itself.
Alternately, you can add both grails and gwt in the mix by using this gwt grails plugin so that you have a powerful database integration, as well as a powerful front end developer. (I haven't used this though)
当然可以,但您需要创建自己的 RPC 服务从服务器获取记录到客户端并将修改后的记录传送回服务器。但这一点也不难。
或者,您也可以使用 SmartGWT,它是带有更多小部件等的 GWT 扩展。有数据绑定对象,但在免费版本中需要创建您自己的数据源。如果您决定购买许可证,他们似乎具有开箱即用的数据库集成。
SmartGWT 需要考虑的额外注意事项是它具有相对较大的下载大小 - 未压缩时大约 3MB,压缩后几乎 1MB(HTTP 服务器应该压缩它;它符合 HTTP 标准并且是透明的)。因此,如果它将成为公共互联网中的一项服务,则加载时间可能会相当长(通常超过神奇的 8 秒)。
Sure, but you will need to create your own RPC service to get records from server to client and to deliver modified records back the server. But it isn't difficult at all.
Alternatively you could also use SmartGWT, which is an extension for GWT with more widgets, etc. They have data bound objects but in free version would would need to create your own data sources. If you decide to buy a license they seem to have database integration out of the box.
And additional note to consider with SmartGWT is that it has relatively big download size - about 3MB uncompressed and almost 1MB compressed (HTTP server should compresse it; it is in HTTP standard and it is transparent). So if it is going to be a service in public internet it might get quite long to load (often exceeding magic 8 seconds).
我已经在 GWT(Google Web Toolkit)上工作了 1.5 年,了解到它是开发 Web 应用程序的完美平台,该应用程序使用后端数据库进行操作,除非您拥有处理项目的正确技能和开发的基本设计根据您的项目的要求。
I had been working on GWT (Google Web Toolkit) for 1.5 years and learned that its a perfect platform for developing web application which uses backend database for its operation unless you have the right skill sets working on your project and a basic design which is developed according to the requirement of your project.