flango icon indicating copy to clipboard operation
flango copied to clipboard

WHYYYYYYYYY.

Open allixsenos opened this issue 7 years ago • 7 comments

allixsenos avatar Mar 17 '17 20:03 allixsenos

I don't get it what's the purpose? I'm just super curious and wondering what I'm missing here.

pizzapanther avatar Mar 23 '17 15:03 pizzapanther

hybrid-creature

It feels like hybrid creature in StarCraft 2 for me... But quite interesting and I'll keep eye on this. :speak_no_evil:

channprj avatar Mar 27 '17 04:03 channprj

because django's best parts are the admin and the ORM. Flask is superior for everything else, in my opinion.

kennethreitz avatar Mar 27 '17 18:03 kennethreitz

@kennethreitz

because django's best parts are the admin and the ORM

Best part of Django is ORM? ORM?!?!?! 890388840

Did you saw sqlalchemy?

yokotoka avatar Mar 28 '17 14:03 yokotoka

django's best parts are the admin and the ORM

just leave it here: https://flask-admin.readthedocs.io/ http://docs.sqlalchemy.org/

wowkin2 avatar May 11 '17 13:05 wowkin2

from a sideview I can support the creator: Alchemy is really good, but ORM is not THAT worse. It's cohesive, powerful and fast if you use it correctly. So I can understand his choice. I'd rather hear the pro's of using werkzeug as midleware system, because django midleware is really its bottleneck. And, yes, it's a very interesting idea and i'm also curious

krnr avatar May 12 '17 06:05 krnr

Hybrid like this may seem funny at first place but its assumptions are reasonable. Some arguments:

  • Flask has better template engine (Jinja)
  • Flask imports are more intuitive (from flask import x,y,z)
  • views/api prototyping is faster, easier and more fun (no excessive setup)

On the other side:

  • Django has better migration engine (it allows to migrate constraints)
  • Django ORM is easier to use (SQLA is packed with features but its docs are tough)
  • No problem with shuffling models across app and write tests (no app context issues)

So crossover like this would be:

  • Flask-like views/routes/api (things that Flask excels out of the box)
  • Django-like models, migrations, admin, tests (thing that Django excels out of the box)

Thanks for this interesting setup. I'll experiment with it and see if the world ends.

adrianiskander avatar Mar 21 '18 22:03 adrianiskander