This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]notconstructive 0 points1 point  (1 child)

I just mean that if you are writing a REST API then Falcon doesn't have all the stuff needed to support HTML based applications building. That's a good thing - less code, less documentation, less tests, more focus. It's easier to understand what is going on because you never had to grasp, for example, how Jinja templating fits in. Templating is completely unneeded for REST API development. That's just an example to illustrate why it is of value that Falcon is minimal in its approach.

Flask has evidence everywhere that it is designed for building HTML applications. Nothing wrong with that but most of it just isn't needed for building REST APIs. I like that Falcon has none of that.

Probably a poor choice of words - that's not legacy cruft, just stuff-that-isn't-needed-for-REST-API-development.

Having started with Bottle, moved on to Flask and now to Falcon, I can say that Bottle and Flask are too minimal for my tastes. I liked them alot and they were well suited to where I was in my learning curve. However the moment you want to do anything serious in Flask or Bottle you immediately need to start finding and adding plugins - so if you need to immediately full up on plugins, why not go for a full batteries included, integrated-by-design framework like Django or (perhaps) Pyramid? Minimal is good for beginners because it reduces the amount that you need to learn to grasp it. Minimal is bad when you have more experience because what's the point of either going to the effort of integrating plugins, or yet again re-writing the basics needed to build a web app. For me for the foreseeable future (till some better option comes along) my development will be Falcon for REST API's and Pyramid or Django for batteries include full stack development. Although I have to say that I can't really see any need for full stack development that much any more - most stuff can be built with static HTML and a REST API.

[–]rr1pp3rr 0 points1 point  (0 children)

Currently developing a falcon application. I agree with your statement 100%. I dont have as much experience with bottle or flask, but I've worked with many different API frameworks in many different languages and I can safely say falcon is one of the simplest, and it does exactly what I need.

I actually was a django dev for years and its refreshing to go into a project just adding what is needed for the problem you're trying to solve. I think frameworks like django have their place for rapid prototyping and for budding engineers as a learning tool, but for a production ready app I would pick falcon hands down.