jsRepeater
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/jsrepeater
软件介绍
HTML Templating with minimal javascript
$('#myDiv').fillTemplate(myData)
The jsRepeater makes it easy to fill HTML Templates with javascript objects e.g. data received from the server via AJAX
<script>
var myData = {"Name" : "Google", "Type" : "Search Engine", "URL" : "www.google.com"};
$('#template1').fillTemplate(myData);
</script>
<body>
<div id='template1'>${Name} is a ${Type} found at <a href='${URL}'>${URL}</a></div>
</body>results in:
Google is a Search Engine found at www.google.com
This is the most basic example. The power of jsRepeater lies in the fact that it has support for some of the more complex functionality we need in the real world e.g.
- Binding not only to an object but child objects in one template
- Ability to write your own javascript functions for output formatting
- Access to numbering in a loop
- No need for alternating templates, alternation handled in markup, not only even and odd values but also first and last
- Infinite recursion down an object graph in one template
写给大忙人看的Java SE 8
【美】Cay S. Horstmann(凯.S.霍斯曼) 编 / 张若飞 / 电子工业出版社 / 2014-11 / 59.00元
《写给大忙人看的Java SE 8》向Java开发人员言简意赅地介绍了Java 8 的许多新特性(以及Java 7 中许多未被关注的特性),《写给大忙人看的Java SE 8》延续了《快学Scala》“不废话”的风格。 《写给大忙人看的Java SE 8》共分为9章。第1章讲述了lambda表达式的全部语法;第2章给出了流的完整概述;第3章给出了使用lambda表达式设计库的有效技巧;第4章......一起来看看 《写给大忙人看的Java SE 8》 这本书的介绍吧!
