vidigami / backbone-orm

A polystore ORM for Node.js and the browser
http://vidigami.github.io/backbone-orm
MIT License
237 stars 15 forks source link

Draft on a component.json #14

Closed marcelklehr closed 10 years ago

marcelklehr commented 10 years ago

see #10

That's how i'd look like. Lru-cache has no component support, yet.

kmalakoff commented 10 years ago

Thank you. I've merged your request and edited it a bit.

The lru-module is packaged into backbone-orm's client side version, but unfortunately inflection is not and it fails installation:

error : failed to fetch https://raw.github.com/dreamerslab/node.inflection/master/./lib/inflection.js, got 404 "Not Found"

In the short term, I've burned in inflection (I'd like to eventually make the relationship naming convention configurable rather than enforcing our conventions on others anyways).

I've been searching around...how do you publish to component.io?

marcelklehr commented 10 years ago

At the moment the component wiki on github serves as the registry: https://github.com/component/component/wiki/Components :)

(I just added backbone-orm there)

marcelklehr commented 10 years ago

Mh. It's weird that it can't find inflection...

kmalakoff commented 10 years ago

Interesting approach.

It looks like backbone-orm still isn't installable through component. It's been more than 15 minutes...it is working for you?

marcelklehr commented 10 years ago

component install vidigami/backbone-orm works for me. Note that you don't need to put your components on that wiki page for them to be installable, since component uses Github to fetch the components

kmalakoff commented 10 years ago

Ah, I forgot about the component scoping thing. It works!

Thank you for your support in getting this out there. I've also got it working on vidigami/backbone-http now.

marcelklehr commented 10 years ago

awesome!