eeemsi/simpleBlog — pull request #1 by cessor (2012-03-29 11:03:08+00:00)
Title: Hey, here is what I did to your code :) 

- Got rid of all mapping logic for json. Json objects come as pretty maps, why not use that directly?
- Got rid of all indexing interation logic. Declarative/functional would be even more aweseome!
- Added templating rather than in-file html creation. Just pass the template() function a map with the appropriate variables set. This is not optimized in any way and is pretty wastefull atm but caching should be as simple as moving a few functions.
- The templates now contain proper HTML (There was some semantic markup errors)
- Removed the writefile command (it can be replaced by piping the output in whatever process runs the script)
- Added a unit test to try out stuff (let's discuss this later)
- Added a conversion module to prettyprint dates, which are redundant at the moment ,btw (gitcommit, filename, filecontent, fileattribute)