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

On Wednesday, July 22, 2015 at 12:17:42 PM UTC+1, Dimuth Lasantha wrote:

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”.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs