1 Star 0 Fork 41

你大爷 / jntemplate

forked from 翅膀的初衷 / jntemplate 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

JNTemplate — Open source templating engine for .net/mono!

JNTemplate 是什么

极念模板引擎(JNTemplate)是一款.NET平台的解释型模板引擎,它能生成任何基于文本的内容,让前端展示与后端代码逻辑分离。同时,它也提供了一个在WebForm与Razor之外的选择!

JNTemplate具有简单,易用,高效等特点,拓展十分方便!而且它使用的是对商业更加友好的Apache license 2.0协议开源,在满足该协议的前提下,大家可以自由使用,分发,甚至可以用于商业目的(具体见License.txt)。

为什么要使用JNTemplate

  1. 简单易用 有一定 c#/java/javascript 语法基础的用户只需要10分钟就可以上手使用
  2. 轻便高效 使用了更高效的解析机制,引擎执行更快。
  3. 自由拓展 可以十分方便的自由扩展功能,灵活性更强。
  4. 免费开源 可以免费使用而无须支付任何费用,只需要在代码中保留我们的署名即可。

另外JNTemplate能完美运行于Liunx(Mono)!

如何使用JNTemplate

ITemplate template = new Template("hello,$name!");//创建Template实例
template.Context.CurrentPath = "D:\\templets\\"; //指定当前模板目录
template.Context.TempData["name"] = "world";//设置模板数据
template.Render(Response.Output);//呈现解析结果

如何下载JNTemplate

  1. 官网下载:http://bbs.jiniannet.com/forum.php?mod=viewthread&tid=2&extra=page%3D1
  2. 源代码克隆:https://github.com/jiniannet/jntemplate.git
git clone https://github.com/jiniannet/jntemplate.git

JNTemplate帮助

  1. 开源协议:https://github.com/jiniannet/jntemplate/blob/master/License.txt
  2. 开源主页:https://github.com/jiniannet/jntemplate/
  3. 官方网站:http://www.jiniannet.com
  4. 交流社区:http://bbs.jiniannet.com
  5. 国内代码库:http://git.oschina.net/jiniannet/jntemplate

联系方式:

  1. Email:i@jiniannet.com
  2. 交流Q群:5089240 欢迎加入
 Copyright (c) jiniannet (http://www.jiniannet.com). All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Redistributions of source code must retain the above copyright notice

简介

C#开发的模板引擎,简单,易用!支持.net/mono! 展开 收起
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xixi123/jntemplate.git
git@gitee.com:xixi123/jntemplate.git
xixi123
jntemplate
jntemplate
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891