New topic: 

Best Approach for MySQL with WE ?

<http://forums.realsoftware.com/viewtopic.php?t=46247>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        PLS          Post subject: Best Approach for MySQL with WE 
?Posted: Sat Dec 15, 2012 12:53 am                         
Joined: Tue Aug 28, 2012 12:50 pm
Posts: 5                I'm writing a Web App that will access a MySQL database 
and am not sure if I'm doing things the correct/best way.  As an RB novice, I'm 
hoping one of you seasoned developers might suggest a better method to handle 
this.

I have a global MySQL database property (db) defined in a module that opens a 
connection to the database in the App.Open event.  All web requests that need 
to access data, are using the global property (db) for all database operations. 
 However, if there are multiple simultaneous database operations taking place 
and all use the same global db property, there wouldn't be a way for each db 
session to have its own separate error information.

Is there a better way?

Thanks!   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to