Skip to content

Comment on Zed Shaw: Tir Web Framework Officially Upparent

Comments

this is awesome, feel like writing it for ruby too?

Check out DRYML from the Hobo project (hobocentral.net). You build taglibs that can be used and overridden however you like.

I don't know ruby... but RoR is an established platform, I would think it would have something similar?

Not with the same notion of inheritance that django templates have (with multiple blocks that can be overridden in child classes). There is one project someone attempted but never finished.

Isn't this just content_for/yield(:sym)? Or are you talking about something else? http://api.rubyonrails.org/classes/ActionView/Helpers/Captur...

That's close. Nowhere near as elegant as Django templates though, in my opinion.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.