Re: Dynamically Loading NSComboBox From a Database.
Re: Dynamically Loading NSComboBox From a Database.
- Subject: Re: Dynamically Loading NSComboBox From a Database.
- From: Alex Rice <email@hidden>
- Date: Tue, 2 Apr 2002 15:40:45 -0700
On Tuesday, April 2, 2002, at 02:35 PM, Jim Murry wrote:
I have not been able to figure out how to get MySQL to notify my
program when it gets changed by another computer. That was my initial
approach, but could not figure that out so I was looking into this
approach. I agree that there would be fewer calls to the database
using your approach. If there are any suggestion on how to get a
remote MySQL database to do notifications, I might be able to implement
the NSComboBox properly.
AFAIK this simply isn't possible because MySQL doesn't have triggers or
notifications or stored procedures or any things that one might
implement notifications with. When you use MySQL you gain speed speed
speed and give up tons of useful features that full-fledged relational
databases have.
PostgreSQL has notifications and the C API has functions for registering
for callbacks, when for instance a table gets updated or something.
Alex Rice <email@hidden>
Mindlube Software
http://www.mindlube.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.