Hey folks,

I recently encountered a situation where developers on a team needed to 
seed their databases with large amounts of data. The data didn't have to be 
the same across all machines, it just had to be logical. Thus, the concept 
of inferential database seeding was born in my little mind!

Wouldn't it be great to generate rows in a customer table without having to 
make up names, email addresses, and balances? That's the idea of Dibble. 
Dibble inferences what the table structure looks like and picks suitably 
random values. You can nudge Dibble to narrow it's randomization, or 
specify concrete values all together. It's a very flexible idea.

The various datatypes of any arbitrary database vendor map to a "standard 
Dibble type". This elevates our level of abstraction, and let's us extend 
the library without worrying about details of MySQL or Postgres.

This idea is in its infancy. I've only implemented Dibble to infer 
information about varchars and numeric types in MySQL. I would *love* if 
some help came in to make Dibble work with more vendors and datatypes. This 
is a really easy open source project to contribute to.

Additionally, it's a great way to sneak in Clojure to a company that's 
apprehensive about it. It's low risk to write your developer seeding 
instructions with a Clojure library.

Website is at http://michaeldrogalis.github.com/dibble/
Source is at https://github.com/MichaelDrogalis/dibble

Hope this is useful!
--Mike

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

Reply via email to