[Dbix-class] POE::Component::DBD::MySQL

Tavin Cole tc1058 at adamantsystems.com
Sun Nov 19 20:35:37 GMT 2006


(cc'd to dbix::class list per mst's request)

look here: http://www.triplethink.net/2006-11-19/

MySQL::Packet - encode and decode the MySQL binary protocol

POE::Component::DBD::MySQL - manage MySQL client connections in POE

i just open a socket to the mysql server and speak its protocol, leaving
the rest to POE's IO loop.  received packets are mapped pretty much one
on one to POE events.

in the future there could be more framework on top to manage connecting,
client pools, or ultimately some kind of DBI/DBD thing.  hence the
module name.

however this has nothing to do with the real DBI/DBD so maybe the name
should be different.

the code is pretty alpha.  it can only send plain SQL queries;  no
prepare/execute yet.  but i am using it successfully in a web service
i'm working on.

i look forward to your feedback on the design and module naming.

-tavin




More information about the Dbix-class mailing list