// you’re reading...

Advice & inspiration

How to get started building an iPhone Web app

Apple's iPhone

I was fortunate enough to attend an Apple seminar on UNC’s campus today for iPhone and iPod Touch application developers. Mobility consulting engineer Steve Hayman discussed the use of Dashcode for Web apps, as well as Xcode for native apps. Hayman showed us some innovative examples of current apps, tutorials with basic templates, and tips to getting started as a developer. Since this is a completely new topic for me (I’m still stuck with a crummy Verizon phone) let’s learn together!

Apparently Stanford began offering an iPhone Application Programming class in the fall of 2008, and you can check out the students’ completed apps to get some inspiration. Now I’m just waiting for this class to come to Carolina …

Dashcode appears to be the more friendly coding environment, which is harmonious with the programming languages that we see across the Web. While Dashcode uses HTML, CSS, Java, and other similar coding structures, Xcode only uses Objective-C, C++ and C. If you want to build a Web version of your site for the iPhone, you would use Dashcode. If you are interested in building an app for the app store for users to download, you need to use Xcode.

My interests center around building Web apps, and frankly Objective-C sounds way above my knowledge interests, so I’ll stick with Dashcode in this post.

Most important to note is that Dashcode only works with Leopard (OS X 10.5). Sadly, both of my Macs were bought during the Tiger era, so I am out of luck unless I am willing to upgrade for $129 a computer (which I am not). Alas, all you other programming whizzes can take these notes and test them out for me!

You have to register to download the necessary programs, but it is free and painless so go ahead and get that out of the way.

If you like to read before you code, check out this intro user guide that walks you through downloading Dashcode, working with the templates and deploying your web application.

If you are like me and prefer to jump right in, start with the browser templates that have the “list and detail” format pre-built for you to easily customize. Similar to Dreamweaver, the interface is a split view displaying both the code and design mode. Look through the library for drag-and-drop widgets for buttons, text boxes and other components. The library also contains common code fragments which can be extremely helpful.

A simulator comes with your download for personal testing, but if you want to check out how other sites look you can test them at TestiPhone.com.

Jakob Nielsen wrote a great article last month detailing the difference between the mobile web of 2009 and the desktop web of 1998. “Mobile phone users struggle mightily to use websites, even on high-end devices. To solve the problems, websites should provide special mobile versions.”

Some newspapers have already jumped on board with making compatible versions for the iPhone, like New York Times, USA Today, AP, and others. I encourage everyone to start thinking about creating mobile sites and begin practicing with some dummy sites.

If you have had experience with iPhone development, please fill in my gaps of knowledge because I am still on day one!

Other posts that might interest you:

This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

Discussion

6 comments for “How to get started building an iPhone Web app”

  • Pingback: Internet Marketing Email » Blog Archive » How to get started building an iPhone Web app | Innovative ...

  • Whatever

    BTW you can use the iPhone Simulator to view any web site, not just your own. Type whatever URL you want into its Mobile Safari and you get the same experience you’d have on the phone.

    That TestiPhone.com site isn’t really an accurate representation of what sites look like on an iPhone.

  • Jason

    My boss just informed me that I am going to start learning to develop iPhone apps, so I’ll let you know how that progresses.

  • Maggie

    very useful tips on how to go about building iphone applications. Thanks for sharing.

  • Eileen

    For those app developers that don’t know Objective-C and Cocoa Touch and don’t want to outsource development, check out localbeacon (an iphone app builder) at http://www.bigforge.com. Full integration of Twitter and Facebook, multiple ways to add content into system, off-line access, robust infrastructure including a CDN for all rich content, ability to merge in audio/video and photo galleries, and push notifications. Great for those who want to build just one app or developers interested in white label.

    Here’s an example of one of our apps – L’Oreal Melbourne Fashion Festival at http://bit.ly/9o2R6S

    We would like the chance to earn your business.

  • http://www.eluminoustechnologies.com/website_for_mobiles.htm website for mobile

    It is a beautiful post . Now, This is really great. Really very great blog this has given me all the information that i needed, good for visiting daily it will increase our knowledge.Best luck for future.

Tcoder transcribing app

Advertisement

RSS Subscription

Archives

Facebook