[Mysql-cocoa-users] Re: Smysql
Brought to you by:
sergecohen
|
From: Serge C. <co...@em...> - 2002-11-29 12:10:26
|
Robert, it's me again... I just realise I only partly answered your question. In the respect of how to use the classes of the framework: 1. There is a very short example in the begining of the documentation of=20= the class MCPConnection 2. The design of the Obj-C wrapper is the same of the C library (which=20= is also mirrored in other wrapper like PHP): There is basically two object - a Connection object (which keeps the connection to the DB, you only=20= need one such object by DB you are using). - a Result object (keeping the table of results of a query, one per=20= query more or less) This is better (hopefully) explained in the header of the doc pages of=20= the different classes (which I encourage you to read). If you don't have=20= the doc (you need to install autodoc to be able to generate it), you can=20= get them online here: http://mysql-cocoa.sourceforge.net/SMySQL_doc/ All the MCP... documentation should be up to date (just uploaded them a=20= minute ago) Otherwise, you can also get an idea of the concept by reading the API (C=20= and PHP) part of the MySQL reference manual. Serge. Le vendredi 29 novembre 2002, =E0 08:08 , Robert Cerny a =E9crit : > Hi, > thanks again. At first, I'm not very sure about the purpose of your=20 > classes. I need to implement some lightweight database mechanism in my=20= > ObjC program. I did believe that your framework is exactly what I need=20= > but after reading tons of emails, web pages etc. I'm not so sure = now... > I did build the framework and did install it onto its designed place -=20= > ~/Library/Frameworks. However I'm sure how to get the=20 > libmysqlclient.dylib and if I need it at all. > Could you bring me a little bit of light in it? > > Thanks a lot > Robert > > On Thursday, November 28, 2002, at 10:09 PM, Serge Cohen wrote: > ---------------------------------------------------- Serge Cohen GPG Key ID: 1024D/69B1D346 ---------------------------------------------------- |