Hacker News new | ask | show | jobs
by motter 4499 days ago
I'm in the process of moving away from a static site for my website.

Simply put, a web interface is often more convenient so I can update things easier on the go, and it's good to have a place to host experiments too.

I have used various static site generators but none of them seemed to be significantly less work to get going than a small django app on heroku. Though I've been using Django for a few years, so there is simply no learning curve left.

2 comments

I had the same problem (updating content), so I wrote a small script to download deltas from my Dropbox and parse them. Now I can edit my posts with vim:

http://www.stavros.io/posts/this-blog-is-dropbox-enabled/

That's a nice solution, though I've gone for a markdown admin widget instead.

This one if I remember correctly: https://github.com/timmyomahony/django-pagedown

Oooh, very nice, thanks for that!

One unintended (and great) side-effect of a Dropbox-hosted site is that you get mirrors for free (they all update together).

Wait till your web site gets a ton of unexpected traffic.
Having a dynamic "admin panel" does not mean you can't completely cache your user-facing pages.
And having HTML files on the filesystem doesn't mean you can't have an admin panel to update them with.
Do you have a Django plugin you'd like to suggest that does this?
Maybe something like Prose.io (Jekyll based). It gives you a very rudimentary interface to edit your posts for a static site.
What'll happen then? My Django-based blog handled hundreds of thousands of visits in a day without breaking a sweat. What it does is basically "fetch the whole page from memcached and serve it".