On Thu 21/05/09 17:43 , "Rich Hickey" richhic...@gmail.com sent:
> 
> I'd like to do something modest but distinguishing. I have a vague
> notion of showing some Clojure data originating in some XML off the
> web, being passed to some filtering/walking code, getting displayed,
> stored in a DB, all without specific DOM/model/recordset APIs, a
> couple of lines for each task. This demonstrating the difference of
> not being OO - using generic abstract data types like maps everywhere.

I think something like this is a good idea.  It is very practical.

I can't share the code, but I am doing something similar - using clojure to 
build a pipeline that takes 
different shaped queries as resultset-seqs, clusters related records into 
groups, and pushes the groups 
through the pipeline using lazy-seq.  I can also swap in literal datastructures 
in order to test the code 
without depending on the database.

I guess there are lots of datasources that you could do something similar to 
resultset-seq with.  Atom feeds 
(particularly ones with history rel=next links), OpenSearch query results, 
queries to non-relational data-
stores, XMPP events...



--~--~---------~--~----~------------~-------~--~----~
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
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