Doubts on using phonegap and titanium

Recently i heard about the PhoneGap and Titanium mobile web app developments. I had analyzed about both the web applications and got some idea of how to use and what are the strength and weakness of these. Yet i didn't get some clear ideas on the following questions,

  • Does these web app developments supports XML Parsing?

  • I heard about these use html5, javascript and css alone. Does it supports Ajax?

  • If my App retrieves Remote XML file. Is there a way to Parse the elements?

  • How much these PhoneGap and Titanium supports Web services? Can i have a way to implement Restful Web services.

  • Can anyone provide me suggestions on these questions.


    Phone gap is no match for titanium. Titanium Ultimate single code base scripting language.

    if u want really have native app experience try titanium. we are doing projects in it . it is ultimate has such experience and tools and community.

    if u want try with html5 coding then phonegap is fine.

    but in titanium you go deep in and you can understand the mobile concept as they were in native app.. my suggestion go with titanium.....You will love it

    coming to your question

    Absolutly you can use remotecall get data.both xml and json parsing are there.

    see the link http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.XML

    before see the vedios of lynda.com about titanium appcelerator . it took me a hour to learn .really


    PhoneGap and Titanium work in very different ways.

    PhoneGap essentially creates an embedded Safari browser, then runs whatever HTML you provide it. For the most part, anything you can do in mobile Safari you could do in PhoneGap -- use AJAX, consume web services, CSS3 animations, etc.

    Titanium is a different beast. It lets you code your app using JavaScript, then compiles to a native iOS app. They provide a js SDK, and you use that to tell the system what you want to do (create a tab bar; show a button; draw a label; etc.). Your JavaScript is then packaged along with their custom libraries to create a native iPhone or iPad app. The views, buttons and objects you get are the native controls, not html elements. You don't get exactly the same performance of an app developed by hand in Xcode and Objective-C, but it tends to be slightly faster than what PhoneGap does.

    Make sense?


    Speaking of Phonegap, you can use any javascript library like jquery etc. I think there should be libraries for all of these cases. For example, I already used a webservice with the jquery.ajax() function.

    I think Titanium is similar in this aspect, but the user interface is not described in html but also in javascript.

    链接地址: http://www.djcxy.com/p/87612.html

    上一篇: 以编程方式使亮度变暗或变暗十六进制颜色(或rgb和混合颜色)

    下一篇: 对使用phonegap和钛质疑