Cocoa, Dynamic Flash and AJAX
Programming, nvzion — mGee @ 12:36 pm
Well, it’s been quite a while since my last post and there’s been a lot going on. I’ve been going forward with learning OS X application programming and there’s one thing that bugs me about it. The mac programming community is seriously lacking in resources. There are maybe 4 introductory books about Cocoa programming and only one of those are current. The remaining of them were written prior to OS X Panther and as such, leave a lot to be desired when you are using Xcode to develop. The online resources seem to have stopped growing since about 2001. Where are all the so-called experts in the field and why aren’t the existing books updated more often? Possibly because Apple pumps out OSs like Hershey pumps out Kisses? Could be… but it makes it very hard for newbies to learn. I’m pigheaded though and don’t get deterred easily. I picked up Hillegass’ excellent book “Cocoa Programming for Mac OS X” and have learned a hell of a lot so far. Now, I’m waiting for Hillegass’ second book to arrive in the mail, so I can continue. “Advanced Mac OS X Programming” continues where the previous and other books leave off. If interested, the books can be found at Big Nerd Ranch.
Aside from that complaint though, developing applications for OS X looks like a good choice. I have a strong suspicion that Apple’s market share in the PC market is going to explode once the intel-based OS is formally released. I think this will happen because I suspect Apple will finally sell its OS separately, allowing users to install OS X on normal PC boxes. I know, I know, Apple has officially stated that they’ll never do such a thing. “Apple is a hardware company… blah blah blah”. I don’t buy it. Apple also was not a music company, it is now becoming one on a certain level. They also would “never sell a video iPod”. Again, their public statement regarding the latter was a contradiction of what has actually happened. Let’s face it, Apple makes announcements and public statements to throw the public off the scent of the real story. You can’t honestly think that a corporation isn’t looking to expand it’s market share and are satisfied remaining where they are without any growth? If they package up the OS and allow it to be installed on every PC in the world, that will be one hell of an incentive for millions of PC users to switch. One of the biggest reasons, some users haven’t switched is due to cost restrictions. Apple’s hardware is expensive, especially for a long-time PC user who is used to being able to taylor-build their own systems cheaply. So yeah, OS X looks very promising and I look forward to finally begin work on the application ideas I have in mind.
Aside from learning to program apps, I’ve finally learned to develop Flash apps which are dynamically loaded via php/mysql. It’s not all that difficult, only a bit confusing initially since you essentially need to keep track of php and actionscript code. I’ve also played around learning AJAX which works in a very similar way to dynamic flash content. I picked up sitepoint.com’s “DHTML Utopia: Modern Web Design” to learn the latter. The book does a good job of detailing the use of Javascript and HTTPRequest to asyncronously load html content. You can find it at Sitepoint.com.
As for design projects, a couple things have been released in the past couple months and I’m currently working on three which I’ll announce in the coming month or two. As always, you can visit nvzion for complete project info.