DEV Community

Discussion on: Comparing Rails and Lucky: Partials

Collapse
nhh profile image
Niklas • Edited on

Really cool approach on rendering „engines“ i think. And what about complex views? Did you wrote some? How did that feel woth lucky?

Cheers
Niklad

Collapse
edwardloveall profile image
Edward Loveall Author

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 Author

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.