Really easy to build fast, versioned, testable, documented, async APIs with Hug. If you're making a quick project would highly recommend giving it a spin.
A Beginner’s Introduction to Python Web Frameworks (2018)
131–140 of 168 posts
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#132This is a short list I have compiled a few months ago, FWIW: New kids on the block: - Starlette https://www.starlette.io - Vibora https://vibora.io - Xweb https://github.com/gaojiuli/xweb - Storm https://github.com/jiajunhuang/storm - Responder http://python-responder.org - Quart https://pgjones.gitlab.io/quart/ - Sanic https://sanic.readthedocs.io - Bocadillo https://bocadilloproject.github.io/ - Japronto https://gi…
Welcome to php world, 5 years ago, when there where an astonishing number of frameworks. It seems to have coalessed around just a few (maybe the lack of the languague being as hot.. has limited resources) Where php ended up somewhat confusingly is the frameworks are now frameworks and components to make web programming easier (syfony/zend...), which seem to be driving drupal and wordpress development. eg: https://sym…
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#133This is a short list I have compiled a few months ago, FWIW: New kids on the block: - Starlette https://www.starlette.io - Vibora https://vibora.io - Xweb https://github.com/gaojiuli/xweb - Storm https://github.com/jiajunhuang/storm - Responder http://python-responder.org - Quart https://pgjones.gitlab.io/quart/ - Sanic https://sanic.readthedocs.io - Bocadillo https://bocadilloproject.github.io/ - Japronto https://gi…
Zope is probably the granddaddy of them all. Tried and failed miserably to use it 20 years ago.
I wish it had gotten more attention and care in the past decade.
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#134Earlier quoted context omitted.
Django's tagline is "The Web framework for perfectionists with deadlines".
.. That comes with a brief documentation of 1941 pages (as of August 20, 2019)..
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#135Beginner's guide to choose a Python web framework: Django.
Don't know why this is downvoted - it's crystal clear advice for beginners - "just use Django".
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#136Of these frameworks, Pyramid is the only one I know of that uses the concept of traversal. Traversal is an elegant way to tame big projects. Whenever I look at a web framework, I look for traversal and I'm always a little disappointed to see it's missing. Traversal means the framework treats each path segment in the URL as a possible branch in a tree of resources provided by the app. After completing traversal, the f…
Why is this better than using mixins when defining a Django CBV?
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#137Earlier quoted context omitted.
Where have you deployed? I'm looking to switch for my Django website. I'd like something full-serve like Heroku, but Heroku doesn't work well with sqlite.
I take that to mean you are hosting your db locally with the app server? Hardly seems like Heroku is in the wrong there
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#138I started Python programming 8 or 9 years ago and went from bottle to flask to Falcon to Django to Sanic. Django is incredible - I wish I'd started with it. It's truly the most useful framework I've ever used - a real workhorse for building applications. Flask and bottle are minimalist and get the job done for focused tasks - for example I hacked together various web examples into an mjpeg server recently used Flask…
I think it also helped me understand web frameworks (or at least the specific paradigm) in general. At times with learning Django I felt like I was _learning Django_. I have this same issue with ORMs.
That said I still really like Django and use it now that I have a somewhat better understanding of what it's actually doing.
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#139I started working with Python around 2013 and I still consider Django the best framework to use. Yes Flask you can pick what you want to use but I have found the supporting libraries to be a bit outdated. Everytime I have used it I feel like I am just gluing together a lot of different pieces and it becomes messy. Django is constantly updated and I have little to no worries about security issues. Edit: And I have bee…
I use Flask for simple APIs and microservices. If I'm writing a full web app, it's Rails (or Django).
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#140If you want a fairly simple site that you'll use/modify only occasionally (e.g. blog), save yourself some headaches and just use something like Pelican. No need to worry about databases, and no need to worry about how to deploy. I used Django for some years, but the hosting provider kept making changes to the libraries resulting in my web site going down frequently.