Patrick Steele-Idem
2013-04-30 03:55:27 UTC
Hi all,
About a year ago, when comparing popular templating languages, I came
across Genshi and was impressed by the clean syntax. Unfortunately it only
worked for Python and I was looking for a good templating solution for
JavaScript. I decided to create a new JavaScript templating language that
was largely compatible with Genshi, but added a ton of new features,
including the following:
- Client/server support
- Custom taglibs
- Custom compile-time transformers
- Helper functions
- Asynchronous fragments
- Streaming
- Compilation to native JavaScript code
- High performance JavaScript runtime
- Short-hand conditionals
- for-loops with status variables
- Conditional attributes and boolean attributes
- Integration with Node.js and Rhino
- Smart whitespace removal
- etc.
Check out the online demo!:
http://raptorjs.org/raptor-templates/try-online/
Would love to get feedback, or, if you are interested in contributing
please let me know.
Keep up the awesome work with Genshi, but hopefully you all find the
JavaScript implementation helpful.
Cheers,
Patrick
About a year ago, when comparing popular templating languages, I came
across Genshi and was impressed by the clean syntax. Unfortunately it only
worked for Python and I was looking for a good templating solution for
JavaScript. I decided to create a new JavaScript templating language that
was largely compatible with Genshi, but added a ton of new features,
including the following:
- Client/server support
- Custom taglibs
- Custom compile-time transformers
- Helper functions
- Asynchronous fragments
- Streaming
- Compilation to native JavaScript code
- High performance JavaScript runtime
- Short-hand conditionals
- for-loops with status variables
- Conditional attributes and boolean attributes
- Integration with Node.js and Rhino
- Smart whitespace removal
- etc.
Check out the online demo!:
http://raptorjs.org/raptor-templates/try-online/
Would love to get feedback, or, if you are interested in contributing
please let me know.
Keep up the awesome work with Genshi, but hopefully you all find the
JavaScript implementation helpful.
Cheers,
Patrick
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genshi+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/genshi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Genshi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genshi+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/genshi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.