is Flask an MVC or MTV?


and sorry for that question

but it seems that i dont get what is really Flask, it comes with a Template engine like the one used in django, so is it an MTV?

and each time i see something related to MVC and Python, there is Turbogears and Django, so how about Flask?

11/9/2011 2:06:49 PM

Accepted Answer

As the homepage puts it, it's a microframework. It's not an MVC (for one, there's no model in flask -- however, you can combine it with something like SQLAlchemy), and I'm not sure what you mean by MTV. It's basically a wrapper around werkzeug which is a wrapper around pure WSGI. A wrapper with templating abilities.

Edit: Also, what does it matter what the terminology is? Just browse the docs, see what it can do and figure out if it's good for you or not :)

11/9/2011 2:12:48 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow