Hi Brenton,

It's nice to see someone writing a relational mapper.

I never got farther than pondering on API design but I share my design
thoughts in case it can be useful to you:
* relations (tables/views/joins) would be a reference type (when
dereferenced they would return a seq or set of maps),
* keys would be namespaced (:album/id and :track/id etc.), foreign
keys use the ns of the foreign table
* join would be implicitly on matching key names (thus the importance
of namespacing)
* transactions would be delimted by a (dbsync ...) forms
* the API would try to be as close as possible of clojure.set

hth,

Christophe

On Mon, Jun 14, 2010 at 6:14 PM, Brenton <bashw...@gmail.com> wrote:
> Hello group.
>
> I have been working on a relational mapping library for Clojure named
> Carte.
>
> http://github.com/brentonashworth/carte
>
> The current version is what I would consider to be a working prototype
> and I would love to get feedback from the community before I do much
> more work on this. The project includes a rather lengthy README.
> Mainly, I am interested in constructive criticism of the ideas and
> examples contained in the README but if you would like to jump into
> the code and critique that, that would be great.
>
> This is my idea of an idiomatic Clojure relational mapping library. Do
> you think I am on the right track? If not, what would that look like?
> What would Rich do?
>
> This project is being developing for my own immediate needs but I
> would be interested in improving it outside of the scope of my work
> based on your feedback.
>
> Thank you,
> Brenton
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>



-- 
European Clojure Training Session: Brussels, 23-25/6 http://conj-labs.eu/
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.cgrand.net/ (en)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to