Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Accessing MySQL database with Dashboard widget?

Accessing MySQL database with Dashboard widget?
Thread Tools
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Feb 3, 2006, 12:35 PM
 
I'm working on what is essentially a phone directory widget. Obviously the widget will need to get it's information from somewhere, and the first thing that comes to mind is a MySQL database.

However as far as I can tell I can't use a PHP file for the widget, it has to be HTML. Does anyone know what I could do to access the database or have a better suggestion for how I could store the data?
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Feb 3, 2006, 01:27 PM
 
There are MySQL bindings for Cocoa. From what I understand of widgets, you should be able to use those.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Feb 3, 2006, 01:33 PM
 
Ah sweet. I'll take a look at that. Thanks.

Any tips on where to go to read up on this?
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Feb 3, 2006, 01:55 PM
 
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Feb 3, 2006, 01:58 PM
 
Sweet, thanks.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2