4 ms·
Sinatra 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 (men
by justinxreese 16y ago
Sinatra 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.