Micah wrote:

Well, you could always connect directly to mysql and do that. I actually do that quite a bit add users.. I'm not sure why a custom protocol would make making other language clients easier. It may very well make them more secure though.
I think a protocol would be a lot safer than enabling each application to directly connect to the database. For example, in a balanced environment I could have two completely different applications modifying user information at the database without worrying about synchronization problems, since every protocol command would be atomic. For example, supose I use an administration tool written in php to control some information, and I write a servlet that allows the user to change the the same information, and I have a background python process that does some cleanup at the database, at the same information. Nothing guarantees that at some time some data corruption will occur, since there is no lock mechanism to avoid this.

Maybe you can say this will not happen so frequently, so it is not a necessary feature, but maybe in a near future...

[]s, gandhi

--
Ricardo Andere de Mello
Quilombo Digital - Presidente
55 11 3271-7928

Reply via email to