template-engine

How to make inheritance template in Pyrocms?

Pyrocms is using Dwoo template engine. In Dwoo, we can make inheritance template. {extends "default.html"}' but, I can't do this in pyrocms that using Dwoo. ...

Is there a Template Engine like Velocity or Freemarker for Delphi?

Is there a template engine for scripted code generation like Apache Velocity or Freemarker (see examples below) which I can use in Delphi applications? (not in the IDE - I am not lookig for a OTA based solution, or Delphi code templates) The template engine would bind Delphi objects to a template and replace the script variables, and ex...

Hakyll generates weird HTML - can anybody explain reason?

Hello, I use Hakyll to generate some documentation and I noticed that it has a weird way of closing the HTML tags in the code it generates. There was a page where they said that you must generate the markup as they do, or the layout of your page will be broken under some conditions, but I can't find it now. I created a small test page ...

Is the Tumblrs theme-system somehow copyright-protected?

Hey I'm creating a small service, which needs to have ability for custom themes. I like the way Tumblr handles them, and would like to know, if it's legal to just plain copy their way. {Block:Post} {Block:Title}<h1>{Title}</h1>{/Block:Title} {/Block:Post} Does someone know something about this? Would it be bad reputation? Martti ...

Is there a good HTML template engine in cocoa touch?

In my iphone app, I want to populate UIWebView with some html generated from a templates. Is there a good opensource template engine library for cocoa touch like jinja or smarty? ...

How to include javascript script links to pyrocms page?

I'm using pyrocms to develop a system. I know that, to include style links in header tag '' in a page is by using $this->template->set_metadata(). But how can I include javascript links like that? Any answer is appreciated. ...

When would we need a javascript client template engine?

Recently, I found out that jQuery has an official template engine which was contributed by the Microsoft team. Also I had heard about jTemplate from my friends, but I'm still confused: When & where might I need to use these plugins? How should I choose between the many client side template engines? ...

How do browser-side javascript template engines render templates?

I found a large number of browser-side JavaScript templates which render a template with data values a string. However, I'm a bit uncertain how this string is supposed to be translated to display elements in the DOM. Obviously, one way is just document.write - but I think that has been long buried since. Another is using element.innerH...

Templating with Twig - permenant access to a variable in all my templates

I've just started looking into Twig and I'm wondering how I would accomplish the following. I have a variable $logged_in that I need to have access to in every single page on my site, I was hoping that rather than passing this to the twig renderer every single time in the data array, there would be a way for me to declare this somewhere...

A working template-engine for IronPython?

I'd love to use a nice template-engine with IronPython but havent succeded doing so. Would be best to be able to without needing to add Python standard lib's. Dont know if that's possible. I like the Ruby Erb syntax, and hoped to be able to use something similar. ...

Looking for DOM-independent JavaScript templating system works \w plain text.

Is there a templating library/system/engine/technique written in javascript that: Doesn't screw up plain-text (non-html) templates ( like tabs and line breaks ) But also works with HTML Doesn't have it's own DSL for loops and conditions (uses pure JS) Can be run server-side without the DOM ...and is open-source licensed? ...