Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add first class support for MongoDB #95

Closed
Marak opened this issue Jul 22, 2012 · 22 comments
Closed

Add first class support for MongoDB #95

Marak opened this issue Jul 22, 2012 · 22 comments

Comments

@Marak
Copy link
Contributor

Marak commented Jul 22, 2012

People apparently enjoy using MongoDB.

We should add first-class support to Resourceful for MongoDB.

We should try to collaborate with @codebrew and his https://github.com/codebrew/resourceful-mongo project, or we should just write our own.

@pksunkara
Copy link
Contributor

It would be better if we can work with @codebrew to move that resourceful-mongo.js file into our engines folder and modify it accordingly.

@ryanfitz
Copy link

I'm the author of resourceful-mongo, I stopped using mongo for all of my current projects, so I don't have much interest in keeping up with resourceful-mongo. It would be great if you guys wanted to take it over from me. I could transfer the repo over to you or at least add you as a collab. resourceful-mongo took me something like an hour to whip up without knowing anything about how resourceful worked. I'm sure you guys could write a better version in a short amount of time.

@coderarity
Copy link
Contributor

+1

@Marak
Copy link
Contributor Author

Marak commented Jul 23, 2012

@ryanfitz - Aight sounds good. I'm curious, what are you using instead of Mongo now?

@coderarity - Do you want to take lead on this? Maybe start by adding all the tests for the mongo engine?

@ryanfitz
Copy link

@Marak Im using a combination of redis, postgres and a decent amount of dynamoDB. I also wrote a node driver for dynamo https://github.com/wantworthy/dynode

@pksunkara
Copy link
Contributor

@coderarity If you are taking the lead on this, you need to make sure that all the current tests (engines-test.js, relationship-test.js) passes for the new mongo engine.

@Marak
Copy link
Contributor Author

Marak commented Aug 14, 2012

@coderarity - Is there a status on the mongo branch? People have been inquiring.

@Marak
Copy link
Contributor Author

Marak commented Aug 23, 2012

Bumped to high priority.

https://github.com/flatiron/resourceful/tree/mongodb-support looks like a good start, but it needs to be finished.

Needs to have a mongodb.js file added to https://github.com/flatiron/resourceful/tree/mongodb-support/test/engines for loading the engine in the engines-test. The existing test suite should take over from there.

@coderarity
Copy link
Contributor

Just need tests to pass, I think.

@Marak
Copy link
Contributor Author

Marak commented Aug 23, 2012

Resource.load is required for tests to pass and it seems we are missing it:

https://github.com/flatiron/resourceful/blob/mongodb-support/lib/resourceful/engines/mongodb.js#L28

Does mongo not have a way to bulk upload data?

If not, you'll to do an async create.

@svasva
Copy link

svasva commented Jan 8, 2013

Is there any progress on this?

@AnAppAMonth
Copy link

I'm also interested in this.

@leostera
Copy link

👍

@juliankrispel
Copy link

👍

The last commit on the mongodb engine branch has been 10 months ago, are there any plans to get this working anytime soon at all?

@Marak
Copy link
Contributor Author

Marak commented May 25, 2013

Flatiron is "mostly done" so I'd suggest trying something like https://github.com/bigcompany/resource which has full mongo support via JugglingDB

@Marak Marak closed this as completed May 25, 2013
@juliankrispel
Copy link

thanks for clearing that up @Marak, you might want to reference and close #117 as well and maybe update the readme as it states mongodb support but doesn't clarify that only couchdb is integrated out of the box.

@Marak
Copy link
Contributor Author

Marak commented May 25, 2013

I haven't had admin rights to Flatiron in 10 months, so I can't close that pull request.

@indexzero
Copy link
Member

@juliankrispel I'll bug @coderarity this week to merge it in. We've been building things with Flatiron (e.g. https://github.com/opsmezzo/composer, https://github.com/opsmezzo/quill) the last year or so, but ramping up for some long overdue maintenance this summer.

@Marak
Copy link
Contributor Author

Marak commented May 30, 2013

I'm sure it's hard to keep track, but @coderarity hasn't worked for Nodejitsu or Flatiron in months.

@juliankrispel
Copy link

@indexzero it would be quite something if it were to happen! 👍

PS: hi Charlie I just noticed that it was you, I remember talking to you and drawing you at dot.js last year :D, small world...

@m3talsmith
Copy link

👍 waiting to see what comes of mongodb support.

@coderarity
Copy link
Contributor

I can confirm, as @Marak has stated, that I haven't been writing javascript for a few months since I quit working for Nodejitsu. I am no longer working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants