Top Banner
TITANIUM 1
21
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: tittanium

TITANIUM

1

Page 2: tittanium

AGENDA

2

• Titanium Mobile Overview

• Why Titanium

• Features

• Titanium Mobile

• Titanium Desktop

• Comparison With PhoneGap

Page 3: tittanium

INTRODUCTION

3

Page 4: tittanium

• 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

Page 5: tittanium

WHY TITANIUM

5

Page 6: tittanium

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

Page 7: tittanium

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

Page 8: tittanium

PLATFORM FEATURES

8

Page 9: tittanium

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

Page 10: tittanium

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

Page 11: tittanium

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

Page 12: tittanium

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

Page 13: tittanium

TITANIUM ARCHITECTURE

• Desktop is HTML focused

• Can use other scripting languages

13

• Mobile: JavaScript interpreted at runtime

• JavaScript API >> native APIs

Page 14: tittanium

COMPARISON WITH PHONEGAP

14

Page 15: tittanium

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

Page 16: tittanium

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

Page 17: tittanium

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

Page 18: tittanium

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

Page 19: tittanium

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

19

Page 20: tittanium

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

Corporation 1000s of apps per

month to the stores

20

Page 21: tittanium

THANK YOU

21