PURE Unobtrusive Rendering Engine

联合创作 · 2023-10-02 15:47

Ultra Fast and Unobtrusive JavaScript Template Engine


If you get data as JSON services and want to render your HTML on the browser, PURE will certainly help you.


It can be server-side too, using Jaxer (other JS server engine should be ok too, but never tested).


A Simple Example


HTML




<div id="hello">
  Hello <span class="who">World</span>
</div>


JS




function render1(){
  $('#hello').autoRender({ "who": "Mary" });}


Discover more examples on our page Getting Started


Lastest Release


Download the lastest version


PURE Methods with jQuery


jQuery.autoRender: Transform your HTML from JSON data automatically
jQuery.render: Transform your HTML from JSON data with directives
jQuery.mapDirective: Apply directives to your HTML
jQuery.compile: Compile your HTML to a JS function


Get Involved


Discuss on our Google Group


Report a bug

浏览 21
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报