Blockland Forums > Suggestions & Requests
Blockland Achievements
Truce:
--- Quote from: Ephialtes on June 07, 2009, 02:05:56 PM ---Why would you use Java to interact between Torque and an SQL database?
--- End quote ---
It's quicker than PHP, I thought?
I also thought there was no direct connection from Torque to an SQL database?
Am I wrong?
(Hit Man):
--- Quote from: Blocklandfreak12 on June 07, 2009, 04:26:45 PM ---Heh,
--- End quote ---
LOLWUT
Ephialtes:
--- Quote from: Truce on June 07, 2009, 04:28:21 PM ---It's quicker than PHP, I thought?
I also thought there was no direct connection from Torque to an SQL database?
Am I wrong?
--- End quote ---
I'd say PHP would be much more effective for interfacing between the two. You've already got Apache there to handle connections to the server, and you've got PHP with the MySQL libraries to run queries - and from there its pretty simple to dump output to a php file. If you're making a Java server you have to write all the connection crap, then the logic, then the database interfacing. Just more work and not necessarily any benefit.
Niblic:
Hey guys, this is possible with events... Its just not client-side.
Blocklandfreak12:
ACHIEVEMENTS!