This developer guide is based on latest version of wffweb-2.x.x because wffweb-1.x.x provides just to generate html/css but wffweb-2.x.x comes with server-client bi-directional full-duplex communication, event handling, writing server side/client side code etc... Before getting started with code watch this video to understand the main features of wffweb-2.x.x version. The wffweb-2.x.x is decoupled with java ee modules so you have to configure your project before use. The configurations may be different on different servers you are using. Sample projects configured for tomcat 8 can be downloaded from here.
Note :- Unless you set these configurations, wffweb is a simple html/css generator framework and no other unwanted classes like classes for client-server communication etc.. will be loaded into memory. For this advantage, it's decoupled with Java EE modules.
Always use the latest version of wffweb-2.x.x to enjoy more features.
The below video demonstrates how to develop a wffweb application using maven and IntelliJ Community Edition. It covers using responsive design, converting HTML to Java code, loading login form, form submission, loading dashboard template, logout etc... All these are done in just 35 miniutes. It's a basic way to develop application. Keep the UI components reusable, eg:- in this video you can find the dashboard tiles can be made reusable, i.e that specific portion can be kept as a seperate resuable class so that it can be reused instead of copy pasting the whole tags block again and again. IntelliJ is the only IDE which supports webfirmframework's coding format.
Supported programming languages
Java and Kotlin
wffweb-2.x.x requires Java 1.7 or later. wffweb-2.1.15 is the last version.
wffweb-3.x.x requires Java 1.8 or later. It's not released yet.
Currently, wffweb applications are compatible with only html5 supported browsers because it uses html5 websocket at client side.
Server should support websocket.
Recommended wffweb library upgrade in project
Recompilation of the whole project is recommended when wffweb library is upgraded.
For any technical assistance mail to firstname.lastname@example.org
Subscribe on youtube for technical videos