10
MOBILIZE ENTERPRISE APPLICATION USING TITANIUM

Mobilize Enterprise Applications using Titanium

Embed Size (px)

Citation preview

Page 1: Mobilize Enterprise Applications using Titanium

MOBILIZE ENTERPRISE APPLICATION USING

TITANIUM

Page 2: Mobilize Enterprise Applications using Titanium

Topics

Preferred Architecture to Mobilize Enterprise Applications Basics of Titanium Alloy ? Proof of Concept – Mobilize SAP

Page 3: Mobilize Enterprise Applications using Titanium

Mobile Device Management

BYOD ?

Mobile Apps.

Native ?Hybrid ?

Analytics

Data Security

SSL ?VPN ?

VPN + SSL ?

Stacks

Page 4: Mobilize Enterprise Applications using Titanium

Typical Architecture

Page 5: Mobilize Enterprise Applications using Titanium

Use case

Problem :

Business decisions were pending with Senior executives who were travelling.

Solution:

Provide a simple solution to bring enterprise data on mobile device.

Page 6: Mobilize Enterprise Applications using Titanium

App in Work

http://www.youtube.com/watch?v=UQazkSyp09Q

Page 7: Mobilize Enterprise Applications using Titanium

Titanium Alloy Basics

Alloy utilizes the model-view-controller (MVC) paradigm, which separates the application into three different components:

Models provide the business logic, containing the rules, data and state of the application.

Views provide the GUI components to the user, either presenting data or allowing the user to interact with the model data.

Controllers provide the glue between the model and view components in the form of application logic.

Page 8: Mobilize Enterprise Applications using Titanium

Titanium Alloy Basics

Models are defined using a Javascript file.

Alloy views are built from Titanium UI components. Views are defined using XML markup and style them using Alloy Titanium Style Sheets (.tss), which abstracts the creation of these components without using Titanium API calls.

Alloy controllers generally have a one-to-one relationship with Alloy views. The controller has access to all of the view components.

Page 9: Mobilize Enterprise Applications using Titanium

Titanium Alloy BasicsTitanium SDK Component Alloy Component

Titanium.UI.createButton(); <!-- Creates a button --> <Button />

Titanium.UI.createButton({ text: "Foobar", top: 0, width: Ti.UI.SIZE });

<Button title="Foobar" top="0“ width="Ti.UI.SIZE"/>

TSS"Button":{ title: "Foobar", top: 0, width: Ti.UI.SIZE }

var button = Titanium.UI.createButton(); button.setTitle('Push Me!');

// Need to give the object an ID, for example, <Button id="button" /> $.button.setTitle('Push Me!');

var button = Titanium.UI.createButton(); button.addEventListener('click', doClick);

<!-- doClick needs to be declared in the associated controller --> <Button onClick="doClick"/>

Page 10: Mobilize Enterprise Applications using Titanium

Proof of Concept