News for hackers. Stuff that matters.
Re:Safire - An iPhone Web Application Framework by jsjenkins168 on Thursday May 15, 2008 @06:17PM (#191075)
I'm not really so sure what makes this an iPhone specific "framework". Its just a safari browser with javascript, except you can only capture click events.

All you really need in order to make a website iPhone "friendly" is keep buttons > 40x40 px and use:

    <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
Beyond that, any other traditional web framework out there works just fine.
Re:Safire - An iPhone Web Application Framework by aaronblohowiak on Thursday May 15, 2008 @06:25PM (#191097)
Did you read the site? They decorate the DOM entities with behavior and style according to your markup.

http://code.google.com/p/safire/wiki/HowTo

It is not OO js, and named just like two different ruby variants ( http://www.rubyinside.com/sapphire-two-different-new-re-impl... )

Re:Safire - An iPhone Web Application Framework by auston on Thursday May 15, 2008 @06:46PM (#191124)
jsjenkins, in software a framework is usually defined as (From Wikipedia):

   "...a re-usable design for a software system"
This "framework" encapsulates a lot of iPhone-ish style attributes (like buttons, toolbars, lists, sliding/animation & icons) as well as a good number of webkit's(and mobile safari's) new css / js functions.

Additionally we plan to support:

Gesture Events (this should be iPhone specific enough for you)

& Mobile Safari's Offline Database API

Re:Safire - An iPhone Web Application Framework by jsjenkins168 on Thursday May 15, 2008 @06:57PM (#191135)
Sorry, was just a bit confused when I saw iPhone web application framework because I usually think of involving server-side when I see that term, and from that perspective there is little difference between the iPhone browser and others.

Being able to easily stylize your pages to achieve iPhone-like appearance is definitely very useful.

Re:Safire - An iPhone Web Application Framework by auston on Thursday May 15, 2008 @07:10PM (#191153)
No problem, I probably didn't pick the best description for it anyway.