JavaScript开发框架 Sammy.js

码农软件 · 软件分类 · JavaScript MVC 框架 · 2019-03-15 22:57:51

软件介绍

Sammy.js 是一个微型的 JavaScript 框架用来简化 JavaScript 应用程序的编写,其核心只有 16K,压缩后 5.2K 大小。

示例代码:

// initialize the application
var app = Sammy('#main', function() {
 
// include a plugin
 
this.use('Mustache');

 
// define a 'route'
 
this.get('#/', function() {
   
// load some data
   
this.load('posts.json')
       
// render a template
       
.renderEach('post.mustache')
       
// swap the DOM with the new content
       
.swap();
 
});
});

// start the application
app
.run('#/');

本文地址:https://www.codercto.com/soft/d/1439.html

Data Structures and Algorithm Analysis in Java

Data Structures and Algorithm Analysis in Java

Mark A. Weiss / Pearson / 2011-11-18 / GBP 129.99

Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course wa......一起来看看 《Data Structures and Algorithm Analysis in Java》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器