digitalmars.D - Does a mongodb binding exists?
- "Andrea Fontana" <nospam example.com> Jul 06 2012
- Alvaro <alvaroDotSegura gmail.com> Jul 06 2012
- "Andrea Fontana" <nospam example.com> Jul 09 2012
- "Adam Wilson" <flyboynw gmail.com> Jul 06 2012
- "Andrea Fontana" <nospam example.com> Jul 08 2012
- "Andrea Fontana" <nospam example.com> Jul 09 2012
- "Andrea Fontana" <nospam example.com> Jul 09 2012
I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
Jul 06 2012
El 06/07/2012 14:31, Andrea Fontana escribió:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
I'm starting to port that to a more D-like style in some free time. I don't know if/when I'll get something complete, though.
Jul 06 2012
On Friday, 6 July 2012 at 21:55:26 UTC, Alvaro wrote:El 06/07/2012 14:31, Andrea Fontana escribió:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
I'm starting to port that to a more D-like style in some free time. I don't know if/when I'll get something complete, though.
Maybe we can wrap mongo-d-library (that's a c-binding) inside a more d-style library in order to avoid a complete rewrite of mongodb internals.
Jul 09 2012
On Fri, 06 Jul 2012 05:31:09 -0700, Andrea Fontana <nospam example.com> wrote:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
Have you looked into Vibe.d? They have a MongoDB binding. http://vibed.org/features -- Adam Wilson IRC: LightBender Project Coordinator The Horizon Project http://www.thehorizonproject.org/
Jul 06 2012
Am 08.07.2012 10:16, schrieb Andrea Fontana:I wonder if you read my original message :) I can't extract mongodb from the whole framework. On Friday, 6 July 2012 at 23:40:21 UTC, Adam Wilson wrote:On Fri, 06 Jul 2012 05:31:09 -0700, Andrea Fontana <nospam example.com> wrote:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
Have you looked into Vibe.d? They have a MongoDB binding. http://vibed.org/features
Just read this here... have you had any success using vibe.d as a library yet? If not, it would be good if you let me know your build environment. I would like to prepare some alternative project files/make files/whatever to make this a bit easier.
Jul 08 2012
Am 09.07.2012 09:23, schrieb Andrea Fontana:On Sunday, 8 July 2012 at 08:59:51 UTC, Sönke Ludwig wrote:Am 08.07.2012 10:16, schrieb Andrea Fontana:I wonder if you read my original message :) I can't extract mongodb from the whole framework. On Friday, 6 July 2012 at 23:40:21 UTC, Adam Wilson wrote:On Fri, 06 Jul 2012 05:31:09 -0700, Andrea Fontana <nospam example.com> wrote:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
Have you looked into Vibe.d? They have a MongoDB binding. http://vibed.org/features
Just read this here... have you had any success using vibe.d as a library yet? If not, it would be good if you let me know your build environment. I would like to prepare some alternative project files/make files/whatever to make this a bit easier.
I'm working on Linux with dmd 2.059 and vibe.d from gcode repository. I've tried to use vibe.d as library, but I can't. I've also tried to build my hello world with rdmd that should resolve dependencies by itself, but it always gives me linking errors. (i've linked libevent, libssl & more but it still doesn't work, it has problem with "internal" symbols like base64* and others)
I see, the base64 errors are because the file is currently a stub and should not be compiled. That's something that I want to get rid of in the near future. Like base64, some other files should also be excluded from the build. Quoting the list of files from http://news.rejectedsoftware.com/thread/xihdpwtdgwdirfkadrqj news.rejectedsoftware.com#post-4fe01fa8793cd86c6e000008:40news.rejectedsoftware.com:deimos/ev.d core/drivers/ev.d core/drivers/win32.d core/drivers/winrt.d stream/base64.d
If nothing gets in the way, I'll fix up those files today.
Jul 09 2012
I wonder if you read my original message :) I can't extract mongodb from the whole framework. On Friday, 6 July 2012 at 23:40:21 UTC, Adam Wilson wrote:On Fri, 06 Jul 2012 05:31:09 -0700, Andrea Fontana <nospam example.com> wrote:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
Have you looked into Vibe.d? They have a MongoDB binding. http://vibed.org/features
Jul 08 2012
On Sunday, 8 July 2012 at 08:59:51 UTC, Sönke Ludwig wrote:Am 08.07.2012 10:16, schrieb Andrea Fontana:I wonder if you read my original message :) I can't extract mongodb from the whole framework. On Friday, 6 July 2012 at 23:40:21 UTC, Adam Wilson wrote:On Fri, 06 Jul 2012 05:31:09 -0700, Andrea Fontana <nospam example.com> wrote:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
Have you looked into Vibe.d? They have a MongoDB binding. http://vibed.org/features
Just read this here... have you had any success using vibe.d as a library yet? If not, it would be good if you let me know your build environment. I would like to prepare some alternative project files/make files/whatever to make this a bit easier.
I'm working on Linux with dmd 2.059 and vibe.d from gcode repository. I've tried to use vibe.d as library, but I can't. I've also tried to build my hello world with rdmd that should resolve dependencies by itself, but it always gives me linking errors. (i've linked libevent, libssl & more but it still doesn't work, it has problem with "internal" symbols like base64* and others)
Jul 09 2012
On Monday, 9 July 2012 at 07:30:40 UTC, Sönke Ludwig wrote:Am 09.07.2012 09:23, schrieb Andrea Fontana:On Sunday, 8 July 2012 at 08:59:51 UTC, Sönke Ludwig wrote:Am 08.07.2012 10:16, schrieb Andrea Fontana:I wonder if you read my original message :) I can't extract mongodb from the whole framework. On Friday, 6 July 2012 at 23:40:21 UTC, Adam Wilson wrote:On Fri, 06 Jul 2012 05:31:09 -0700, Andrea Fontana <nospam example.com> wrote:I see there's a c-mongo library binding called mongo-d-library on github, but it's very c-style and complex to use. I've seen a quite better binding in vibe.d but it seems very difficult to extract it from vibe.d Any suggestion?
Have you looked into Vibe.d? They have a MongoDB binding. http://vibed.org/features
Just read this here... have you had any success using vibe.d as a library yet? If not, it would be good if you let me know your build environment. I would like to prepare some alternative project files/make files/whatever to make this a bit easier.
I'm working on Linux with dmd 2.059 and vibe.d from gcode repository. I've tried to use vibe.d as library, but I can't. I've also tried to build my hello world with rdmd that should resolve dependencies by itself, but it always gives me linking errors. (i've linked libevent, libssl & more but it still doesn't work, it has problem with "internal" symbols like base64* and others)
I see, the base64 errors are because the file is currently a stub and should not be compiled. That's something that I want to get rid of in the near future. Like base64, some other files should also be excluded from the build. Quoting the list of files from http://news.rejectedsoftware.com/thread/xihdpwtdgwdirfkadrqj news.rejectedsoftware.com#post-4fe01fa8793cd86c6e000008:40news.rejectedsoftware.com:deimos/ev.d core/drivers/ev.d core/drivers/win32.d core/drivers/winrt.d stream/base64.d
If nothing gets in the way, I'll fix up those files today.
I've seen that discussion but: andrea ububox:~$ ls core/drivers/ libev.d libevent2.d libevent2_tcp.d threadedfile.d Removing only the first and the last one didn't work for me. We need a tutorial :)
Jul 09 2012









"Andrea Fontana" <nospam example.com> 