Programing Mac Apps

supanatral

Registered
I'm looking to program a mac application to read from a central database. What language or program would you guys suggest?
 
Disk Utility is used to create .dmgs. Refer to the Disk Utility documentation for information on how to do this.
 
:)) Cocoa is a framework it is not a language by itself.

Cocoa uses Objective-C, C++ and Java as of my knowledge

In Mac OSX, I think, you have two ways to program - one procedural way Carbon and one object-orientated framework which is Cocoa

Apple suggest we use Cocoa to program. Also if you make your app on Cocoa it would be able to be scriptable using AppleScript.

If you want to make simple command-line tools you can use ANSI C/C++
 
And yes you can create dmg images using it. You basically can do everything on the OS itself.

I made a simple program to interact with my mysql database on Cocoa. The only thing you need is the ODBS driver which is available in the official site and you are ready to roll.
 
Carbon apps can certainly be AppleScriptable. In fact, AppleScript predates Cocoa on the Mac by many years.

But as with many things, in Cocoa you can get some basic AppleScript support "for free".
 
Cocoa uses Objective-C, C++ and Java as of my knowledge

Cocoa does not use C++. You can access the Cocoa framework from Java and Objective-C, but that doesn't mean that the framework makes "use" of them. Cocoa is implemented using Objective-C and while there is a bridge to make it work in other languages like Java and C#, it's usually far more hassle than it is worth. The reason for this is because Cocoa makes heavy use of Objective-C constructs (like Categories) which have no real equivalent in other languages.

In Mac OSX, I think, you have two ways to program - one procedural way Carbon and one object-orientated framework which is Cocoa

In addition to that you can use:
- C++. There are many GUI libraries open to you, like Qt (not Quicktime) and wxWidgets.
- Python. Using bindings which allow you to use Qt, wxWidgets, and Carbon.
- REALBasic which is quite a nice application development suite, based on the BASIC language.
- C.

If you want to make simple command-line tools you can use ANSI C/C++

and Objective-C, Perl, Python, Java, and pretty much any language you can name, there is a compiler/interpreter for OS X.
 
Back
Top