3 ms·
Can you be specific about what doesn't seem as clean?
by pekk 13y ago
Can you be specific about what doesn't seem as clean?
- dorfsmay 13y agoWith bottle, you don't need the ProfileSchema nor the ProfileController, hello world is literally 5 lines. I know that everything is a tradeoff, bottle.py has A LOT of limitation, but to me it is the lean'est python framework. Heavy framework (WAY more features) would be django and pyramid, and midle of the road cherrypy. I'm not sure where Pecan fits in that picture.
- murali44 13y agoPecan is definitely not as light weight as flask. Creating a simple hello world requires multiple files and multiple classes. Flask is super light weight in that regard. Which is why I use flask for quick hacking on personal projects. Pecan on the other hand has a lot of great features built in, such as ORM, built in templates, etc. Pecan is a popular choice over flask for large scale projects.
- dorfsmay 13y agoORM and templates: I personally dislike framework forcing their ORM and templates engines, I prefer when they let me pick the ones I want. Trying to use Django was extremely weird for that reason. bottle does this kind of integration really well. Can Pecan do https (my biggest issue with most "lean" framework)? How much lighter / simpler is it compared to cherrypy then?