📜 ⬆️ ⬇️

Update Google Gears 0.2 - all focus on WorkerPoll


The add-on program for all major browsers. Google Gears is a kind of bridge between offline and online, since one of the main functions provided to the user (in this case, the developers of various web services) is the ability of the application to work without connecting to the Internet, while maintaining all the functionality and features, and after connecting - synchronize the status with the server. But this, of course, is not all - the built-in database and local web server can do much more, especially in the capable hands of developers. Previously, I already wrote about the different APIs that can be implemented in Gears, and now let's see what is in the new version.


Major changes:

These are the innovations. Of course, this is not as revolutionary as many would like, and there is still a lot of some functionality left unrealized, only in projects. Now the developers of Gears are evolutionarily improving their development, gradually improving and adding new features to already existing components, not hurrying to add completely new functionality. New features, albeit simple, but allow you to implement much more advanced and functionally rich solutions than before. The very concept of WorkerPoll is very useful and allows you to shift some of the complex calculations performed on the client onto the shoulders of the application, thus unloading the browser and providing the best performance of rich interfaces of modern web applications. By the way, this way you can significantly speed up (this is just a guess) for the application, bypassing the restrictions on the number of simultaneous connections to a single domain. And the timer finally allows you to implement accurate readings of small time intervals, regardless of the system timer (especially if you need to use multiple timers or complex calculations at the same time).

Download Google Gears here , there are links to the portal for developers and other materials.
')
PS This is a cross-post from my personal blog , I thought it would be interesting for the habra people.

Source: https://habr.com/ru/post/20619/


All Articles