ExtJSML - ExtJS Markup Language based on YAML
What is the ExtJSML ?
- An alternative to ExtJS Designer which using extended YAML to define GUI configuation
- With a library that simplify ExtJS's API and extend some components for ease of use.
- The compiler is written in Ruby script.
- The generator's output is the same as ExtJS Designer:
- UI script, store the ui configuration of ExtJS components.
- Event script, where event handling of the components located.
Why ExtJSML ?
- Huge Overhead -> It reduces many configuration options which have to set in ExtJS Designer to make it just work
- Steep Learning Curve Of Layout Sysytem -> It auto apply layouts for each element appropriately
- Easier to reposiiton the elements
! ExtJS is a javascript library for cross-browser RIA which is licensed
*This tool is tested on ExtJS 4.2.1
Example Syntax and UI result
Basic Form
Install
gem install extjsml
Usage
$ extjsmlc filename.yaml
output files:
- filename.ui.js -> UI script
- filename.js -> event handling script