I have an idea for a web service, but I am very new to web programming. Django looks great and somehow I can quickly pick it up. I have a lot of experience in Haskell (and very little in python), and I would like to start writing some of the non-web stuff backends in my favorite language. But of course, I donβt want to do this if the haskell code will not be used, if I go with django.
I looked at several haskell web frameworks: hApps looks too complex and undocumented, turbinado looks affordable, but undocumented, etc. And I think that using a widely used infrastructure like django and having access to a lot of code that I can just connect will help me a lot. But I'm very open to learning about other ideas for using frameworks or about other options that I should use Haskell in some way.
It depends on what you mean by βweb serviceβ.
-/-, , HTML, HTTP, . -.
Haskell "" -. ( , , , , , ..).
- "webby", . , , - Hack Network.CGI, HTTP-, , CGI/FastCGI. -, - Django .
Haskell, Django. Python β Haskell interop /.
-, cgi fastcgi- Haskell -.
python, , . .
Django.
F # NDjango - Django, F #. : NDjango - www.ndjango.com
If you want Haskell to access the database directly, you will need to modify the migration of the Django script database to also fix the Haskell model code using a library such as Yesod Persistent.