public
Description: A CSS Based Templating and Ajax Performance Framework
Home | Edit | New

Features

1) Simple JSON templates capable of inheriting from 1 or more templates.

2) In memory caching – All template fragment can be assigned varying timeouts depending on how much they change.

3) Gziping of script and css resources

4) Combines css and script resources. Also makes sure relative url references in CSS are migrated.

5) Manages response headers to maximize browser caching.

6) Conditional Include of HTML Content Fragment / Property / Script / CSS Link based on a test like :

{ "title" : {"type" : "string",
            "value" : "Welcome ${session.userBean.userName} ",
            "test" : "${session.userBean != null}"
 }

7) Deferred loading of HTML Content Fragments, Scripts, CSS, or String properties. All loaded after page load using an Ajax call

8) Asynchronous content fragment loading – You can defer loading of an external content to a built in HTTP client that will start loading on a separate thread before the client even requests the fragment using an Ajax request. In essence you can compose pages from many services.

9) JSP fragment support – You may choose to use plain old HTML but you can mix and match JSP for the dynamic portions of your page.

10) Expression support – Access any attributes in the HttpServletRequest, HttpSession, ServletContext, or static objects. Expressions are read only and can be used with property inserts. Example:

{ "title" : {"type" : "string",
            "value" : "Welcome ${session.userBean.userName}"
}

The Java could would look like : req.getSession().getAttribute("userBean").getUserName();

11) Cache cleanup – Cleans out unused objects

12) URI namespaces for templates – for security you may want to lock down a template to a URL and
now you can do that with a property.

13) Support for Blueprint-CSS and YUI Grid CSS frameworks – Frameworks can easily be added or customized and shared with all resources and template artifacts being relative to the template definition.

14) Developer mode – Allows you to iteratively change templates, fragments, and template definitions without re-deploying.

15) Support for custom template commands.

Last edited by gmurray, Thu May 14 01:49:21 -0700 2009
Home | Edit | New
Versions: