我怎样才能知道一个网站是否由GWT制作?
换言之,我怎么能理解一个网站正在使用GWT,以及只有GWT而没有JS的特殊功能是什么?
我怎样才能知道一个网站是否由GWT制作?
换言之,我怎么能理解一个网站正在使用GWT,以及只有GWT而没有JS的特殊功能是什么?
如果您想知道一个站点是否使用GWT,请使用FireBug、HTTPWatch等检查HTTP请求。如果您看到一个名为<;模块名称>;。js
-这是一个明显的迹象,表明站点中有一个GWT模块。该文件就是GWT引导程序脚本。
始终可以选择使用GWT编译站点,但在部署时会间接使用,这样您就永远看不到GWT引导加载。但根据我的经验,这是一个罕见的情况。
关于“特殊功能”——你的问题没有真正的意义。GWT是一个将Java编译成HTML和JS文件的框架(Java的子集)。
GWT没有任何特殊功能。它“只是”将Java代码编译成Javascript代码。
然而,这有点像说C没有C++没有的特殊功能。你可以用C++做的所有事情,你也可以用C做,但这可能更难,需要更多的时间。
GWT也是如此,它允许您使用Java语言、工具和库来完成以前仅用于Javascript的事情。更多的工具选择。
正如Yuval A所指出的,您可以使用实时HTTP标头,萤火虫,HTTPWatch或更多的硬核软件,如Wireshark或TCPDump。对文件.nocache.js的请求对于使用GWT的网站来说是典型的。
正如尤瓦尔所指出的,这可能会错过一些使用GWT制作的网站,但可能会吸引绝大多数网站。
I have created some custom composite widget, which listens to an events (in my case loginEvent). Once the event is caught the state of the widget changes so as the way it should look (in my case I ...
I recently deployed inadvertently a debug version of our game typrX (typing races at www.typrx.com - try it it s fun). It was quickly corrected but I know it may happen again. After digging on ...
Is there a way in GWT to check if the browser running is supporting Flash?
My code works fine in IE 8, but on firefox 3.5, the javascript fails to load. I used firebug to figure out why, and the error I get is (GWT detailed mode) My suspicion is that some style is not ...
I ve been stumped for a while trying to figure out why my GWT demo app isn t working in hosted mode so I went back and downloaded the Google Web Toolkit again, unzipped it and simply went to the ...
Does anyone know how to disable the tool-tip boxes that popup when a Google Visualizations chart is clicked (Selected)? Following the sample code at Getting Started with Visualizations, the "...
I have a GWT 1.7 application and I want to upgrade it to GWT 2 Milestone 2. The application uses 2 big external CSS files. In GWT 1.7 I had a public folder and put both the CSS files in the folder and ...
This is a general question concerning technology decisions for a product development. My aim is to develop a web based remote support (desktop sharing application) with audio and video communication. ...