Coder Social home page Coder Social logo

ks3dev / jntemplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiniannet/jntemplate

0.0 2.0 0.0 3.95 MB

Open source templating engine for .net/mono (.net/mono模板引擎,asp.net模板引擎)

License: Other

Batchfile 0.83% ASP 0.05% C# 84.90% CSS 4.34% HTML 9.87%

jntemplate's Introduction

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:[email protected]
  2. 交流Q群:5089240 欢迎加入

jntemplate's People

Contributors

jiniannet avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.