Apache Isis viewer based on the DHTMLX Javascript widget provides the supports of a DSL allowing the UI to be easily customized.
http://blog.mylaensys.com/2013/04/isis-viewer-dhtmlx-preview.html
Apache Isis
Apache Isis is a Java framework for writing domain-
driven applications
Automatically renders domain objects in an OOUI
Provides rapid prototyping & development
Apache Isis Programming
prototype develop deploy as a
pojo domain model & auto-generated
domain model unit test webapp
Isis’programming model JUnit integration with Isis persistence
DHTMLX Suite
DHTMLX is a cross browser JavaScript library for
Building Rich Web Applications
Provides a complete and fully integrated set of Ajax
powered UI components
DHTMLX Isis Viewer Architecture
DHMLX
REST API pojo
Components & Ajax
Services domain model
View Manager
Web Browser DHTMLX Isis Viewer Model Metadata
DHTMLX Isis Viewer Architecture
Semantic Model
View
Isis
Rendering API API
meta model
Layout Form
Code Hooks (optional) DSL (optional)
function foo(id) { 1C[
alert(id); a[ title: "Text"
Parser name
ok(),cancel()
} ]
]
ANTLR4
Demo
The Demo, based on the ToDo example application
which is included in the Isis framework distribution, is
hosted on the Google App Engine and available until it
does not run out of FREE quota.
http://isis-viewer-dhtmlx.appspot.com
DSL Highlights
3L[ Pattern 3L
Cell a
a[
widht:400 Cell a width
"General" [ Fieldset
description Data
category
]
[ok(),cancel()] Actions
] Cell c
c [
@Top[ add(),del()] Toolbar Actions
dependencies <''> Collection
]
]
Conclusion
Business functionality is encapsulated on the
core business objects
Desktop class web applications based on Ajax
Automatically generate domain objects in an Object
Oriented UI
Custom user interfaces can be specified through a
zero-learning-curve DSL
Code-hooks allows developers to reference the UI
components and write the ad-hoc customization
Coming Soon
DSL extension to support all DHTMLX components
(accordion, chart, spreadsheet.etc)
Mobile web application UI with DHTMLX Touch
Shiro Security integration
Improve the integration with the Isis Framework
Resources
Web Books
Apache Isis Dan Haywood
http://isis.apache.org http://www.pragprog.com/titles/dhnako
DHTMLX Martin Fowler
http://www.dhtmlx.com http://martinfowler.com/dsl.html
Mylaensys Blog Terrence Parr
http://blog.mylaensys.com http://pragprog.com/book/tpantlr2/the-
definitive-antlr-4-reference
DHTMLX Isis Viewer Demo
http://isis-viewer-dhtmlx.appspot.com