Agile Ajax: Rails Development for iPhone with rails_iui

„I’ve been doing some web development for iPhone and Mobile Safari lately, not least because of a series of articles that will be showing up in IBM DeveloperWorks soon.

I was using the iUI toolkit, which contains a number of CSS styles and JavaScript event handlers to make iPhone Web apps look and feel somewhat like native iPhone applications. As I was working with iUI, I realized I was building up a library, so I converted everything to a Rails plugin: rails_iui.

Get the plugin from github: git://github.com/noelrappin/rails-iui.git

Right now the plugin is primarily interested in doing a few things:

It contains a rake task to download iUI, move it’s files to the Rails public directories, and change the CSS image URL’s accordingly.

There’s a controller class method acts_as_iphone_controller, calling that sets up a before filter that captures the Mobile Safari user agent string and sets the request format to iphone for use in respond_to blocks. For testing purposes you can call the method as acts_as_iphone_controller(true), and all calls will be treated as iPhone requests.

There is a module of helper methods that are wrapper methods or combinations of iUI CSS classes. Included are:

*

A method for creating the iPhone toolbar at the top of the view.
*

Methods for creating the iPhone list structures from a list of elements that know their associated URLs, including a grouped list in the style of the iPod application
*

Rounded rectangle classes
*

A form helper for the iPhone toggle button, as seen in the settings page.
*

A method to specify an Ajax callback when the phone changes orientation“

Agile Ajax: Rails Development for iPhone with rails_iui

Xobni: Learn more about Xobni Insight

„It’s a whole new look at your email:

Xobni is the Outlook plug-in that saves you time finding email conversations, contacts and attachments.

After a quick install, you’ll see the new Xobni toolbar appear in Outlook – and suddenly information will become much easier to find. When a new email arrives, the sender’s full communication history appears in the Xobni sidebar, including past conversations, attachments and contact details. Xobni also includes a blazing fast email search tool.
Download Now
Xobni is free and available for immediate download.

Lightning fast email search.
The email or person you’re looking for appears as you type
Learn More

Hello, threaded conversations.
Email how it was meant to be read, with conversations in context

Email analytics.
Rankings, graphs, and statistics detailing how you and your contacts use email

Quick attachment discovery.
Historical attachments available instantly without searching

Navigate your inbox by people.
Discover email’s social network – quickly identify a contact’s manager, business partner, or assistant

Phone numbers extracted from emails.
Contact details pop into the sidebar – never search for a phone number again
Learn More

Your personal assistant.
Schedule appointments with a click of a button – Xobni automagically finds open slots in your busy schedule.
Learn More

Xobni: Learn more about Xobni Insight