views:

1032

answers:

4

I am looking for resources to develop HTML5 apps for iphone primarily. Are their frameworks and tools that I can use to get started? I am looking for:

  • Javascript frameworks that help with UI layout
  • Touch based controls for phones
  • Articles on iphone development, best practices, etc.

I searched stackoverflow and was not able to come up with a good list of resources. I am looking for examples like these http://jqtouch.com/

+2  A: 

This is a good book:

http://building-iphone-apps.labs.oreilly.com/

ballmw
+7  A: 

Sencha Touch is a pretty new mobile web app framework that apparently supports Android, iPhone, iPad, etc. Sencha is the framework formerly known as ExtJS.

Here's a demo of the framework: http://www.sencha.com/deploy/touch/examples/kitchensink/

Note: After looking at some screenshots, I'm not sure that the framework results in apps that follow Android UI patterns very well.


Update: Also check out the just-announced jQuery Mobile project.

Roman Nurik
As an interested in the matter as well, and despite Sencha looking as the better/most complete, I find this important: "Android 2.1 and above is our target. And for a good experience on Android, you really want to upgrade to 2.2 – Michael Mullany 3 days ago" on Twitter. If you need to get to Android's 1.5, 1.6 and 2.1 Sencha isn't a good choice.
GuilhermeA
To be fair, if I had more than 140 characters, I would have added "but are you sure you want to risk your sanity by trying to develop a web app that works on anything below Android 2.1 :-)"
Michael Mullany
+1  A: 

Sencha Touch and jQTouch seem to be it as of this moment.

I'm hoping a framework/library will come out which explicitly says it can handle:

  • iOS devices (e.g.: iPhone, iPod Touch, iPad)
  • Android OS devices
  • webOS devices (e.g.: Palm Pre)
  • Windows Phone 7
artlung
@artlung. I think you're out of luck on Windows Phone 7. There are rumblings that Microsoft has a crash project to get the Phone 7 browser updated with all the latest HTML5/CSS3 goodies, but I will believe when they ship it.
Michael Mullany
+2  A: 

iWekbit was mentioned in articles I read recently. I did not evaluate it thought. I use jqTouch and it is a good software but its development has been slow last 6 month. With sancha out it is clear why, the guy is moving his attention to Sencha Touch.

ballmw mentions the oreilly book. I read this book, it is a good one. it shows a lot of useful stuff. Two things are important to notice in regard of this book. First, jonathan the author will be the new maintainer of jqtouch. second, the code of latest jqtouch (I write this on 2010-06-27) which is beta2 is not compatible with the examples of the book. the difference is small but out of the box it will not work.

Sencha Touch which I did not evaluate is based on Ext JS (now Sencha), while jqtouch is based on jquery. I never worked with Ext. My understanding is that Ext is not as fast as jQtouch, but take this with a huge grain of salt as I don't remember wehere I got this impression from.

IMHO Sencha Touch has one huge benefit over jqTouch - iPad support. It also has android, but for me iPad is more important.