Skip to content
Web Firm Framework edited this page Nov 2, 2019 · 28 revisions

Web Firm Framework

module : wffweb

wffweb is one of the modules of webfirmframework, is a light weight java framework which can be run on any low memory servers, read more in documentation...

check out this demo app deployed at https://wffweb.herokuapp.com

The below wff java code

Html rootTag = new Html(null).give(html -> {
    new Head(html);
    new Body(html).give(body -> {
        new Div(body);
    });
});
rootTag.setPrependDocType(true);
System.out.println(html.toHtmlString(true));

will generate

<!DOCTYPE html>
<html>
 <head></head> 
 <body> 
  <div></div>  
 </body>
</html>

Check out how to convert html to wff java code