Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Slightly more advanced document classes.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Shane Spencer  
View profile  
 More options Nov 5 2012, 1:57 pm
From: Shane Spencer <sh...@bogomip.com>
Date: Mon, 5 Nov 2012 09:57:43 -0900
Local: Mon, Nov 5 2012 1:57 pm
Subject: Slightly more advanced document classes.
A looooong time ago I wrote a document class and named it MongoDict
because I wanted to add a few helper functions to the standard dict
class.  It worked out really well and is now published as
https://github.com/whardier/indicted (needs love but works well)

Since it's so insanely helpful when dealing with sub-documents, by
indexing sub-document fields for a fast lookup, I'm curious if there
is already any momentum to create helpful document classes for python,
ruby, node, etc..

I understand it may be rather presumptuous of 10gen to suggest a
specific method to access generic structured objects.  However it may
also spread some interesting schema design ideas that would be hard to
widely express without immediate functionality.

Not to mention add some fun support for document encoding (.to_json(), ...)

Just food for thought.

- Shane


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Dearing  
View profile  
 More options Nov 5 2012, 2:01 pm
From: Justin Dearing <zippy1...@gmail.com>
Date: Mon, 5 Nov 2012 14:01:24 -0500
Local: Mon, Nov 5 2012 2:01 pm
Subject: Re: [mongodb-dev] Slightly more advanced document classes.

So this is python specific? I'm curious if this could be compiled into
IronPython and called from C# and other .NET languages.

Any Iron Python hackers on this list?

Justin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bernie Hackett  
View profile  
 More options Nov 5 2012, 3:10 pm
From: Bernie Hackett <ber...@10gen.com>
Date: Mon, 5 Nov 2012 12:10:07 -0800
Local: Mon, Nov 5 2012 3:10 pm
Subject: Re: [mongodb-dev] Slightly more advanced document classes.

PyMongo doesn't currently support IronPython. I've worked on supporting it
twice and have had a pretty horrible time. So much of what PyMongo uses
just doesn't work right in IronPython. For instance, there are modules in
IronPython that rely on the signal module, which doesn't actually exist in
IronPython!

If anybody wants to spend some time trying to sort out IronPython support,
I'm happy to work with you getting it into PyMongo. Good luck!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Dearing  
View profile  
 More options Nov 5 2012, 3:26 pm
From: Justin Dearing <zippy1...@gmail.com>
Date: Mon, 5 Nov 2012 15:26:42 -0500
Local: Mon, Nov 5 2012 3:26 pm
Subject: Re: [mongodb-dev] Slightly more advanced document classes.

Bernie,

Sounds like a lot of effort. If it "just worked" I'd consider setting up
iron python build scripts and nunit tests.

It just seemed like something I'd like to have in .NET (or any other
language I'd hack mongo in).

Justin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »