大项目的GWT? [英] GWT for big projects?

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

问题描述

我的朋友和我想开发一个大型的web2.0项目。我们决定用Java编写它,因为我们喜欢它,而且我们擅长,我们将使用的其他库以Java(Apache Lucene,Apache Cassandra ...)编写。我们选择GWT作为框架。我们爱谷歌,谷歌技术,谷歌apis。



我想问你是否认为GWT适合推出youtube,twitter,wikipedia等大项目......? gwt-rpc机制在大项目中是可靠的?

GWT适用于web应用程序,不是网站或网页,GWT适用于Gmail这样的应用程序,它是一个BIG应用程序,但包含一个具有复杂操作的单页。

GWT在某些项目中失败很多页面,我们在一个ERP系统中使用GWT,每个页面包含大约100页,代表CRUD操作+一些业务操作,GWT并不是最佳选择。其他GWT可能会失败,因为网络爬虫无法从GWT生成的JavaScript文件中提取信息。搜索引擎更喜欢从服务器端生成的静态HTML,而不是像GWT那样通过javascript在客户端生成。因此,Google搜索引擎不会给出您网站的结果。



总之,GWT适用于页面数量更少,操作更复杂的Web应用程序。


My friend and I want to develop a big web2.0 project. We decided to write it in Java because we love it and we are good at it and the other libraries which we will use are written in Java (Apache Lucene, Apache Cassandra ...). and we choose GWT as a framework. We love google, google technologies, google apis.

and I want to ask do you think that GWT is suitable to launch the big projects like youtube, twitter, wikipedia and other... ? Is gwt-rpc mechanism reliable in big projects?

解决方案

Well GWT is suitable for web applications and not web sites or web pages, GWT is suitable for applications like Gmail which is a BIG application yet contains a single page which has complex actions.

GWT fails in some projects with many pages, We used GWT in an ERP system which contained about 100 page each page represents CRUD operations + some business operations, GWT wasn't the perfect choice.

Other thing GWT may fail in is that web crawlers can't extract information from javascript files generated by GWT. Search engines prefer static HTML generated from server side, and not generated on client side by javascript as GWT does. So, Google search engine will not give results from your site.

In summary, GWT is suitable for web applications with fewer number of pages and more complex actions.

这篇关于大项目的GWT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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