• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Objective-C/Cocoa connectivity to Relational Databases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C/Cocoa connectivity to Relational Databases


  • Subject: Re: Objective-C/Cocoa connectivity to Relational Databases
  • From: Ken Tozier <email@hidden>
  • Date: Fri, 13 Jul 2007 14:37:04 -0400

There is also a "poor man's" solution: Connect to a PHP script that connects to the database. This method, while it requires a web server, has one distinct advantage over using frameworks or libraries and that is, the client doesn't need to have any special software installed. No need for odbc no need for custom frameworks, upgrade headaches etc. Upgrade the PHP on the server and everyone is automatically updated.

You can "post" directly to php scripts using NSMutableURLRequest here (http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ Classes/NSMutableURLRequest_Class/index.html#//apple_ref/doc/uid/ TP40003696)

I've been doing this for about a year and the response time is quite acceptable.


On Jul 13, 2007, at 2:00 PM, Nathan Gilmore wrote:

I am interested in porting a Java SWING application to Cocoa. I have joined ADC and been trying out Xcode 3.0, the new Interface Builder, and Cocoa, but have not been able to find much information on connecting to relational databases such as MySQL or Postgres. I would like the new application to be able to use Core Animation as well.

Any information that you can provide on Objective-C/Cocoa connectivity to relational databases would be greatly appreciated.

Thank you,
Nathan




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40comcast.net


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Objective-C/Cocoa connectivity to Relational Databases (From: Nathan Gilmore <email@hidden>)

  • Prev by Date: Re: NSOutlineView with an image and text
  • Next by Date: Re: NSOutlineView with an image and text
  • Previous by thread: Re: Objective-C/Cocoa connectivity to Relational Databases
  • Next by thread: Re: Objective-C/Cocoa connectivity to Relational Databases
  • Index(es):
    • Date
    • Thread