Chapter 2. Web development or the SDK?

This chapter covers

  • The two types of iPhone development
  • Ways to program for the iPhone
  • Integrated project development

There are two ways you can develop for the iPhone. One approach is to write web pages for mobile Safari, using HTML, CSS, JavaScript, and your favorite dynamic language. The other is to write native applications to run directly on the iPhone, using Objective-C and the iPhone SDK.

We strongly believe that each programming method has its own place, and that you should always ensure you’re using the correct one before you get started with any iPhone project.

2.1. Comparing the two programming styles

One of the things that might surprise programmers coming to the iPhone for the first ...

Get iPhone in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.