image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Software Programming & Web Scripting

Reply
 
Thread Tools
  #1  
Old January 26th, 2003, 06:18 PM
Paul C's Avatar
Registered User
 
Join Date: Dec 2002
Location: England, UK
Posts: 470
Thanks: 0
Thanked 0 Times in 0 Posts
Paul C is on a distinguished road
Starting off

I'm new to unix in OS X, I want to start some basic programming, where should I start?
__________________
MacBook - 2ghz Intel Core Duo
512mb RAM
200gb HDD
Superdrive
etc.
Reply With Quote
  #2  
Old January 27th, 2003, 06:20 PM
billbaloney's Avatar
House pianist
 
Join Date: Oct 2000
Location: Brooklyn, NY
Posts: 509
Thanks: 0
Thanked 0 Times in 0 Posts
billbaloney is on a distinguished road
Webmonkey covers some basics here:

Unix articles

Check out the Unix basics articles, and the article on vi, the (nearly) universal text editor.

You can run a Google search on a phrase like "Getting started in UNIX" and get a heap of articles
like this.

O'Reilly also has many helpful and well-written books on the UNIX side of OS X, as well as scripting in tcsh and other shells.
__________________
Matt (billbaloney)
1.67GHz "October 2005" G4 Aluminum 1.5 GB RAM, OS 10.5.2
Lots of other things around
Helen Marie
Holford Industries
Reply With Quote
  #3  
Old January 27th, 2003, 07:56 PM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,025
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
So many options! :-) Mac OS X comes ready to get straight to programming in Java, Perl, PHP, C/C++ or shell scripting in all the Unix shells (tcsh, bash, ksh...)

If you want to accomplish Unix-type things, then you'd best start with a shell scripting language. The documentation on these is in man pages, though you'd be best off buying a cheap textbook if you want to learn it, as the man pages are really just for reference.

If you want to achieve "web-page" type things then Perl and PHP are great options (this forum is written in PHP). I'm quite a fan of Perl: you can do some neat things with it.

If you're looking to write full GUI applications, a good place to start is with Java; because you can learn from Java textbooks written before Mac OS X, and run all the examples, then simply transfer that knowledge to writing Cocoa apps.

The best place to start, though, is by signing on at Apple Developers' Connection: http://www.apple.com/developer/

Get the developer tools installed (the CD should have come with Mac OS X, though it can be downloaded or ordered from Apple)

Pick a language, make sure you have its entire API (Application Programmers Index) either on paper or bookmarked on the web, grab a textbook and start experimenting.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #4  
Old January 31st, 2003, 06:28 PM
jdog's Avatar
Not a Moderator
 
Join Date: May 2001
Location: The North Pole.
Posts: 276
Thanks: 0
Thanked 0 Times in 0 Posts
jdog is on a distinguished road
OSX is an awesome platform to learn app development on . The dev environment is so much better than anything available for Linux its silly and $0 is quite a bargain compared to $1000+ for Visual Studio.

As for where to start,
like billbaloney said, you will need a basic understanding of unix and navigating the command line, but I would recommend that for anyone, even non-developers.

I would suggest to start with perl. Learning perl will give you a fair understanding of C type syntax which will give you a great base from which you can jump to other languages such as C, php, java, etc. And perl is not just a language for writing web based apps, its quite usefull for simplifying everyday tasks. If you would prefer to start with a web-based language I would suggest php over perl.

If you want to write gui apps, the only choice (imo) is Obj-C and Cocoa. To me, java apps, especially gui based java apps just "feel" so bloated. They just don't have the snap. The only reason I see to using java is if you already know the language and want to shorten your learning curve.

And lastly the editor.
You have a mac, why not use the mother of text editors: bbedit? I don't buy the notion that "real men do it from the command line" when it comes to editing. Give me a gui with tabs and file tree. If you are doing remote file editing, then vi/m would be beneficial. And of course, if you want to get into cocoa development, project builder is probably where you want to hang out.

hope that helps,
jdog
Reply With Quote
  #5  
Old February 2nd, 2003, 01:17 AM
TommyWillB's Avatar
Registered User
 
Join Date: Mar 2001
Location: ol' Gay San Francisco
Posts: 2,019
Thanks: 0
Thanked 0 Times in 0 Posts
TommyWillB is on a distinguished road
What did you do before OS X?
__________________
TommyWillB
Intel iMac "early 2006" core duo
TommyWillB.com hosted on Mac OS X 10.5.x / Apache 2.2.x / PHP 5.x
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting today, Comcast cuts download time in half bobw Mac OS X System & Mac Software 2 October 3rd, 2003 10:16 AM
SHUTDOWN without warning SCARY!! astro_sk Mac OS X System & Mac Software 10 May 16th, 2003 02:45 PM
System Preferences preferences are starting to not stick simX Mac OS X System & Mac Software 7 May 10th, 2002 12:26 AM
cron process not starting up sinebubble Mac OS X System & Mac Software 2 March 11th, 2002 01:10 AM
trouble starting classic in 10.1 thegazer Mac OS X System & Mac Software 0 October 4th, 2001 02:56 AM


All times are GMT -5. The time now is 05:49 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.