Create my own template engine?

Hi all

I’m trying to create my own template engine, but sadly I couldn’t find
much information on how to start.

Where can I find such informations? I need infos on…

  • How to “register” a file extension for being parsed with my template
    engine
  • What are the basics of template engines?
  • What is a “best practice” for parsing code with my own rules?

Thanks a lot for informations,
Josh

On 9 Feb 2008, at 11:05, Joshua M. wrote:

  • What are the basics of template engines?
  • What is a “best practice” for parsing code with my own rules?

Maybe look at the haml plugin? They’ll have needed most of that.

Why not download Liquid and just look at the source?

On Feb 9, 2008 3:05 AM, Joshua M. [email protected]
wrote:

  • What are the basics of template engines?
  • What is a “best practice” for parsing code with my own rules?

Thanks a lot for informations,
Josh

Posted via http://www.ruby-forum.com/.

seth at subimage interactive

http://sublog.subimage.com

Cashboard - Estimates, invoices, and time tracking software - for free!
http://www.getcashboard.com

Substruct - Open source RoR e-commerce software.
http://code.google.com/p/substruct/