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

Bug#677569: ITP: jsilver -- Clearsilver templates in pure Java

Package: wnpp
Severity: wishlist
Owner: Chris Halls <halls@debian.org>

  Package name    : jsilver
  Version         : 1.0.0
  Upstream Author : David Beaumont, Ben Dodso
  URL             : http://code.google.com/p/jsilver
  License         : Apache 2.0
  Programming Lang: Java
  Description     : Clearsilver templates in pure Java

 JSilver is a pure-Java implementation of Clearsilver. Key benefits of JSilver
 over Clearsilver include:
  - Templates are only parsed when the file changes - not for each request.
  - Optionally, templates can be compiled directly to Java bytecode, making
    rendering super-fast.
  - Once-off template optimization step simplifies template making rendering
   even faster.
  - Internal optimizations to streamline string manipulation.
 Avoids the complexities of JNI
  - Avoids the risk of native code taking down the JVM.
  - Avoids JNI marshalling overhead.
 Simplifies IDE use (no more forgetting java.library.path).
  - Allows for easy extension in Java
  - API allows template functions to be defined in Java allowing logic to be
    pulled out of templates.
  - Custom escaping / text filters can be plugged in.
  - Makes plugging in translations much simpler
    (e.g. <?cs var:translate('some.message') ?>).
  - API designed with testability in mind.
  - Custom mechanisms can be plugged in for loading templates and caching.
  - Low-level access to template AST for advanced transformations.

I am packaging this as it is needed as a dependency for Google Web Toolkit.
It is based on the existing package in Ubuntu by Alexandre Rossi.

Reply to: