Live data from Hacker News

Static Site Generators

staticsitegenerators.net

81–90 of 123 posts

Re: Static Site Generators

#81

Is ther any CMS/blog/... type of thing that would create flat files, but keep all the content also in DB? That way search and comments (and especially moderation for comments) would be easier to handle, but still it would be easy on the server. For my own site I created something like this, https://github.com/Harri/Spage , but instead of DB, I used another set of flat files (serialized arrays containing the page cont…

Usually that can be achieved with a cache like Varnish. One of the biggest benefits of static site generators is that the only software you need on your server is a web server. As soon as you want to start adding things like search and comments, you lose that benefit.

Re: Static Site Generators

#82
post #79

No City Desk from Fog Creek?[1] :-) https://shop.fogcreek.com/default.asp?sCategory=CITYDESKINDE...

I'm being semi-facetious, but when it first started out it did all this stuff and deployed it to your website as well via FTP.

Re: Static Site Generators

#83
post #14

Random observations: - Aren't Jekyll and Octopress basically the same thing? - Really impressed at how fast Metalsmith is growing. Might have to give it a try soon. - For now I give my vote to Middleman.

Octopress is built on top of Jekyll and is geared towards making blogs to host on Github Pages (they'll run jekyll, but not any plugins, so you need to have a weird deployment setup if you want to use things like Haml and Sass). Jekyll itself is more of the lightweight, no-frills vanilla version.

Octopress runs just fine without github.

Re: Static Site Generators

#84
I've been using Octopress for a while now. It's super nice except for one major gripe which is that as the number of posts grows it slows down to a crawl. Other than that I'm totally happy, but a 5 minute wait to fix a typo gets old quickly.

Re: Static Site Generators

#85

I've been using Pelican as my static site generator of choice, but I'm frustrated that Markdown and ReStructured Text are the only formats it can handle. I chose ReStructured Text over Markdown, but what I really want is to write org files. I've been meaning to roll my own solution in Emacs Lisp using org-publish plus some custom functions to generate RSS feeds, but I haven't gotten around to it yet.

I found a cool project called org-page that looks pretty good. https://github.com/kelvinh/org-page

I have some concerns about its architecture in that it's too integrated with git repositories, but it looks like a great place to start from.

Re: Static Site Generators

#88
post #87

Apparently the site about Static Site Generators is experiencing application problems and is unable to serve content at the moment. Should I be amused or enraged?

This feels like irony. Is this irony?

It would be a better case of irony if the site were using a static site generator instead of a web app. That sounds a little unlikely though:

"Site about statis site generators taken down by static site generator scaling issues."

Re: Static Site Generators

#89

Is ther any CMS/blog/... type of thing that would create flat files, but keep all the content also in DB? That way search and comments (and especially moderation for comments) would be easier to handle, but still it would be easy on the server. For my own site I created something like this, https://github.com/Harri/Spage , but instead of DB, I used another set of flat files (serialized arrays containing the page cont…

> Is ther any CMS/blog/... type of thing that would create flat files, but keep all the content also in DB? Both Drupal and Wordpress have modules/plugins that produce static pages: * Drupal: https://drupal.org/project/boost * Wordpress: https://wordpress.org/plugins/wp-super-cache/ They're both quite mature and the standard practice for websites that get a lot of anonymous traffic using their respective CMSes. An al…

There is also a WordPress plugin for generating static pages to upload later, but it's got a lot of gotchas and doesn't seem to have been updated recently. I'm using on my site.

http://leonstafford.com/wordpress-static-html-output-plugin/

Re: Static Site Generators

#90

Is ther any CMS/blog/... type of thing that would create flat files, but keep all the content also in DB? That way search and comments (and especially moderation for comments) would be easier to handle, but still it would be easy on the server. For my own site I created something like this, https://github.com/Harri/Spage , but instead of DB, I used another set of flat files (serialized arrays containing the page cont…

Movable Type does this.

Is there anything more modern that also does this (generates flat files from a database that can then be uploaded/served statically)?
Post reply on HN