|
#1
| ||||
| ||||
| 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. |
|
#2
| ||||
| ||||
| 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 |
|
#3
| ||||
| ||||
| 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 |
|
#4
| ||||
| ||||
| 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 |
|
#5
| ||||
| ||||
| 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 |
![]() |
| Thread Tools | |
|
|
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 |