Using Haskell with a database backend for "business applications"
I would like to know if there is any possibility that I can use Haskell with small database like sql server compact so that client wont have to install any server on开发者_StackOverflow his desktop.
Is there any api providing sql statements and so on ... What is the best solution to achieve small database application using haskell.
thanks for help
SQLite is a great option for a small, lightweight database you can embed in your application. See HackageDB for a Haskell binding.
There are 57 database libraries and tools for Haskell on Hackage. The most popular is HDBC, an order of magnitude more popular than anything else, and has the HDBC-sqlite backend.
I would definitely recommend SQLite. If you are looking for a library to help keep the type safety of Haskell with a concise syntax, I would recommend checking out Persistent, which has a SQLite backend.
精彩评论