Axel Hecht Mozilla in Your Language

August 21, 2007

RFE: ORM for mozstorage

Filed under: Mozilla — Axel Hecht @ 5:33 pm

Is anyone working on an object-relational-mapping for js and mozstorage? Say, something like sqlachemy does? Using JS1.7 iterators and generators, that should be totally feasible. That is, for someone that knows SQL, which is not me.

Thus RFE, any volunteers or takers out there?

4 Comments

  1. I’ll take a look…

    Rich

    Comment by Rich Dougherty — August 21, 2007 @ 7:31 pm

  2. Cool. If you have issues with the js part of it, I can add some hints and experience on generators and iterators.

    Comment by Axel Hecht — August 21, 2007 @ 10:57 pm

  3. We have an object -> mozStorage mapping layer, though it’s based on RELAX NG schemas and our own resources, not JavaScript objects. Might be relatively easy to adapt for use with JS rather than writing a whole new layer, however.

    Comment by Matthew Gertner — August 22, 2007 @ 12:26 am

  4. Filed https://bugzilla.mozilla.org/show_bug.cgi?id=394732.

    Comment by Axel Hecht — September 3, 2007 @ 3:44 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress