webSPELL / webSPELL-5

webSPELL 5
http://www.webspell.org
4 stars 0 forks source link

template-style #3

Open asattler opened 12 years ago

asattler commented 12 years ago

We should agree on a template-implementation. The current version is from k3rmit and variables are in this style: {#myVar#} I would prefer a solution based on blocks e.g. (taken from arthos cms) {block;newsEntry}{newsEntry.author}{endofblock} etc. I don't like the # as a identifier for variables

I also can't find the way of usage for langVars, from the current implementation (if I didn't missed something) a langVar looks like a normal variable which is not very practicable.

tpreusse commented 11 years ago

consider liquid for php: https://github.com/harrydeluxe/php-liquid

have used it with ruby and it's good stuff :) especially in a environment like webspell where design and code needs to be decoupled.