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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 9 Feb 2008, at 11:05, Joshua Muheim wrote:> > 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? >Maybe look at the haml plugin? They''ll have needed most of that.> Thanks a lot for informations, > Josh > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Why not download Liquid and just look at the source? On Feb 9, 2008 3:05 AM, Joshua Muheim <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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 > -- > 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/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---