Template handlers

18 views
Skip to first unread message

Dimuth Lasantha

unread,
Jul 22, 2015, 7:17:42 AM7/22/15
to Ruby on Rails: Talk
 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

Frederick Cheung

unread,
Jul 22, 2015, 7:20:57 AM7/22/15
to Ruby on Rails: Talk, fitd...@gmail.com
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

Elizabeth McGurty

unread,
Jul 22, 2015, 8:29:43 AM7/22/15
to Ruby on Rails: Talk
Check out:
Railscasts PRO #379 Template Handlers pro: https://www.youtube.com/watch?v=6bEWJ7qWnCg
Reply all
Reply to author
Forward
0 new messages