* Brian Craft <craft.br...@gmail.com> [2013-11-14 10:24 -0800]: > On Thursday, November 14, 2013 9:42:52 AM UTC-8, Jonathan Irving wrote: > > > > I agree with much of what you write James - I'm paid to write rails and > > node.js code, and I'm finding that node is encouraging me to compose > > small components and basically sidestep a lot of the issues that rails > > is designed to address. > > > > Can you give a concrete example?
Tricky, because my work doesn't belong to me. I have a component which collects weather forecasts from a public API for all of the US. This is isolated from other parts of the app. It acquires the data in one form, transcodes and strips it down, and puts it into a mongodb. Another component runs async map reduce ops on the data, creates aggregated and otherwise reduced data. Finally, there is a service endpoint which serves the product to another component, which (irrelevantly) is a rails app. Managing the data model for these components is trivial, because they only touch one kind of data, and they are each very small. What the rails app sees is a service endpoint with a well defined API. I use no ODM or ORM, just mongodb queries. OTOH as I mentioned further down my first post, I don't see how to avoid schema (version/migration) management in apps which have a richer data model. Your user management example fits that description. Hence my questions. BTW I realize that I'm talking about node not clojure here, but I see a lot of parallels between the approaches taken in clojure and node webapps. They're more similar to me than either of them are to rails or django, for example. Nonetheless, sorry if this feels off topic. cheers, J -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.