tittanium

Preview:

Citation preview

TITANIUM

1

AGENDA

2

• Titanium Mobile Overview

• Why Titanium

• Features

• Titanium Mobile

• Titanium Desktop

• Comparison With PhoneGap

INTRODUCTION

3

• An open, extensible development environment for creating beautiful native apps across different mobile devices and OSs.

• Titanium is a platform for developing mobile, tablet and desktop applications using web technologies.

• It includes OPEN source SDK with over 5000 device and mobile operating system APIs, Studio, a powerful Eclipse-based IdE, Alloy, an MVC framework and Cloud Services for a ready to use mobile backend.

• Titanium is developed by Appcelerator Inc. and was introduced in December 2008.

• Developers will also have to learn the Titanium API.

4

WHY TITANIUM

5

6

•Today mobile is 40% traffic of all internet and more and more apps are developed for mobiles. It is difficult and time consuming to develop one app for all mobile platforms. So requirement of cross platform comes and titanium is developed.

•Traditional approaches requires the management of multiple development projects and code bases which is both costly and complex.

•Titanium SDK provides a single SDK across all mobile operating systems and devices, using the most popular web development language JavaScript, promoting faster development times, significantly lower costs and reduced risk.

•Multiple platforms, Native App, OpenSource and Extensible

TITANIUM PROJECTS

• Titanium Developer (1.2.2)

• Titanium Mobile SDK (1.5.1)

• Titanium Desktop SDK (1.1.0)

• Versioned separately, different release schedules

7

PLATFORM FEATURES

8

9

Native UI

Location APIs

Local and Remote Data

Social APIs

Rich Media APIs

Open Source and Extensible

Integrated Analytics

Development Tools

Real native tables, tabs, sliders,and views

Native Maps, Compass, and Geolocation

Local SQL Database, LightweightKey/Value Store, XHR

Integrated Facebook Connectand YQL

Local and streaming audio andvideo, media recording

Extend Titanium with custommodules in native code

Baked-in analytics APIs to measureresults and behavior

Develop and distribute your app formultiple platforms from a single tool

TITANIUM MOBILETitanium's unique trait among the various available

cross platform mobile solutions is that it creates truly native apps.

Features you won't find in other cross platform mobile development solution

Platform specific APIs Location-based services Social sharing Rich multimedia Online and on-device data Extensibility

10

Titanium lets you create a full-featured iOS application using JavaScript, then automatically transforms your JavaScript code into Objective-C code .

You do not need to write a single line of Objective-C in order to create an iOS app.

If you want to create an Android app, then you can use your same Javascript code and Titanium Mobile will transform that code into Java and make an app suitable for the Android marketplace.

Similar for another mobile platforms.

11

TITANIUM DESKTOP This does virtually the same thing for Mac,

Windows and Linux applications. Creating an app using Titanium can be completely

free and your app is not crippled in any way.

12

TITANIUM ARCHITECTURE

• Desktop is HTML focused

• Can use other scripting languages

13

• Mobile: JavaScript interpreted at runtime

• JavaScript API >> native APIs

COMPARISON WITH PHONEGAP

14

INTRODUCING PHONEGAP PhoneGap is an open source framework for building cross-

platform mobile applications with HTML, CSS, and JavaScript.

Applications built with PhoneGap are not just like normal mobile web sites.

PhoneGap applications are able to interact with mobile device hardware, such as the Accelerometer or GPS, in ways that are unavailable to normal web applications.

15

COMPARISON Work

In PhoneGap framework, developers can build applications using HTML/CSS/JavaScript, including JavaScript classes that gives us access to device’s hardware and other APIs feature. The final application is then wrapped within a platform native 'Web view' browser generated object, and then becomes a useful web application.

In Titanium framework, developers can build application using Javascript and Titanium's APIs. The Javascript is then interpreted at runtime. The Javascript code made calls to the Titanium API which are mapped to native code in the Titanium framework and generate native components.

16

Support for different Platforms Phonegap :- Ios , Android, BlackBerry, Bada, Windows Phone, Web

Os, Symbian. Titanium :- Ios , Android, BlackBerry.

Native-UI Support Phonegap :- No Titanium :- Yes

Installation Requirements Phonegap :- Ruby, Java SDK, Platform SDKs, PhoneGap Titanium :- Titanium, Platform SDKs, Java SDK

Application Performance Phonegap :- Not as good as Titanium since everything is rendered within

a ‘Web View’ of a browser. Titanium :- Titanium is better than Phonegap since native code is

produced in the backend.

17

Javascript API support Phonegap :- Yes Titanium :- Yes

Both supports JavaScript API but in different ways

Support HTML/CSS Phonegap :- PhoneGap uses HTML5, JavaScript and CSS3 for creating

application UI and functionality. Titanium :- Titanium uses just pure Javascript for creating both UI and

functionality.

App Development cost & effort Phonegap :- Easy to develop. No need to learn new language. Titanium :- Complex and Time consuming. Developer require to learn

Titanium sdk.

18

ADVANTAGES Easier to get a native looking app. Better performance. Join The Mobile Ecosystem Connect to the Cloud

19

WHO USES TITANIUM? NBC Universal eBay/PayPal• Anheuser-Busch MTV Computer Sciences

Corporation 1000s of apps per

month to the stores

20

THANK YOU

21