[ Home | Main Table Of Contents | Table Of Contents | Keyword Index ]

mustache-changes(n) 1.1 doc "Mustache. Packages for logic-less templating"

Name

mustache-changes - Mustache - Log of Changes

Table Of Contents

Description

Welcome to the Mustache project for Tcl, written by Andreas Kupries.

It provides a set of five related Tcl packages for the parsing and rendering of mustache-style logic-less templates, plus an application for easy command-line access to the functionality.

For availability please read Mustache - How To Get The Sources.

This document provides an overview of the changes mustache underwent from version to version.

Changes

Changes for version 1.1

  1. Extended the mustache::frame package to support the TclYAML version 0.5 tags for bool, float, int, null, and string.

    The pre-existing tag scalar is now a an alias for string.

    This extension of the type system makes it easier to use mustache's data frames as an in-memory representation for structured typed data. No automatic loss of type data inside of Tcl scripts now.

  2. Extended the data frames provided by package mustache::frame with methods for walking a frame tree in general, and simplifying the conversion back into external serialization formats.

  3. Added packages for the conversion of a data frame (tree) into various serializations:

    mustache::frame::as::events

    Serialization into a list of events describing the incremental build of the tree.

    mustache::frame::as::json

    Serialization into whitespace-free JSON.

    mustache::frame::as::tagged

    Serialization into the kind of tagged structure accepted by TclYAML's writeTags command.

Changes for version 1

This is the first release of mustache. The changes therefore describe the initial features of the system.

In detail:

  1. mustache requires Tcl 8.5 or higher. Tcl 8.4 or less is not supported.

  2. mustache requires TclOO.

  3. The project provides several high- and low-level packages for the parsing and rendering of logic-less templates as specified by Ruby's mustache package.

Related Documents

  1. Mustache - Introduction to the project

  2. Mustache - License

  3. Mustache - Log of Changes

  4. Mustache - How To Get The Sources

  5. Mustache - The Installer's Guide

  6. Mustache - The Developer's Guide

Bugs, Ideas, Feedback

Both the package(s) and this documentation will undoubtedly contain bugs and other problems. Please report such at Mustache Tracker.

Please also report any ideas you may have for enhancements of either package(s) and/or documentation.

Keywords

logic-less templates, mustache, templating