IronPython Webframework

前端 未结 3 2165
孤城傲影
孤城傲影 2021-02-12 22:00

There seem to be many excellent web frameworks for Python. Has anyone used any of these (Pylons, Web2Py, Django) with IronPython?

3条回答
  •  孤城傲影
    2021-02-12 22:56

    You may want to read this

    Basically web2py code runs unmodified and out of the box but with IronPython but

    • no CSV module (so no database IO)
    • no third party database drivers (not even SQLite, so no databases at all)
    • no built-in web server (unless you cripple it by removing signals and logging)

    This is because csv, signals, logging and sqlite are not present in IronPython. An you can see from the thread above there is work underway to find ways around.

    web2py also runs unmodified on Jython 2.5 beta, without any known limitation, except for a bug with regular expressions in Jython that makes it choke on some templates (re.compile(...).finditer goes in a loop). We are working to find a way around for this as well.

提交回复
热议问题