News for hackers. Stuff that matters.
Re:Show HN: Punch - A Fun and Easy Way to Build Modern Websites by StavrosK on Thursday April 19, 2012 @09:51AM (#3862963)
Oh, right. I read some comments below and figured that it takes JSON and dynamically renders the template client-side, which seems very unnecessary. Why not just generate HTML? Does Jekyll work that way too?
Re:Show HN: Punch - A Fun and Easy Way to Build Modern Websites by laktek on Thursday April 19, 2012 @10:26AM (#3863128)
Punch generates static HTML pages using Mustache and JSON, which can be served from a server. Apart from that Punch's renderer can also be used on client-side to render dynamic content. This is elaborated with an example, in the blog post.
Re:Show HN: Punch - A Fun and Easy Way to Build Modern Websites by dhawalhs on Thursday April 19, 2012 @10:37AM (#3863194)
Sorry, I misinterpreted what Punch actually is. Maybe you could elaborate in "What is Punch" section that it uses node.js to generate HTML pages?
Re:Show HN: Punch - A Fun and Easy Way to Build Modern Websites by laktek on Thursday April 19, 2012 @10:57AM (#3863296)
Thanks for the suggestion. I'll update "What is Punch" section with more elaboration.
Re:Show HN: Punch - A Fun and Easy Way to Build Modern Websites by antidaily on Thursday April 19, 2012 @12:06PM (#3863653)
And include a picture of a cat.