Django Compatibility? #354
-
|
Just wondering if anyone here has experimented with using idom with Django. On a slight tangent, based on my understanding idom was designed to allow for SPAs, is that correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Yup, IDOM allows you to make SPAs. And I haven't tried making this work with Django yet. Does Django have any If you have any interest in making a contribution to this effect I'd be happy to to help guide you through it. The other server implementations can be found in I've set up some weekly office hours if you'd like to chat about this in more detail. NOTE: you can actually embed IDOM into any existing app if you want to - IDOM's own documentation, which was built with Sphinx and some custom extensions, is a great example of this. |
Beta Was this translation helpful? Give feedback.
Yup, IDOM allows you to make SPAs.
And I haven't tried making this work with Django yet. Does Django have any
asyncsupport? If so that would make it pretty easy to integrate. Otherwise it'll be a bit trickier, though I was able to get Flask working so it shouldn't be impossible.If you have any interest in making a contribution to this effect I'd be happy to to help guide you through it. The other server implementations can be found in
src/idom/server/*.py. If Django hasasyncWebSockets you can probably copy most of the boilerplate from thefastapi,sanic, ortornadoimplementations.I've set up some weekly office hours if you'd like to chat about this in more detail.
NOTE: you can actu…