I'm trying to integrate the MCPKit MySQL framework available at http://mysql-cocoa.sourceforge.net/ into my cocoa application. I've added the framework and included the header file but when I try to define my first MCPConnection variable it says "MCPConnection undeclared". Is anyone successfully using MCPKit on leopard ? Or is there another framework that people use to access MySQL ?
I wrote a guide on how to get MCPKit up and running on XCode 3.2.x :)
People from Sequel Pro gave me a copy of the MCPKit they used, which is a bit updated from the ones you can find floating around google.
P.S. I couldn't post a link to Sequel Pro because this is my first post. -_-;;
Best,
-R
Related
ALL,
In the past mySQL provided Connector/C source code and there was a page on the website which explained how t build it.
Now mySQL deprecated Connector/C and instead it is called libmysqlclient and it looks like both source code is not available fr download and the page with the explanation of the build is taken off the site.
So now the question is - does anybody able to download the source code and build the library?
I even tried to talk to mySQL and filed a bug about missing the source code download/documentation but it got rejected.
In the bug I got a suggestion to se Connector/C++, but I don't know how it will work, since my code is using C API and not C++.
THank you for any pointers you can provide
I installed the Oculus Go Mobile SDK, and wanted to use the sample projects in VrSamples to start understanding development. However, the one that seems to be most relevant for a beginner, and is quoted in all tutorials/documentation I see, is not included. Namely after installing the Oculus Go Mobile SDK from https://developer.oculus.com/downloads/package/oculus-mobile-sdk/, in VrSamples I only see the following projects:
CinemaSDK/
VrCompositor_NativeActivity/
Oculus360VideosSDK/
Oculus360PhotosSDK/
VrController/
VrCubeWorld_NativeActivity/
VrCubeWorld_SurfaceView/
VrCubeWorld_Vulkan/
VrTemplate/
The one that is quoted in tutorials, and seems to be the best for a beginner to start with, should be called VrCubeworld_Framework (for instance it is used as an example here https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-studio-basics/ ). However, this one is missing. Why is that? Is it deprecated?
I am a rails backend developer and I am now working in a team with an HTML coder and I have some problems with information exchange.
I want him to generate all the HTML templates (haml, erb, whatever) and css files. But he has actually no clue on how to install ruby (and rails).
So, we are working now in this ugly workcycle when he puts all html's and css's in public, test them, and then I (myself) move them to correct place.
Is there a tool (for HTML codes) that mimics Rails rendering part so he will run this tool, which must be easy, and when the server starts, he can put all the templates to app/ and test them?
I see this as a small easy installable subset of rails, that only deal with page rendering.
If your coder still doesn't know how to install ruby or how to configure stuff for works , then I can say this is quite problematic . You either can try any cloud based IDE . Or , tools like git to get only raw stuff.
But , you also can look for someone who in minimum way will try to make the whole process possible by learning and installing ruby in their pc .
I had a similiar problem where a copywriter needed to play with the html and we ended up using Cloud9.
Cloud9 is a collaborative IDE in the cloud, IMHO It's pretty decent for small scale projects and can really get the job done.
I simply installed rails once and ran a local dev server and she did all the modifications and watced the preview.
Another option is to create a vagrant environment and preisntall rails there. This means the HTML coder would have to install a VM on his machine and run the vagrant there.
The new Netbeans 7.3 Beta 2 adds a really nice feature for creating an HTML5 application. It also provides a great way to create a Java Server based Web Application. But there does not appear to be any way, within the Netbeans IDE, to take advantage of both technologies in one project.
Is there a way combine these two type of projects, so there is only one web directory structure with both the HMTL5, js, and web services files?
This is definitely planned for the next release, but it is not yet possible in NetBeans 7.3. You can follow this enhancement request to see progress in this area: http://netbeans.org/bugzilla/show_bug.cgi?id=222236. If you'd like to experiment with this, you can build NetBeans with the patch attached to that issue.
Or has this been abandoned? I can't seem to find a modern sample project. I haven't been able to make any the old code I find work. I just want to write a simple Mac app that accesses an external MySQL database that's also involved in a PHP website.
The old CocoaMySQL project has been abandoned, but the project has been resurrected as Sequel Pro.
It's open source and you can get the source code here.
If you want a straight library that allows you to access MySQL, you might try the commercial MacSQL framework.
You can also just use the MySQL C API directly, however be careful because if you want to use this in a commercial app the licensing fees are high.
You might find it easier to write some PHP code on the server to deliver the results to your client using JSON or some other lightweight data interchange format. PHP has direct support for JSON and there is a great Cocoa framework that makes it easy to parse and generate JSON code.
This method allows you to completely abstract the database connection from your client, so it is relatively trivial to change the database if necessary in future.
Thanks, Rob, I have actually seen the links to Sequel Pro but I was confused when I got there. Part of my problem is that I am really bad at adding things to an Xcode project. Once I have a project in hand with the correct libraries and whatever all linked up, I can make use of the various methods or functions.
That's why I was asking if someone had a super simple project using MySQL that would hopefully compile for me right out of the box. I can then add all my objects and coding.
Can't seem to find anyone out there willing to hold the hand of us project-challenged. The project settings dialog box and codes that go in various boxes therein are very confusing to me.