I like the static site idea (I used it for years for my personal site), but I also like having a web front end for editing. I can't find a static site generator with a dynamic admin/posting end. Anyone seen one?
I started a working on a little node-webkit app with a markdown editor and some node.js static site generator embedded, giving a nice UI for editing and generating the site. I never got it working well enough to use, let alone share, but I hope somebody else does it someday.
Build Static Websites
51–60 of 60 posts
Re: Build Static Websites
#52I get the point he's making, but when I want to add something as simple as a counter my website already stops being static. The question you have to ask yourself: How many static websites are in your "favourite" folder? When I look into it, I have a hard time finding a single one.
Fortunately websites can run javascript now, allowing you to do virtually any dynamic thing you need. Counters in particular are an interesting example, because they were inserted as images into websites long before the idea of a dynamic website was popularized. You can see many of the things you can do just on the client in our apps list: https://eager.io/apps . We don't have a counter in there yet, but it's certain…
Re: Build Static Websites
#53"never has to be updated" Not sure what is meant by this.
It's referring to system updates. The need to update your MySQL version, or your Bash version when there's an new vulnerability. All the things you have to do to keep a server on the internet secure and operational over time.
Re: Build Static Websites
#54But if the problem is about resisting traffic, then that's the reason why CDNs were invented: cloudflare is an example, and the seemingly unactive coralcdn (http://www.coralcdn.org/), even simpler to "install" and has a very interesting architecture (I encourage anyone interested in P2P stuff to take a look at their papers).
Keeping your server behind some form of CDN also has the advantage that you keep control over the actual storage of your data.
Re: Build Static Websites
#55Static website generators seem to come and go -- would anyone like to comment on one they like that seems to be lasting the test of time? The obvious one seems to be jekyll (possibly with octopress on top of it), but I'm interested in any others.
I don't know about "lasting the test of time", but I recently used Hugo (Jekyll clone written in Go) and found it impressive. http://gohugo.io/
Re: Build Static Websites
#56I like the static site idea (I used it for years for my personal site), but I also like having a web front end for editing. I can't find a static site generator with a dynamic admin/posting end. Anyone seen one?
For many use-cases, http://prose.io works well. You can then use TravisCI (or the like) to trigger the site rebuild and deployment.
Re: Build Static Websites
#57Earlier quoted context omitted.
It would be nice if wordpress itself had the option of pressing a button saying - push to static. When you make an edit -> update static files. This would be fantastically easier + it would potentially mean 1/4 of the web gets faster overnight.
+1 oh man, that's a great idea, that would grow WP adoption rate by 1000x
Re: Build Static Websites
#58Earlier quoted context omitted.
> is there a WP plugin to export to a static site? Here is one I found [1], I've never used it though, so I don't know how good it is. I'm sure there are others as well. It would be nice if there were a static site generator with an interface as nice as WP. [1]: https://github.com/megumiteam/staticpress
It would be nice if wordpress itself had the option of pressing a button saying - push to static. When you make an edit -> update static files. This would be fantastically easier + it would potentially mean 1/4 of the web gets faster overnight.