2 ms·
More information and back story can be found on my blog: https://kodare.net/tags.html#iommi https://kodare.net/tags.html#iommi We've worked on this since 2014.
by boxed 1y ago
More information and back story can be found on my blog: https://kodare.net/tags.html#iommi https://kodare.net/tags.html#iommi
We've worked on this since 2014.
- graemep 1y agoThat is impressive. It feels like an entire framework with a lot more functionality and has a lot of things I have been wishomg Django had. Very few dependencies outside testing. I like that. I was surprised flask is one though. I am thinking about using it for some sections (a management/dashboard bit, and probably the admin) of a site, the rest of which is plain Django. Are there likely to be any problems doing that?
- boxed 1y agoHmm.. flask shouldn't be a dependency. I tried to get iommi to work on flask/sqlalchemy many years ago, but that's somewhat abondoned... > I am thinking about using it for some sections (a management/dashboard bit, and probably the admin) of a site, the rest of which is plain Django. Are there likely to be any problems doing that? Incremental adoption and mix-and-match is also a fundamental design goal so that should work fine.
- graemep 1y ago> Incremental adoption and mix-and-match is also a fundamental design goal so that should work fine. Thanks, going to try it out on my project then, probably today. > flask shouldn't be a dependency. Its in the rest requirements: https://github.com/iommirocks/iommi/blob/master/test_requirements.txt https://github.com/iommirocks/iommi/blob/master/test_require... > I tried to get iommi to work on flask/sqlalchemy many years ago, but that's somewhat abondoned I was wondering whether something like that was possible.
- boxed 1y ago> [flask] in the test requirements Good point. I've removed it. Thanks. > [iommi for flask possible] The HTTP parts are super easy, it's the ORM mapping support that is the big issue. When I made an attempt first time SQLAlchemy was in the middle of a huge API change too, which meant the docs were rather bad and incomplete. Maybe it's better now. Supporting both Django Templates and Jinja2 is a bit annoying too, but doable.
- graemep 1y agoThanks, that was quick! I noticed you are the developer of one of the other dependencies, django-fastdev which fixes a lot of Django annoyances itself. Very nice. TBH I would probably use iommi with Django even if you supported Flask or similar because the Django ecosystem is huge and I am familiar with it.
- boxed 1y agoThe idea would be to support both transparently.
- chrisweekly 1y agotangent: "wishomg" typo for "wishing" is kind of poetic