Javascript模板系统-PURE,EJS,jquery插件? [英] Javascript template system - PURE, EJS, jquery plugin?

查看:92
本文介绍了Javascript模板系统-PURE,EJS,jquery插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人使用过javascript模板系统吗?我曾经使用JavascriptMVC内嵌的版本,但是现在我在做服务器端开发,所以我想要一个更简化/更薄的版本.

has anybody used a javascript template system? I used to use the one that is embedded with JavascriptMVC but i now doing server side development so i wanted a more streamlined/thinner version..

我发现2.1是EJS,它是JavascriptMVC附带的部分

I have found 2. 1 is EJS which is the part that is included with JavascriptMVC

http://embeddedjs.com/

另一个是Pure-,可以与jquery一起使用

and the other is Pure- which you can use with jquery

http://beebole.com/pure/index.html

任何人都没有任何经验,或者还有其他我找不到的东西吗?也许是jQuery类型的插件之类的东西.

has anyone had any experience with either, or is there something else that i have failed to find? maybe a jquery type plugin or something..

基本上,我需要在不调用服务器的情况下在runtine替换javascript中的HTML文档的一部分.

basically i need to replace parts of a HTML document within javascript at runtine without a call to the server.

但是我的html替换代码需要保存在外部文件中,而不是嵌入js中

but my html replacement code needs to be saved in an external file and not embedded within js

任何帮助我们都很感激

谢谢

推荐答案

HAML咖啡.
结合两种最佳的元语言.

HAML Coffee.
Combining the two best meta-languages.

https://github.com/9elements/haml-coffee

这篇关于Javascript模板系统-PURE,EJS,jquery插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆