• 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: MySQL and Cocoa - looking for samples, kits, docs, etc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MySQL and Cocoa - looking for samples, kits, docs, etc


  • Subject: Re: MySQL and Cocoa - looking for samples, kits, docs, etc
  • From: Ted Thibodeau Jr <email@hidden>
  • Date: Tue, 26 Dec 2006 21:27:27 -0500

Hi, Steven --

* Steven (RSAA Storage) Smith [2006/12/26 01:08 PM -0700] wrote:
> Anyone have samples or url's to samples of using MySQL (I'm currently
> running 5.0.21 standard) on MacOSX (10.4.8) using Cocoa? I've tried
>
>    http://mysql-cocoa.sourceforge.net/
>
> but the link to the example files is broken and I haven't been able
> to figure out the framework.  I'd like to be use MySQL API's directly
> from Cocoa, but would be okay to use Cocoa bundled/linked to C++ or C
> API's if someone knows how or can point me in the right direction.

I can't recommend building directly to any DBMS, because that locks
you (and your customers/users) into a back-end which may not be the
best next week, month, or year -- but I would recommend looking into
ODBC, either through Andrew Satori's ODBCKit, wrapping Objective C
around the base of C/C++ --

   http://sourceforge.net/projects/odbckit
   http://www.druware.com/products/odbckit.html

-- or through the more raw C or C++ API calls in the iODBC dylibs and
frameworks from the full (free) iODBC SDK provided by OpenLink Software
(my employers) --

   http://sourceforge.net/projects/iodbc
   http://www.iodbc.org/
   http://www.versiontracker.com/dyn/moreinfo/macosx/23969

Building to use the ODBC APIs -- especially if you use standards-
compliant SQL (rather than DBMS-specific dialects) -- can deliver an
application which can be used against any ODBC accessible DBMS, which
means end-users can use MySQL if they want, or OpenLink Virtuoso,
PostgreSQL, Oracle, Microsoft SQL Server, Sybase, Ingres, Progress,
Frontbase, Openbase, Firebird, etc. -- whatever engine suits their
overall personal or enterprise needs and goals.

Full documentation on writing ODBC applications is found in the online
ODBC Developer's Guide, hosted by Microsoft (maintainers of the spec).
This documentation is not scoped to Objective C, nor to Mac OS X, but
it covers the ODBC API in fairly exhaustive detail.

Be seeing you,

Ted



--
A: Yes.                      http://www.guckes.net/faq/attribution.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?

Ted Thibodeau, Jr.           //               voice +1-781-273-0900 x32
Evangelism & Support         //        mailto:email@hidden
OpenLink Software, Inc.      //              http://www.openlinksw.com/
                                 http://www.openlinksw.com/weblogs/uda/
OpenLink Blogs              http://www.openlinksw.com/weblogs/virtuoso/
                               http://www.openlinksw.com/blog/~kidehen/
    Universal Data Access and Virtual Database Technology Providers
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: MySQL and Cocoa - looking for samples, kits, docs, etc
      • From: Andrew Satori <email@hidden>
References: 
 >MySQL and Cocoa - looking for samples, kits, docs, etc (From: "Smith, Steven (RSAA Storage)" <email@hidden>)

  • Prev by Date: How can I tell if a port is already being used?
  • Next by Date: How to draw revolving string in view
  • Previous by thread: Re: MySQL and Cocoa - looking for samples, kits, docs, etc
  • Next by thread: Re: MySQL and Cocoa - looking for samples, kits, docs, etc
  • Index(es):
    • Date
    • Thread