Thank you for your ideas, feedback and criticisms. rb and Jeff
Future versions of Carte will not force you to list the column names but will retrieve them from the database. Jeff The model macro produces a map which may then be merged with other model maps so you could define the model in various places. That feels more like an object oriented approach and Carte is not trying to be object oriented. It seems natural in a more bottom-up style to define everything in one place. I like that queries are just data but I also see how they can be a little hard to read. I am considering using a macro for queries that would allow table names to be written as symbols instead of keywords. My main concern is to ensure that queries behave in the same way as the rest of Clojure. Thanks again, Brenton On Jun 20, 9:36 am, rb <raphi...@gmail.com> wrote: > Hi Brenton: > > I think it would be nice if rather than specifying the columns of each > table in the call to the model macro, it was extracted from the > database directly. > > Raph > > On Jun 14, 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