独家:GWT 2.0即将发布,特性预览
【Csdn 7月31日报道】Google Web Toolkit (GWT)是一个开源的工具集,可以让Web开发人员用Java语言创建和维护复杂的JavaScript前端应用程序。它发布在Apache License version 2.0下。GWT的目标是:使开发人员可以使用现有的Java工具来在任何浏览器上构建AJAX
【Csdn 7月31日报道】Google Web Toolkit (GWT)是一个开源的工具集,可以让Web开发人员用Java语言创建和维护复杂的JavaScript前端应用程序。它发布在Apache License version 2.0下。GWT的目标是:使开发人员可以使用现有的Java工具来在任何浏览器上构建AJAX,从而从根本上改善用户使用网络的体验。
谷歌今年晚些时候将推出GWT 2.0。虽然GWT的开发进程比较慢,然而这几年来一直稳步提升。让我们回眸GTW走过的岁月,并展望下它的未来:
先看看它的历史
* GWT 1.0 :2006,5月17日
* GWT 1.1:2006年8月11日
* GWT 1.2 :2006年11月16日
* GWT 1.3:2007年2月5日
* GWT 1.4:2007年8月28日
* GWT 1.5:2008年9月27日
* GWT 1.6:2009年4月7日
* GWT 1.7:2009年7月13日
GWT 2.0的发布计划是在今年晚些时候,GWT 2.0将包含巨大的改进,包括动态脚本载入、一个新的编译器优化的目录,并以新的方式使用本地浏览器来支持宿主模式(hosted mode)调试。
宿主模式(hosted mode)是高效开发的一个关键因素,而且它有助于调试,编辑等。问题是宿主模式的浏览器如果很很特殊比如在Linux上、宿主浏览器是一个老版的Mozilla,就难以与其他技术(如Flash)交互,而且不可能在非开发操作系统(如Mac上的IE浏览器)上调试浏览器。GWT使大多数本地浏览器支持宿主模式,解决了这些问题。
另一个巨大的性能提升是编译器功能的增强,配备了新的工具包。新版本的GWT承诺将会提供更快速的编译速度。
另外一个新的特性是开发者可以自定义代码分割。通常的编译脚本代码,其大小是一个麻烦事,因为它拥有所有的代码,并且能够增长到很大。因此,初始下载就会很慢、脚本解析时UI悬挂等。GWT 2.0提供了一个解决方案使用runasync进行代码分割。编译器决定如何组织代码,而且确保是正确的。
另一个新特性是ClientBundle,它能够将ImageBundle扩展到任意资源类型。结合ClientBundle不仅图像捆绑在一起,所有的资源(如CSS )都可以捆绑。最明显的好处是,只有一个文件实必须要下载的,因此,减少了HTTP请求,下载速度也更快。此外,CSS等资源的规模得到优化。在谷歌的I / O演讲中还提到,在下一个版本中, ClientBundle也许还将使用Base64来处理二进制资源。
在GWT2.0中,有可能会创造RPC黑名单,这个名单告诉RPC子系统跳过那些你认为不会使用也不需要编译的类型。GWT2.0还承诺提供更快、更方便和更可预见的布局。标准模式提供了新的功能,包括基于约束(constraint-based)的布局。在GWT2.0中还将有一个更新的控制面板。
2.0版本将GWT向前带动了一大步,为开发者和用户提高了性能。虽然不是官方的,但2.0也许还带来了新的基于XML的标记语言来定义布局。我的猜测是,语法将接近HTML 。希望新的版本能够吸引更多的GWT开发者,并希望有更多的部件库和扩展。(译/王玉磊)

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

You can view various contents on Xiaohongshu, which can provide you with various help and help you discover a better life. If you have anything you want to share, you can post it here so that everyone can take a look. , and at the same time, it can bring you profits. It is very cost-effective. If you don’t know how to publish your works here, you can check out the tutorial. You can use this software every day and publish various contents to help everyone use it better. Don’t miss it if you need it! 1. Open Xiaohongshu and click the plus icon below. 2. There are [Video] [Picture] [Live Picture] options here; select the content you want to publish and click to check. 3. Select [Next] on the content editing page. 4. Enter the text content you want to publish and click [Publish Pen]

With the rapid development of social media, short video platforms have become the main channel for many users to express themselves and share their lives. Many users may encounter various problems when publishing videos of their works on Xiaohongshu. This article will discuss the reasons that may cause the video publishing of Xiaohongshu works to fail and provide the correct publishing method. 1. Why can’t Xiaohongshu publish videos of works? The Xiaohongshu platform may occasionally experience system failures, which may be caused by system maintenance or upgrades. In this case, users may encounter the problem of being unable to publish videos of their works. Users need to wait patiently for the platform to return to normal before trying to publish. An unstable or slow network connection may prevent users from posting videos of their work on Xiaohongshu. Users should confirm their network environment to ensure that the connection is stable and

As a lifestyle sharing platform, Xiaohongshu has attracted a large number of users to share their daily life and grow products. Many users have reported that their published content cannot be displayed. What is going on? This article will analyze the possible reasons why Xiaohongshu cannot be released and provide solutions. 1. Why can’t Xiaohongshu be released? Xiaohongshu implements strict community guidelines and has zero tolerance for publishing advertisements, spam, vulgar content, etc. If the user's content violates the regulations, the system will block it and the content will not be displayed. Xiaohongshu requires users to publish high-quality and valuable content, and the content needs to be unique and innovative. If the content is too generic and lacks innovation, it may not pass review and therefore not be displayed on the platform. 3. Account abnormality

As a popular social e-commerce platform, Xiaohongshu has attracted a large number of users to share their daily life and shopping experiences. Sometimes we may inadvertently publish some inappropriate content, which needs to be deleted in time to better maintain our personal image or comply with platform regulations. 1. How to delete Xiaohongshu releases? 1. Log in to your Xiaohongshu account and enter your personal homepage. 2. At the bottom of the personal homepage, find the "My Creations" option and click to enter. 3. On the "My Creations" page, you can see all published content, including notes, videos, etc. 4. Find the content that needs to be deleted and click the "..." button on the right. 5. In the pop-up menu, select the "Delete" option. 6. After confirming the deletion, the content will disappear from your personal homepage and public page.

In today's social network era, Xiaohongshu has become an important platform for young people to share their lives and obtain information. Many users hope to attract more attention and traffic by publishing content on Xiaohongshu. So, when is the best time to post content? This article will explore in detail the selection of Xiaohongshu’s publishing time and the publishing location with the most traffic recommendations. 1. When is the best time to publish Xiaohongshu? The best time to publish content on Xiaohongshu is usually during periods of high user activity. According to the characteristics and behavioral habits of Xiaohongshu users, there are several time periods that are more appropriate. During the time period from 7 pm to 9 pm, most users have returned home from get off work and started browsing content on their mobile phones in search of relaxation and entertainment. Therefore, content posted during this period is more likely to attract users

How does the Xiaohongshu app publish works? Many friends know that there are a large number of creative works and a strong dating circle in this software. For users who are new to this software, they probably don’t know how to publish their works, so that more people can watch the other side of you. If you still don’t know how to publish the works in it, then quickly refer to the five-minute tutorial on publishing works on the Xiaohongshu app recommended by the editor of this site. Tutorial on publishing works in Xiaohongshu app in five minutes 1. Click [Three] As shown in the picture, click [Three] pointed by the red arrow in the upper left corner. 2. Click [Creation Center] As shown in the picture, click [Creation Center] pointed by the red arrow. 3. Click [Go to Publish] as shown in the picture,

With the rise of short video platforms, Xiaohongshu has become a platform for many people to share their lives, express themselves, and gain traffic. On this platform, publishing video works is a very popular way of interaction. So, how to publish Xiaohongshu video works? 1. How to publish Xiaohongshu video works? First, make sure you have a video content ready to share. You can use your mobile phone or other camera equipment to shoot, but you need to pay attention to the image quality and sound clarity. 2. Edit the video: In order to make the work more attractive, you can edit the video. You can use professional video editing software, such as Douyin, Kuaishou, etc., to add filters, music, subtitles and other elements. 3. Choose a cover: The cover is the key to attracting users to click. Choose a clear and interesting picture as the cover to attract users to click on it.

We all know that when browsing the platform, there will be many videos recommended to us. These are basically a way of recording a good life. Of course, we can also publish some of our usual video works on it. Or photo albums, etc. are all possible, some talent shows, etc. are all possible. Maybe you can gain more fans. It is really suitable for you to use, but many users may not I don’t know how to publish the work after using it once, so today I will give you a detailed explanation of some of the above steps and methods for publishing, so that you can have a better understanding of it, if you also like it , just take a look with the editor, I believe you will like it.
