开发者

jquery mobile web application

i would li开发者_运维知识库ke to develop iPhone App something similar to this link

i am planning to develop this using jQuery.

i would like to have some pointers as how to set database and access it.


Hopefully JQuery mobile comes out on Oct 16th and will have a rich set of controls to accomplish the app you mentioned.


If you are looking to develop your app in JQuery then you are talking about a web app rather than a native one. In this case, you can use HTML 5's new Web SQL Database feature which is implemented in Safari on iPhone. Search on HTML5 Web SQL Database and you'll find plenty of emerging resources.

If you are writing a native app but using JQuery inside a UIWebView then you can use the iPhone native CoreData library or use a SQLite database (the same DB used by HTML5) and bridge between Javascript and the database.

Whichever solution you go for, it's unlikely that JQuery itself will support what you want to do at this stage because HTML5 databases are not widely implemented, and JQuery won't bridge into Objective-C for you. You will need to write the support in Javascript yourself, but this should be entirely possible at this point on the iPhone.


PhoneGap dude. PhoneGap. That's pretty much all you need to say.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜