// you’re reading...

Multimedia advice

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:

Discussion

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

  1. [...] Tracy Boyer added an interesting post today on How to get started building an iPhone Web app | Innovative …Here’s a small readingIf 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 … [...]

    Posted by Internet Marketing Email » Blog Archive » How to get started building an iPhone Web app | Innovative ... | 19 March 2009, 11:09 PM
  2. 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.

    Posted by Whatever | 21 March 2009, 9:09 PM
  3. 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.

    Posted by Jason | 23 March 2009, 11:07 AM
  4. very useful tips on how to go about building iphone applications. Thanks for sharing.

    Posted by Maggie | 8 August 2009, 12:28 AM

Post a comment

Go Daddy $6.99.com sale 125x125

Language

Subscribe to RSS Feed

English


Español

Archives