I've been trying to think about an HTML templating language I can incorporate into a little project of mine. Initially I decided on XSLT to do the XML transformation but that would either require a separate XML file to be written as well as the XSLT file or it would require all data coming from the database to be built into an XML tree in memory so that the transformation can be applied to that, neither of which is ideal. Plus I think designers would find XSLT concepts somewhat foreign if they are only used to things like JavaScript.
So I thought about writing my own little simple templating language and quickly ruled it out as a bug prone endeavour and one which is likely to result in a crippled solution. Then I ran into F-Script.
It looks good. The website says it was inspired by Smalltalk, Self and APL (sounds interesting if nothing else) and the syntax is fairly clear and straightforward. Plus its BSD licensed.
Do you think F-Script is suitable for my target audience, I just want to use it so that people can do simple for loops and conditional branching to display certain data on a webpage. But at the same time I don't want to scare them off because of arcane syntax.
Any thoughts?
http://www.fscript.org/
So I thought about writing my own little simple templating language and quickly ruled it out as a bug prone endeavour and one which is likely to result in a crippled solution. Then I ran into F-Script.
It looks good. The website says it was inspired by Smalltalk, Self and APL (sounds interesting if nothing else) and the syntax is fairly clear and straightforward. Plus its BSD licensed.
Do you think F-Script is suitable for my target audience, I just want to use it so that people can do simple for loops and conditional branching to display certain data on a webpage. But at the same time I don't want to scare them off because of arcane syntax.
Any thoughts?
http://www.fscript.org/