| 3 | | = What is HaskellDB? = |
| 4 | | |
| 5 | | HaskellDB compiles and executes SQL statements for you. You write your queries using operators and functions based on the "[http://en.wikipedia.org/wiki/Relational_algebra relational algebra]." HaskellDB |
| 6 | | turns those into real SQL for you. |
| 7 | | |
| 8 | | [http://rubyonrails.org/ Rails 3.0] recently adopted "[http://github.com/rails/arel ARel]", a library based on the same idea. |
| 9 | | |
| 10 | | = Installing HaskellDB = |
| 11 | | |
| 12 | | The "[wiki:Download Download & Install HaskellDB]" article tells you how to get HaskellDB. |
| 13 | | |
| 14 | | = Source Code = |
| 15 | | |
| 16 | | HaskellDB uses darcs for version control. The latest source is available at http://code.haskell.org/haskelldb. You can use darcs |
| 17 | | to get it: |
| 18 | | |
| 19 | | {{{ |
| 20 | | > darcs get http://code.haskell.org/haskelldb/ |
| 21 | | }}} |
| 22 | | |
| 23 | | = Where to go from Here? = |
| 24 | | |
| 25 | | * [wiki:Connect How do I connect to my database?] -- Examples for connecting to each supported database. |
| 26 | | * Documentation |
| 27 | | * [http://hackage.haskell.org/package/haskelldb API] -- Documentation generated from the source. Click "Database.HaskellDB" on that page. |
| 28 | | * [http://code.haskell.org/haskelldb/haskelldb.pdf Student Paper: HaskellDB Improved] -- The most recent formal write-up on HaskellDB. The examples given remain mostly valid. |
| 29 | | * [http://code.haskell.org/haskelldb/leijen.pdf Domain Specific Embedded Compilers] -- The original paper which described HaskellDB. The API has changed significantly since then, so the examples don't really work anymore. |
| 30 | | * [http://code.haskell.org/haskelldb/test/TestCases.hs Unit Tests] -- The unit tests included with HaskellDB show how selects, inserts and updates can be written. The [http://code.haskell.org/haskelldb/test/ directory] contains links to the test harness and database definition. The [http://code.haskell.org/haskelldb/test/README README] describes how to run the tests. |
| 31 | | * Sample Queries -- Check out the "examples" directory in the haskelldb source. |
| 32 | | * [wiki:FAQ] |
| 33 | | * BestPractices -- How to best take advantage of HaskellDB. |
| 34 | | * [wiki:Ask Ask a Question] -- Mailing lists and how to get in touch with the maintainer. |
| 35 | | * [/haskelldb/newticket Submit a Bug] / [/haskelldb/newticket?type=enhancement Request a Feature] |
| 36 | | * [wiki:Volunteer] -- How to get involved. |
| 37 | | * HistoricalInformation -- Information from previous sites, unreliable and not updated. |
| 38 | | |
| 39 | | == Wiki Information == |
| 40 | | |
| 41 | | More information about using this wiki: [TracHome] |
| 42 | | |