Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Mac OS X Development Forums > Objective-C, Python, Ruby Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2009, 09:01 PM   #1 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 1
Default Absolute beginner to OOP - Where to start?

Howdy,

I'm a front-end guy (xhtml, css, js, xsl, etc), although I have experience with non-oop PHP. I'm looking to expand my expertise to iPhone programming, so I decided a good starting place would be learning the principles of OOP, then getting myself well versed in Objective C, then Cocoa, then XCode...

First, is that a good plan?

Second, how do I go about doing this?

As OOP is something entirely new to me, I don't even know where to start. I've looked up my local community college, but the extend of their CS offerings are "how to use excel" so that's not going to help.

Any help you can offer would be greatly appreciated.
Validatorian is offline   Reply With Quote
Old 06-11-2009, 02:11 AM   #2 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 71
Default

Quote:
Originally Posted by Validatorian View Post
Howdy,

I'm a front-end guy (xhtml, css, js, xsl, etc), although I have experience with non-oop PHP. I'm looking to expand my expertise to iPhone programming, so I decided a good starting place would be learning the principles of OOP, then getting myself well versed in Objective C, then Cocoa, then XCode...

First, is that a good plan?

Second, how do I go about doing this?

As OOP is something entirely new to me, I don't even know where to start. I've looked up my local community college, but the extend of their CS offerings are "how to use excel" so that's not going to help.

Any help you can offer would be greatly appreciated.
Hmm, OOP is totally a different paradigm and it takes some time to grab it. Can only say that first look how to implement OOP in php plus you can grab any book on what actually is OOP and then try to map that in objective C.
itsaboutcode is offline   Reply With Quote
Old 06-23-2009, 09:36 PM   #3 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 18
Default

Apple has their own object oriented programming guide that would be helpful.
http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/OOP_ObjC/Introduction/Introduction.html

Back in my first programming class in college i found a link to sun's oo guide, and found it very useful in understanding the concepts:
http://java.sun.com/docs/books/tutorial/java/concepts/
wolof is offline   Reply With Quote
Old 06-28-2009, 11:19 AM   #4 (permalink)
Registered Member
 
mnemonic_fx's Avatar
 
Join Date: Jun 2008
Location: Planet Earth
Posts: 415
Default

Since you're a web developer, if you don't want to dive-in straight into Objective-C, it's better to start learning from Ruby and Ruby on Rails frameworks, it pretty much explained the concept of Model View Controller, DRY (Don't Repeat Yourself) as in write a reusable code, etc.

I like Ruby on Rails development style, but I could get frustrated when I touch the html and css part , because of my background in C, C++, and Objective-C where we construct UI based on some "patterns" or "algorithms" to display something, while the html and its friends are just written as it's, and there are lots of ways to construct HTML which is a bit outside of my thought process.
__________________
Visit Me

Writing code is not only about writing instructions to a machine / computer, but also about writing something that could be read, understood, and maintained by others. That's why, I like Cocoa.

Last edited by mnemonic_fx; 06-28-2009 at 11:22 AM.
mnemonic_fx is offline   Reply With Quote
Old 07-05-2009, 12:36 PM   #5 (permalink)
Tutorial Author
 
Join Date: Jun 2009
Posts: 25
Default

I second Ruby & Rails on this one. I am primarily a PHP developer, but to be honest the OOP in PHP is an afterthought by the developers behind PHP. I always code OOP-PHP, since my clients often want PHP applications, but two summers ago I started to learn Ruby and Ruby on Rails. Since I always code in PHP though and never seem to get a client demanding RoR, I haven't taken my knowledge to another level than understanding the basics.

However, I am currently developing for the iPhone, but this is not my first encounter with Cocoa. I tried to learn it a year ago, but the problem was that I was trying to convert Cocoa into PHP in order to better understand the logic behind. Fail. This time around (I started about a month ago again, but with iPhone SDK) I'm really grasping the subjects I read about and I noticed when reading of the MVC paradigm that I thought "So this is the difference in Cocoa's implementation of MVC and the Rails one... ah".

Hm, long post. But you get the picture. And I also have to say, although I love PHP, that Rails is just a bit more fun. Not to mention that Ruby is the most OOP language I have ever used.
Bovn is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 227
20 members and 207 guests
churn, ddorrity, donbhar, Ed99, funhog, gardenofwine, hobbyist, inetryconydot, jj0b, linkmx, masc2279, mriphoneman, ravi124, redmouse, scotopia, smilespray, smrtital, ybrikeeg, zackattack, _nivek
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,276
Threads: 39,069
Posts: 171,323
Top Poster: smasher (2,575)
Welcome to our newest member, jstewuk
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:44 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0