by wyc · 9y ago · 0 comments
What's interesting to me is that even though it's a flask app, it seems to be re-implementing large chunks of Django:
- Similar directory hierarchy including folder-per-app, templates, config
- A big settings object that gets passed around to things like Celery
- SQLAlchemy for the ORM/database glue, some other components for migration management
- Re-implemented authentication that has a very similar feature set to django.contrib.auth
This convergence reinforces that I should keep using Django or Rails for new web/mobile products. I find myself doing all of the above when using Go or Haskell for the same task.
The fact that they're typically opinionated about how basic things should be set up can save you from wasting time/analysis paralysis on inconsequential decisions and help get a prototype running, at which point you can decide whether it's a good fit or if you want to factor parts onto another platform.
My pipedream is a framework as comprehensive and mature as either of these two, but in a language with a good static type system to save on 50-80% of tests, and enjoyment of many other benefits.
IIRC, they built a version 2 due to various issues.
But, yeah, version 1 should definitely be built using tech that comes easiest to you.
I was just pointing out that this infrastructure might have been great to start, but you guys moved to a very different, in terms of architecture , v2.