Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 1:37 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: RayPHP + Mysql support?
PostPosted: Sat Nov 07, 2009 12:28 am 
Offline

Joined: Thu Oct 09, 2008 5:49 pm
Posts: 69
I'm currently having an idea of adding mysql support in the php that Raydium use?

(i.e. Raydium php execute command could read data from mysql databases?)


I'm currently trying to recompile it with mysql support, never compiled php before though.

would this be something other Raydium users would want if I do get this to work?


Thoughts? :D


Top
 Profile  
 
PostPosted: Sat Nov 07, 2009 10:36 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
The main issue with this idea is speed. RayPHP (as the whole Raydium engine) is not threaded, so you'll freeze the application until the MySQL server answers your request. With simple requests with a small returned dataset, on a local server, it could work ... but not over Internet.

For local usages, SQL Lite is probably more appropriate, more "real time" than a MySQL. And for Internet, I think that RPC ("REST", SOAP, ...) solutions are better and more easy and manageable than a direct MySQL connection (see ManiaDrive, it use both RESTish things and SOAP).


Top
 Profile  
 
PostPosted: Sat Nov 07, 2009 11:16 pm 
Offline

Joined: Thu Oct 09, 2008 5:49 pm
Posts: 69
Well I suppose it freezing when it wanted to send data... would cause some problems. :lol:

It seems all my idea's Raydium already has perfect functions for... :roll:

Thank you.. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group