📅  最后修改于: 2021-01-02 12:28:24             🧑  作者: Mango
GWT是开发工具包,使开发人员能够开发Internet或Web应用程序。 GWT坚持使用可重用的方法来处理常见的Web应用程序任务,例如书签,UI抽象,跨浏览器可移植性等。它提供以下功能:
TASKS | CONCEPTS | GWT TOOLS AND API |
---|---|---|
1. Create a GWT Project | Generate the Files and Directories. | Google Plugin for Eclipse, GWT command-line tool, webAppCreator in Development Mode. |
2. Design the application | Basic layout of the application. | Language Constraint. |
3. Build the User Interface | Based on visual design add user interface components. | GWT widgets and panels and Root panel. |
4. Client side Management | Handling events of keyboard and mouse. | ClickHandler and KeyPressHandler interfaces. |
5. Code functionality (Client Side) | Creates and maintains one code for multiple browser implementations. | GWT Methods. |
6. Debugging | Debug the Java code before compiling it into JavaScript. | Development Mode. |
7. Apply style | Enhance the UI by applying CSS which changes style dynamically. Also apply some static element such as images etc. | GWT module, GWT themes, Style sheet, GWT methods, automatic resource inclusion. |
8. Compile and Deploy Application | Compile your Java code into JavaScript and test it in production mode. | GWT Compiler. |