<body>
Apple Store

iUI For iPhone - One Step Closer to iPhone Apps Explosion

Wednesday, September 19, 2007 by e

With the recent release of the iPhone UI building toolset, Joe Hewitt brings a great collection of tools to bear on the burgeoning iPhone apps space.

A collection of JavaScript resources and CSS bundled together, Hewitt has given developers a suite of code that includes the following features:

1. UI controls

List groups, on/off switches, and fieldsets that look like the iPhone
"Settings" app

2. Linking to external pages via Ajax

Links to external URLs are now loaded via Ajax and inserted with animation into the page. When a link is loading, it will show a nice activity indicator while the user waits.

To see this in the demo, click on the "Stats" link.

Here is an example of Ajax-linkable source: http://joehewitt.com/iui/stats.php.txt

3. Submitting forms via Ajax

Just like with external links, if you submit a form it will post it via Ajax and insert the resulting content into the body.

To see this in the demo, click on the "Search" button and perform a
search.

Here is an example of PHP used to handle an Ajax form post:
http://joehewitt.com/iui/search.php.txt

4. Correct history support

The back button now shows the name of the previous page instead of just the "home" page.

5. Visual polish

The visuals replicate more of the fine details from Apple's designs.

6. JavaScript compression

There is a variation of "iui.js" called "iuix.js" which is compressed
using Dojo ShrinkSafe. It is about 4KB, where the original "iui.js"
is 8KB.


source: http://groups.google.com/group/iphonewebdev/browse_thread/thread/573a1d243f829db

With the collection of scripting available to leverage for the development of more iPhone web apps I am looking forward to a bevy of new web2.0 applications with rich design.

Labels: , , , ,

Social Bookmarks:     book mark iUI For iPhone - One Step Closer to iPhone Apps Explosion in del.icio.us   Del.icio.us    |      submit iUI For iPhone - One Step Closer to iPhone Apps Explosion to digg.com   Digg    |      submit iUI For iPhone - One Step Closer to iPhone Apps Explosion to slashdot.com   Slashdot

about


iPhone is the revolutionary gadget the brilliant folks at Apple have brought to bear on the cell phone market. Part widescreen video iPod, part gorgeous cell phone and part internet appliance this device will be THE MUST HAVE device for years to come. AlliPhones.com offers a place to discuss iPhones and the other products Apple offers.


search

recent posts

recent comments

archives

links


Apple Store