On Wed, Jun 19, 2002 at 01:26:20AM -0400, L. Leo wrote:
> This is a POE component that I have been teething on for a long
> time. Yet I've never "finished" it. I have a perfectionist disease
> that forces me to naw on code for to long. It needs to be free.

I've found that more feedback happens after release than before it.

> Here are the advantages as I see them:
> 
> 1) (nearly) All the DBI API is implemented as events that you
>    can post to the POE::Component::LaDBI session.

This seems straightforward on the surface, but if I read the code
correctly, it quickly degenerates into a lot of little events to do
everything.  Connect, prepare, execute, fetchrow, finish, etc.  While
it's nice to have this sort of control over the process, it's also a
pain for everyday use.

[...]

> Here are the problems as I see them:
> 
> 0) documentation sucks, and is probably incomplete. I don't do speling.

There's software to help with that.  Grammar's by far the hardest part
of writing, as you can tell from reading my documentation.

> 1) no regression tests. I've used my own apps and DB to test a
>    subset of all the calls that POE::Component::LaDBI "supports".

Tests are too important to ignore.

> 2) LaDBI::Engine is a beautiful example of copy-n-paste coding.
>    The "kinds" of handlers are much less than all the handlers I've
>    written. I chose to spam all the request handlers even though I
>    could abstract request handlers a bit. You'll know what I am
>    talking about when you look at the code.

Abstract it.  Less code means fewer opportunities for things to break.

> 3) LaDBI::* is kinda overly abstract interface. That is because I was
>    also thinking of making a SOAP service as a mod_perl Module. Yeah,
>    like I'll ever get around to that.

Someone else might if you don't.  Document your plans, release the
code, and welcome volunteers.

> I want to submit it to CPAN, but I am not clear on the process.
> Yeah I read the FAQ which says post to [EMAIL PROTECTED]
> and pray. I wanted to find out if the POE crowd thinks it worthy
> of CPAN.

I think it is, but it would be even better if you got with the author
of DBIAgent and came up with a combined module that was even better
than either separately.

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net

Reply via email to