
I hear rumor of a persistent-mongo. I've found http://hpaste.org/fastcgi/hpaste.fcgi/view?id=25669 but is there a more current version? I helped build the haskell mongodb driver which became the official one, so I know a few things about it. Also, I have some data structures to store for my website and would really prefer not to put them into a relational database. If there is a more current version of the code, could I take a crack at polishing it up? Thanks, Rick "The greatest obstacle to discovering the shape of the earth, the continents, and the oceans was not ignorance but the illusion of knowledge." - Daniel J. Boorstin

https://github.com/gregwebs/persistent/tree/mongoDB5
it compiles. The barrier for me is running the test suite- I have problems
so switched it to use cabal-test. But cabal-test can't build the test suite.
I have a ticket open with cabal for this.
Greg Weber
On Sat, Mar 26, 2011 at 12:16 PM, Rick Richardson wrote: I hear rumor of a persistent-mongo. I've found
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=25669 but is there a more
current version? I helped build the haskell mongodb driver which became the official one, so
I know a few things about it. Also, I have some data structures to store
for my website and would really prefer not to put them into a relational
database. If there is a more current version of the code, could I take a crack at
polishing it up? Thanks,
Rick "The greatest obstacle to discovering the shape of the earth, the
continents, and the oceans was not ignorance but the illusion of knowledge." - Daniel J. Boorstin _______________________________________________
web-devel mailing list
web-devel@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel

Thanks! I notice that the mongo goodies such as Array and Javascript are
commented out. I am assuming that this is because there are no
corresponding Persist datatypes to go with those. Is there a plan to add
them, or do we want to create some notion of an extended datatype set?
On Sat, Mar 26, 2011 at 3:24 PM, Greg Weber
https://github.com/gregwebs/persistent/tree/mongoDB5
it compiles. The barrier for me is running the test suite- I have problems so switched it to use cabal-test. But cabal-test can't build the test suite. I have a ticket open with cabal for this.
Greg Weber
On Sat, Mar 26, 2011 at 12:16 PM, Rick Richardson < rick.richardson@gmail.com> wrote:
I hear rumor of a persistent-mongo. I've found http://hpaste.org/fastcgi/hpaste.fcgi/view?id=25669 but is there a more current version?
I helped build the haskell mongodb driver which became the official one, so I know a few things about it. Also, I have some data structures to store for my website and would really prefer not to put them into a relational database.
If there is a more current version of the code, could I take a crack at polishing it up?
Thanks, Rick
"The greatest obstacle to discovering the shape of the earth, the continents, and the oceans was not ignorance but the illusion of knowledge."
- Daniel J. Boorstin
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

On Sat, Mar 26, 2011 at 12:58 PM, Rick Richardson wrote: Thanks! I notice that the mongo goodies such as Array and Javascript are
commented out. I am assuming that this is because there are no
corresponding Persist datatypes to go with those. Is there a plan to add
them, or do we want to create some notion of an extended datatype set? I really haven't given much thought to it yet- was waiting for the need to
arise. I didn't think it would be a hard problem to support all of the Mongo
types, but supporting embedded documents might be. On Sat, Mar 26, 2011 at 3:24 PM, Greg Weber https://github.com/gregwebs/persistent/tree/mongoDB5 it compiles. The barrier for me is running the test suite- I have problems
so switched it to use cabal-test. But cabal-test can't build the test suite.
I have a ticket open with cabal for this. Greg Weber On Sat, Mar 26, 2011 at 12:16 PM, Rick Richardson <
rick.richardson@gmail.com> wrote: I hear rumor of a persistent-mongo. I've found
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=25669 but is there a more
current version? I helped build the haskell mongodb driver which became the official one,
so I know a few things about it. Also, I have some data structures to store
for my website and would really prefer not to put them into a relational
database. If there is a more current version of the code, could I take a crack at
polishing it up? Thanks,
Rick "The greatest obstacle to discovering the shape of the earth, the
continents, and the oceans was not ignorance but the illusion of knowledge." - Daniel J. Boorstin _______________________________________________
web-devel mailing list
web-devel@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel

On Sat, Mar 26, 2011 at 4:18 PM, Greg Weber
On Sat, Mar 26, 2011 at 12:58 PM, Rick Richardson < rick.richardson@gmail.com> wrote:
Thanks! I notice that the mongo goodies such as Array and Javascript are commented out. I am assuming that this is because there are no corresponding Persist datatypes to go with those. Is there a plan to add them, or do we want to create some notion of an extended datatype set?
I really haven't given much thought to it yet- was waiting for the need to arise. I didn't think it would be a hard problem to support all of the Mongo types, but supporting embedded documents might be.
Embedded documents are just key/val maps of the same simple datatypes. Data.Map would be sufficient to support documents, I have no idea what it would take to support that in a Model definition though :) Arrays in Mongo are the same map objects, but the upside is that we can represent those within Persistent as lists. I should probably learn how Persistent works, so I might take a whack at adding that support. No promises though :)
participants (2)
-
Greg Weber
-
Rick Richardson