Make your applications faster using client side actions - no server roundtrip required.
As you probably know, almost every action in a Vaadin application requires a server request. Most of the time this is not a problem, but sometimes you probably wish you could optimize some small operations to be handled mainly on the client side.
With the Snappy add-on, you are allowed to define some actions to execute primarily on the client/browser, and let the new state be synchronized to the server lazily. No server request is made instantly when the actions are performed. The state is synchronized only when some other server request is triggered, such as button click which requires server side processing.
There are mainly two reasons you would want to move some operations to the client/browser:
- Make the interface respond faster to user input, so that it feels more responsive and 'snappy’
- Reduce HTTP traffic to the server, most notably in mobile devices, as latency and bandwidth could slow down the application
Both of these reasons come from the need to make the application feel fast to the end, which is usually very important.
Initial release, quite ready for beta use. Some additional features might come before 1.0.
Not properly tested on all browsers, but should work so please report any issues you encounter. Probable bugs ahead.