Phrasebooks

djberg96 on 2003-03-28T18:31:08

I've been following Ovid's journal a bit; specifically the discussion on externalizing SQL and phrasebooks. There was an article on phrasebooks a while back on perl.com (specifically on Class::Phrasebook), which I seem to have missed. I'm keen on creating something like this for Ruby.

I decided I would take a look at Class::Phrasebook but I'm running into trouble. The first issue is that one of the requirements, IO::LockedFile, won't build on my system, at least not via the CPAN shell. I guess I'll get the source and try to build that way. My second issue is that it has prerequisites in the first place.

I'm not especially keen on using XML either. I think I'd rather use YAML, but then I only plan on using this for SQL.

Note to whoever's listening: search.cpan.org appears to be defunct and has been so for about a day now.

Update: I found some interesting comments here about the perl.com article. The issue of placeholders jumped at me right away, too.


using YAML

pate on 2003-03-28T19:55:27

hey, if you do use YAML, you might want to register this with the Okay Project. This would make it a lot easier for Perl, Python, and Ruby to share Phrasebooks (maybe even in a distributed fashion).

-pate

Re:using YAML

djberg96 on 2003-03-28T23:26:11

For those interested, I have added the !okay/sql type to the Okay project (link above).

you know

hfb on 2003-03-29T07:55:36

why do users always thing that somehow NOONE HAS NOTICED THE BOX IS DOWN?! Yes, we noticed. :)

Re:you know

djberg96 on 2003-03-30T04:14:05

I have no idea what level of monitoring you have on it. I couldn't easily count the number of times someone didn't know their host was down UNTIL I TOLD THEM. :)

Re:you know

hfb on 2003-03-30T08:08:47

who needs monitoring when you have 3 thousand emails from irritating people in your inbox.