chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] ANN: civet 0.1, an X(HT)ML templating library


From: Matt Gushee
Subject: Re: [Chicken-users] ANN: civet 0.1, an X(HT)ML templating library
Date: Tue, 2 Apr 2013 11:03:25 -0600

Also, if you have specific questions or suggestions about the code,
I'd like to use the GitHub issue tracker for that. Sound OK?

On Tue, Apr 2, 2013 at 9:58 AM, Matt Gushee <address@hidden> wrote:
> Hello, all--
>
> I am proud (and a bit nervous) to announce the first alpha release of
> a new templating library called Civet. Though I expect it will mainly
> be useful for web development, it can potentially be used for any type
> of XML document. By the same token, it does not, and probably never
> will, support non-XML HTML formats.
>
> [oh, and by the way, Ivan Raikov, if you're reading this, I am not
> entirely abandoning Ersatz--I'll probably still use it for some
> smaller projects, including the site I've already developed with it]
>
> Civet features include:
>
>   * Insertion of dynamic content via 'variables'
>
>   * Template inheritance & block structure similar to that found in
>      Ersatz or Jinja2.
>
>   * 'If' with optional 'else' and 'for' loops.
>
>   * Uses XML files as input, but automatically stores them in
>      SXML form to avoid the need for parsing on every run.
>
> Although the Civet package includes all the basic ingredients for an
> egg, I am not submitting it to the egg directory just yet. The reason
> for this is that, while most of the above-mentioned features are
> working to some extent (i.e., I have written unit tests for them, and
> they all pass, at least on my system), early informal testing with
> more complex inputs indicates that Civet will not yet work in the real
> world. I'm hoping that if a few people are interested in this, we
> might be able to discuss what's going wrong and arrive at a solution.
>
> Code and documentation are available at my GitHub repo. You can clone the 
> repo:
>
>     git clone https://github.com/mgushee/civet.git
>
> Or download a tarball:
>
>     https://github.com/mgushee/civet/archive/release-0.1.tar.gz
>
> I believe I have documented most of what you need to know to try
> Civet. Both the API and the template vocabulary are described in the
> README.md file included in the distribution. There are also a couple
> of example templates in the examples/ directory.
>
> Hope you like it!
>
> --
> Matt Gushee



reply via email to

[Prev in Thread] Current Thread [Next in Thread]