why Titanium use JavaScript as develop language?
Hi,
I'm new here to use Titanium to build my mobile App,I have a question to ask:
why Titanium use JavaScript as develop language?does a Titanium Mobile App based on HTML?
btw:is there any IDE for me to layout the controls?
5 Answers
-
I don't believe Titanium apps are web apps any more. JavaScript is merely the language used to call native APIs. No browser technology is used, unless you use a web view, in which case you aren't really running Titanium's javascript, you are running Safari's javascript.
Did I get this right? :)
-
I think the main reason they use javascript is that apple has a built in webkit that allows you to compile the javascript so you can take full advantage of the language.
As far as I know there is no GUI Designer yet but I believe it's coming as part of the official IDE.
-
Javascript is a language known to a great many people, so supporting javascript allows web developers to leverage the expertise they have obtained working on web apps with mobile apps.
Further, if you're going to build a system like this you need a language that runs on all of the platforms; Javascript is already present on both the iphone and android as well as many other mobile platforms, which makes it likely that Titanium could be extended to support pretty much any platform with a web browser.
To be honest, I'm not sure if I'm totally sold on using Titanium for mobile development for my projects, but the theory behind it is rock solid =]
-
Hi guys, is there any change to your answers here? I'm in need of a tool that will help me write an app across as many platforms as possible, but just how does this work? Does it run in the browser or as a stand alone app on the phone/tablet? I'm not keen on the browser thing. I want it to be on the phone itself. What is the best tool? How does this compare with somthing like Corona or RhoStudio?
-
Well it uses javascript because basically these are web-apps wrapped in native functionality.
You CAN use html and jquery for your app, I was going to go that direction, but its going to look clunky.
No ide.