[OPEN-ILS-DEV] Getting there -- bootstrapping OpenSRF Client
problem
Nathan Eady
eady at galion.lib.oh.us
Thu Dec 14 12:43:52 EST 2006
Mike Rylander wrote:
> It just happened that way.
I see.
>> If the latter, would it be good at some point to get the Perl
>> services to read from the XML config file?
>
> That's on the roadmap, for sure.
>
>> That sounds like something that could be done by someone who
>> speaks Perl but is not very familiar with the codebase yet...
>
> And that sounds as much like an offer as we'll ever get! ;)
It might be. I don't know how quickly I can get something done,
but I'll put it on my radar. Because, as a long-term goal I'd
like to become familiar with this codebase, and to do that I've
got to start someplace.
> You can take a look at http://ln-s.net/GZs (Web CVS repo) to see what
> we're doing now.
Oh, good, it's gathered in one file, the reading, the writing,
and the API all in one place. That's helpful.
I will have a more detailed look at it, once I get stuff installed
on my workstation. (I did an anon CVS checkout, but I don't seem
to see the file opensrf_core.xml, so I imagine it is probably
created at install time. I will of course need to have a look at
its structure if I'm going to implement an interface to it. I
wanted to have an installation to play around with anyway, so I'm
installing the dependency bundles now...)
> We'll need to keep things API compatible since we use the
> O::U::Config interface extensively in the perl innards, but
> it's certainly doable, I think.
I don't suppose there's already a test suite for the Config API?
If not, is there a preferred test framework (e.g., Test::More or
whatever)?
> We already use XML::LibXML in the perl stuff, so that's the
> natural/prefered choice for the XML parser, but we do have a
> dependancy on XML::Simple for some outlying pieces, so if that
> simplifies things then it would be acceptable as well.
I will look at these, especially the former. Most of my Perl/XML
experience up to now has been with XML::Twig, but it never hurts to
add a tool to my toolbox.
More information about the Open-ils-dev
mailing list