WFF

wffweb - Java framework to develop web applications

View sample projects on GitHub

How to lazily load specific tags/attributes in the ui

Since wffweb-2.1.5, it supports multi-threading. This will help to asynchronously load ui for better user experience. A user specific example is a large form containing many select fields (drop down box of countries, vehicles, fruits etc..). In a sigle threaded model, the other parts of the form can not be generated while the select box is being filled by elements. So if we are using separate thread for generating select boxes then the user will like the entire ui is quickly loaded and the select boxes are being asynchronously filled with elements. This is a simple use case, there are many use cases where you want to load the overall ui first and after that asynchronously load different section of it.

Next >>



Subscribe on youtube for technical videos