ErlyDTL

Erlang implementation of the Django Template Language
Download

ErlyDTL Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • ErlyDTL Team
  • Publisher web site:
  • http://code.google.com/p/erlydtl/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 28 KB

ErlyDTL Tags


ErlyDTL Description

Erlang implementation of the Django Template Language ErlyDTL is a free and open source project that compiles Django Template source code into Erlang bytecode. The compiled template has a "render" function that takes a list of variables and returns a fully rendered document.ErlyDTL implements the following Django tags:· autoescape· block· cycle (but only in loop context)· extends· for· if· ifequal· ifnotequal· include· now ErlyDTL implements the following Django filters:· add· capfirst· center· first· fix_ampersands· force_escape· escapejs· date· join· last· length· length_is· linebreaksbr· ljust· lower· rjust· upper· urlencode NOTE: ErlyDTL is licensed and distributed under the terms of the MIT License. Here are some key features of "ErlyDTL": · Variables can optionally be pre-set at template compilation, which is useful for stuff which doesn't change often. These variables get pre-rendered as much as possible at compilation time for maximum performance. · Optional recompilation: skip if compiled template exists already and template source checksum has not changed. · Templates accept variables as property list, dict, gb_tree or parameterized modules and the actual values can be numbers or strings (lists or binaries) · Variables, Tags and Comments can be wrapped with HTML comments () for a possibly better integration with certain HTML editors / browser previews · Templates need not live on the local file system; you can write your own "reader" function, e.g. to read templates from network storage such as Amazon S3. Requirements: · Erlang R12B-2 or later


ErlyDTL Related Software