Template handlers

iHi,

I am new to Ruby on rails. i started to learn ruby on rails. when go forward i could not find a better meaning for “template handlers”. i knew that template handlers are using for render templates.

but i expect to have some better explanation for “template handlers”.

Cheers,

Dimuth

That’s pretty much all there is to it - A template handler is a thing that knows how to render a specific type of template (e.g. erb, haml, slim). If you wanted to write your view templates in a different language, for example markdown, then you’d need a template handler for markdown.

Fred

Check out:
Railscasts PRO #379 Template Handlers pro: https://www.youtube.com/watch?v=6bEWJ7qWnCg