danvk / ssi-server

Server Side Includes in Python's SimpleHTTPServer
Apache License 2.0
41 stars 16 forks source link

Some changes I did for my own personal use #4

Closed koirikivi closed 8 years ago

koirikivi commented 8 years ago

TBH these are not very polished, but if you find them useful feel free to accept the PR :)

danvk commented 8 years ago

Thanks! I'm curious to hear what you use ssi-server for… I haven't had much need for it since I discovered Jekyll and other static site generators.

koirikivi commented 8 years ago

I had to prototype a web app and preferred to work in pure html instead of a framework and thus used python -m SimpleHTTPServer, since I find it the easiest way run a development server. However, it soon became apparent that some code reuse was needed to implement different pages with a common layout, and this seemed like a good fit : ) . So thanks for the package!

To be honest though, I'm looking for alternatives. The SSI model is a bit too limited for even the most basic prototyping, and I'm doing most of my real work in Django (and sometimes other python frameworks), and converting the SSI-powered HTML files to Django templates is somewhat of a chore. I like the simplicity of just running a single shell command to get a server running though!

danvk commented 8 years ago

You should really take a look at Jekyll and GitHub pages. I never would have created this tool had I known about them!