2017-09-29 22:39:37 +00:00
|
|
|
# jael
|
2017-10-02 15:46:00 +00:00
|
|
|
[](https://pub.dartlang.org/packages/jael)
|
|
|
|
[](https://travis-ci.org/angel-dart/jael)
|
|
|
|
|
|
|
|
A simple server-side HTML templating engine for Dart.
|
|
|
|
|
|
|
|
Though its syntax is but a superset of HTML, it supports features such as:
|
2018-06-28 13:02:40 +00:00
|
|
|
* **Custom elements**
|
2017-10-02 15:46:00 +00:00
|
|
|
* Loops
|
|
|
|
* Conditionals
|
|
|
|
* Template inheritance
|
|
|
|
* Block scoping
|
|
|
|
* `switch` syntax
|
|
|
|
* Interpolation of any Dart expression
|
|
|
|
|
|
|
|
Jael is a good choice for applications of any scale, especially when the development team is small,
|
|
|
|
or the time invested in building an SPA would be too much.
|
|
|
|
|
2017-10-02 15:48:01 +00:00
|
|
|
## Documentation
|
|
|
|
Each of the [packages within this repository](#this-repository) contains
|
|
|
|
some sort of documentation.
|
|
|
|
|
2018-06-28 13:02:10 +00:00
|
|
|
Documentation for Jael syntax and directives has been
|
|
|
|
**moved** to the
|
2019-04-24 02:34:44 +00:00
|
|
|
[Angel framework wiki](https://docs.angel-dart.dev/packages/front-end/jael).
|
2017-10-02 15:48:01 +00:00
|
|
|
|
2017-10-02 15:46:00 +00:00
|
|
|
## This Repository
|
|
|
|
Within this repository are three packages:
|
|
|
|
|
|
|
|
* `package:jael` - Contains the Jael parser, AST, and HTML renderer.
|
|
|
|
* `package:jael_preprocessor` - Handles template inheritance, and facilitates the use of "compile-time" constructs.
|
2018-04-03 15:39:48 +00:00
|
|
|
* `package:build_jael` - Uses `package:build` to compile Jael templates, therefore allowing speedy incremental builds to HTML files.
|
2017-10-02 15:46:00 +00:00
|
|
|
* `package:angel_jael` - [Angel](https://angel-dart.github.io) support for Jael. Angel contains other
|
2019-04-24 02:34:44 +00:00
|
|
|
facilities to speed up application development, so something like Jael is right at home.
|