From: Justin B. <jgb...@gm...> - 2013-03-12 02:45:59
|
Can anyone help Gunther? > I'd like to save myself some typing with the database layout but would like to refrain from > Template Haskell. Could you point me to an example on how to use DBDirect for it? ---------- Forwarded message ---------- From: Günther Schmidt <gue...@we...> Date: Mon, Mar 11, 2013 at 2:21 PM Subject: Haskelldb DBDirect To: Justin Bailey <jgb...@gm...> Hello Justin, you might remember even though I haven't written you in quite a while, a couple of years actually but I'm beginning to use Haskell again for writing apps. Since Haskell now has support for writing web-based applications it's becoming quite an option. Naturally I'd like to use HaskellDB for my persistence layer and I'm glad to see that you have not abandoned it. I'd like to save myself some typing with the database layout but would like to refrain from Template Haskell. Could you point me to an example on how to use DBDirect for it? Best regards Günther |
From: MightyByte <mig...@gm...> - 2013-03-12 18:45:20
|
I use something like the following command to generate code from my database schema. DBDirect-hdbc-postgresql Acme.DB <password> "host=<host> dbname=<db-name>" The DBDirect-hdbc-postgresql executable is generated by the haskelldb-hdbc-postgresql package. On Mon, Mar 11, 2013 at 10:45 PM, Justin Bailey <jgb...@gm...> wrote: > Can anyone help Gunther? > > > I'd like to save myself some typing with the database layout but would > like to refrain from > > Template Haskell. Could you point me to an example on how to use > DBDirect for it? > > ---------- Forwarded message ---------- > From: Günther Schmidt <gue...@we...> > Date: Mon, Mar 11, 2013 at 2:21 PM > Subject: Haskelldb DBDirect > To: Justin Bailey <jgb...@gm...> > > > Hello Justin, > > you might remember even though I haven't written you in quite a while, a > couple of years actually but I'm beginning to use Haskell again for writing > apps. Since Haskell now has support for writing web-based applications it's > becoming quite an option. > > Naturally I'd like to use HaskellDB for my persistence layer and I'm glad > to see that you have not abandoned it. > > I'd like to save myself some typing with the database layout but would > like to refrain from Template Haskell. Could you point me to an example on > how to use DBDirect for it? > > > Best regards > > Günther > > > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > Haskelldb-users mailing list > Has...@li... > https://lists.sourceforge.net/lists/listinfo/haskelldb-users > > |
From: Günther S. <gue...@we...> - 2013-03-13 00:32:33
|
Thanks guys! Am 12.03.13 19:45, schrieb MightyByte: > I use something like the following command to generate code from my > database schema. > > DBDirect-hdbc-postgresql Acme.DB <password> "host=<host> dbname=<db-name>" > > The DBDirect-hdbc-postgresql executable is generated by the > haskelldb-hdbc-postgresql package. > > > On Mon, Mar 11, 2013 at 10:45 PM, Justin Bailey <jgb...@gm... > <mailto:jgb...@gm...>> wrote: > > Can anyone help Gunther? > > > I'd like to save myself some typing with the database layout but > would like to refrain from > > Template Haskell. Could you point me to an example on how to use > DBDirect for it? > > ---------- Forwarded message ---------- > From: *Günther Schmidt* <gue...@we... > <mailto:gue...@we...>> > Date: Mon, Mar 11, 2013 at 2:21 PM > Subject: Haskelldb DBDirect > To: Justin Bailey <jgb...@gm... <mailto:jgb...@gm...>> > > > Hello Justin, > > you might remember even though I haven't written you in quite a > while, a couple of years actually but I'm beginning to use Haskell > again for writing apps. Since Haskell now has support for writing > web-based applications it's becoming quite an option. > > Naturally I'd like to use HaskellDB for my persistence layer and > I'm glad to see that you have not abandoned it. > > I'd like to save myself some typing with the database layout but > would like to refrain from Template Haskell. Could you point me to > an example on how to use DBDirect for it? > > > Best regards > > Günther > > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The > Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" > in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > Haskelldb-users mailing list > Has...@li... > <mailto:Has...@li...> > https://lists.sourceforge.net/lists/listinfo/haskelldb-users > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > > > _______________________________________________ > Haskelldb-users mailing list > Has...@li... > https://lists.sourceforge.net/lists/listinfo/haskelldb-users |