4 ms·
If you're not looking to do something super complicated maybe you can look into Sinatra (ruby). I'm not sure if python has something similar if that's your lang
by rickr 16y ago
If you're not looking to do something super complicated maybe you can look into Sinatra (ruby). I'm not sure if python has something similar if that's your language of choice.
http://www.sinatrarb.com/ http://www.sinatrarb.com/
- Herald_MJ 16y agoweb.py is small, nice and simple (if that's what you mean in terms of "similar" to Sinatra).
- justinxreese 16y agoSinatra is what I came here to suggest when I read "simple" and "rails" used together. So I'll just give your reply a point instead. In addition to web.py (mentioned below), there is also cherrypy. There are a lot of great lightweight frameworks that still give you some of the benefits you get from something robust like rails or django.
- signal 16y agoPardon my ignorance, but Rails and Django seem pretty lightweight as they are... How are sinatra etc lighter (and thus easier to use somehow)?
- notahacker 16y agoAs a simple indication, Sinatra allows you to create an entire site by editing one (logically structured) file if you want. Rails and Django make a few more assumptions about what you're going to do (eg creating a directory structure and giving you easy shortcuts to create forms to edit pages) that are pretty useful when you're building a webapp and want to create multiple reusable parts, but may be overkill for a simple HotorNot type page.