Show HN: Punch - A Fun and Easy Way to Build Modern Websites
laktek.com
laktek.com
Watching the screencast, you can see how a static .html file is generated.
I find it odd that he talks about client side rendering so much on the site and then presents a screencast that doesn't really portray Punch as rendering things in that way. I would like to see a demo video showing how Punch can offer me interesting ways to use client side rendering to make my site better.
Rather confusing, but interesting nonetheless.
Screencast was created to quickly highlight the main use case of Punch, which is generating static HTML pages. However, if you read the post further you will find how Punch can be used for client-side rendering.
Also if used correctly, client-side rendering should not cause any issues with search engine indexing. Maybe, I will come up with a separate blog post on how to use client-side rendering with Punch to enhance UX of a site without affecting search engine indexing.
You realize this "dance" is solved by a simple post-receive hook right? For example:
git clone ${GIT_REPO} ${TMP}
${HOME}/gems/bin/jekyll --safe --no-auto ${TMP} ${PUBLIC_WWW}
rm -rf ${TMP}
Any time you push to that repo, it builds and deploys the new site automatically.I've used jekyll for the past 2 years and have blogged quite a bit about it (https://www.google.co.in/search?sourceid=chrome&ie=UTF-8... ) I think it is an awesome framework, in how it really gets out of your way. And that is what I am trying to accomplish with my design, getting out of the users way and allowing him to just write content. Would love to hear any other feedback you guys might have.
If no, where to download code to play with?
Email me if you got any specific questions in using Punch for your requirement.
Anyway - keep up the inspirational work.
Some have said StaticMatic is good for building PhoneGap clients. Personally I just use it for small sites.
BTW, the Punch's site (http://laktek.github.com/punch) is created using Punch itself (if it impresses you)
Main page blocks should be rendered into HTML and served from the server.
There are numerous points in the article and the site homepage where it mentions client-side rendering as being supported.
Why is he 'obviously not' doing anything client side?
Pardon my ignorance, but I thought the modern trend was to move away from that? Towards coffeescript, dart etc. Is there a good reason to insist in js, css. Or is it just my GWT bias showing?
But the currently available tools often requires people to have certain other knowledge (such as server-side scripting in PHP, Managing MySQL databases, etc) to create and manage a simple real-life website. Aim of Punch is to remove this layer of complexity and be a comfortable tool for even someone who knows only the basics.
Personally, I believe it's still easy to create manageable websites only with HTML, CSS and JS.
However, as I mentioned in the post Punch is quite flexible. If someone fancy they can even extend it to parse CoffeeScript or Sass as well.