DEV Community

Discussion on: Comparing Rails and Lucky: Partials

Collapse
 
edwardloveall profile image
Edward Loveall

I haven't had a chance to write any complex views, but so far writing views has been great. If you want to see what a complex view might look like with Lucky, I recommend trying this tool out: html2lucky.herokuapp.com

You can paste in a large HTML document and it will convert it to Lucky's DSL. I hope you enjoy!

Collapse
 
nhh profile image
Niklas

Very nice DSL! Why there is nothing equal in Ruby?

Thread Thread
 
edwardloveall profile image
Edward Loveall

There actually are a couple. Builder which is the basis for jbuilder in Rails, and Rumble, which is best used with Keynote. However, neither of these can make Ruby type safe. They only include an interesting DSL for writing HTML.