Chapter 3. Building with Web App Frameworks
When you look up close at iPhone native and Web applications and compare their functionality, you will begin to see design patterns in how information is presented to a user. A list is presented this way. A page of menu options is presented that way. Some apps may break the rules, but by and large, applications follow common "look and feel" guidelines because they know users expect and rely on a consistent and intuitive way to perform a task.
To achieve that consistency and to avoid reinventing the wheel, developers often turn to application frameworks. In the generic sense, an application framework is a toolkit that you can use to implement a standard structure for an application for a given platform. Windows programmers utilize the Windows Software Development Kit (SDK) for creating apps for that desktop platform. So, too, developers writing native iPhone apps use the iPhone SDK.
In contrast, the Web development space often has been a virtual free-for-all, with each developer or shop coming up with its own toolkit to develop Web applications. Some programming languages may have application frameworks, but often these are designed for server-side issues, not for constructing the look and feel of an application over the Web.
As I've talked about already in this book, an iPhone Web app should be thought of from the ground up more along the lines of a native app than simply a Web site that users access from their iPhones. As such, the consistency ...
Get Safari® and WebKit Development for iPhone® OS 3.0 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.