7 ms·
I had a typing mistake. Indeed, Rails/Django is for developing full-fledged systems, but what I am building is really lightweight and simpler than those.
by mertemin 12y ago
I had a typing mistake. Indeed, Rails/Django is for developing full-fledged systems, but what I am building is really lightweight and simpler than those.
- lastofus 12y agoI also use Django for very small/lightweight/simple websites. Django is very good about staying out of your way if you don't want to make use of its built-in magic. If you ignore the "batteries included" parts of Django (ORM, class based views, forms, auth, caching, etc), it's still a good/easy/structured way of routing URLs to a python function, which seems to be the appeal of Flask. The function takes in a request object, and returns a string for output. Can't really be more simple than that.
- giaour 12y agoI've usually found that more opinionated frameworks are better at making lightweight and simple applications. When working in Python, I will only reach for Flask or Bottle when I know that my problem is complex enough that Django will get in the way.