Contents |
General
What is Axiom?
Axiom is an object-oriented web application framework, like Ruby on Rails, Struts, et al. It has a built-in web server, fully searchable object database, and dead-simple zen-like application development.
Will it put sugar cubes in my coffee?
This functionality is currently in beta.
Templates
How do I put a doctype at the start of my TALE templates?
All TALE templates must be well-formed XML, so you cannot include the doctype in the file itself. Instead, you can specify the literal doctype that will be written to the http response in app.properties:
doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
How do I use logical AND/OR operators in TALE?
Since all TALE expressions are Javascript, you can use the Javascript opeators, namely && for logical AND and || for logical OR. However, there's a catch here. Since ampersands are special characters in XML (indicating the start of entity references), any bare ampersands must be escaped as & - so a Javascript logical AND becomes &&.
