mchean
mchean

Reputation: 417

IronPython Webframework

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

Upvotes: 17

Views: 2408

Answers (3)

Peter Masiar
Peter Masiar

Reputation: 1

we2py released Feb 5, 2009

http://www.web2py.com

  • Includes a Database Abstraction Layer that works with SQLite, MySQL,
    PostgreSQL, FireBird, MSSQL, Oracle, AND the Google App Engine.

Upvotes: -3

massimo
massimo

Reputation: 2775

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.

Upvotes: 6

orip
orip

Reputation: 75437

Django has been run on IronPython before, but as a proof-of-concept. I know the IronPython team are interested in Django support as a metric for Python-compatibility.

Somewhat related is the possibility to use IronPython with ASP.NET and ASP.NET MVC, which is probably more mature.

Upvotes: 6

Related Questions