Typesafe Web Framework for LeAn STArtup with DBFlute and Java8
// e.g. ProductListAction, mapping to URL '/product/list/3' @Execute public HtmlResponse index(OptionalThing<Integer> pageNumber, ProductSearchForm form) { validate(form, messages -> {} , () -> { return asHtml(path_Product_ProductListHtml); }); PagingResultBean<Product> page = selectProductPage(pageNumber.orElse(1), form); List<ProductSearchRowBean> beans = page.stream().map(product -> { return mappingToBean(product); }).collect(Collectors.toList()); return asHtml(path_Product_ProductListHtml).renderWith(data -> { data.register("beans", beans); pagingAssist.registerPagingNavi(data, page, form); }); }
Can boot it by example of LastaFlute:
*ReplaceSchema
// call manage.sh at lastaflute-example-harbor/dbflute_maihamadb // and select replace-schema in displayed menu ...$ sh manage.sh
*main() method
public class HarborBoot { public static void main(String[] args) { new JettyBoot(8090, "/harbor").asDevelopment(isNoneEnv()).bootAwait(); } }Maven Dependency in pom.xml
<dependency> <groupId>org.lastaflute</groupId> <artifactId>lastaflute</artifactId> <version>1.2.8</version> </dependency>
Apache License 2.0
(English pages have a low count but are increscent...)
http://dbflute.seasar.org/lastaflute/
LastaFlute forks SAStruts, Struts and Commons utilities and (heavily) extends it.
And is influenced by SpringBoot, Play2. If the frameworks were not there, no LastaFlute here.
I appreciate every framework.
LastaFlute is used by:
Deeply Thanks!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4