On Fri, Jan 30, 2004 at 02:44:33PM +0000, Harry Jackson wrote:
> Tim Bunce wrote:
> >     Get as close to my "design notes" (reposted this morning) as 
> >     possible.
> >             eg set_err(), err(), errstr(), new_child() get_row_array() 
> >             etc
> 
> This is an area that will involve some work. At the moment I am building 
> up structures in a hierarchal nature. I have only got as far as
> 
> .sym dbh_container PerlHash
> dbh_container['DBD::_::db']
> This hols all the dbh objects which at this point are "PerlHash"

Why do you need a container?

> All this will become apparrent when I release the next example. This all 
> came about trying to get multiple handles working although it has not 
> been fully tested it is working for single handles ;-)

I don't see why multiple handles need any kind of container holding
multiple handles. What am I missing?

> >2. Make example less hard coded:
> >     take dsn, user, password from command line
> >     loop, asking for sql then execute, fetch, loop.
> 
> There are areas that concern me at the back end because they are hard 
> coded due to not having runtime loading of the driver byt this is 
> unavoidable. I will change them to more versatile methods where I can.

Having a hard coded driver isn't such a big deal. Just use a .include
which names a smylink and have the symlink point to the driver code.
That'll do us for quite a while.

> >4. An NCI interface for mysql would greatly increase the potential early 
> >userbase.
> 
> I am going to get some of this stuff in some sort of priority order. 
> Doing the MySQL driver will eat a fair bit of my time but I am more than 
> happy to do it if it gets us a lot more users. The docs would take me a 
> day to get something working which is probably the biggest win for the 
> least effort.

Leave the mysql driver till you're totally stuck elsewhere.
I may tackle it once we have subversion up.

Tim.

Reply via email to