Next: Basics, Previous: Djula HTML templating system, Up: Djula HTML templating system [Contents][Index]
Djula is an HTML templating system similar to Django templates for Common Lisp.
Djula’s template language is designed to strike a balance between power and ease. It’s designed to feel comfortable to those used to working with HTML.
Philosophy: If you have a background in programming, or if you’re used to languages which mix programming code directly into HTML, you’ll want to bear in mind that the Djula template system is not simply Common Lisp code embedded into HTML. This is by design: the template system is meant to express presentation, not program logic.
The Djula template system provides tags which function similarly to some programming constructs – an
if
tag for boolean tests, afor
tag for looping, etc. – but these are not simply executed as the corresponding Lisp code, and the template system will not execute arbitrary Lisp expressions. Only the tags, filters and syntax listed below are supported by default (although you can add your own extensions to the template language as needed).
Next: Installation, Up: Introduction [Contents][Index]
TODO: list of Common Lisp compilers Djula works on.
Previous: Prerequisites, Up: Introduction [Contents][Index]
Djula is available on Quicklisp:
(ql:quickload :djula)
Next: Basics, Previous: Djula HTML templating system, Up: Djula HTML templating system [Contents][Index]