• Save
Appcelerator Titanium - An Introduction to the Titanium Ecosystem
Upcoming SlideShare
Loading in...5
×
 

Appcelerator Titanium - An Introduction to the Titanium Ecosystem

on

  • 2,481 views

Presentation given at JS.Everywhere() 2012 in Paris, France.

Presentation given at JS.Everywhere() 2012 in Paris, France.

Statistics

Views

Total Views
2,481
Views on SlideShare
2,417
Embed Views
64

Actions

Likes
2
Downloads
0
Comments
0

2 Embeds 64

http://lanyrd.com 42
https://twitter.com 22

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • I’ve been using Titanium mobile nearly 3 years, since the very early dark days.
  • Appcelerator's worldwide ecosystem includes 380,000 mobile developersThis translates to 50,000 applications that have been deployed.
  • Native apps are inherently faster than web based solutions – users know the difference. You only have to look back to recent history with Facebook and the scrapping of their hybrid mobile web solution to see that users demand a smoother, faster experience.
  • It’s a platform – not a framework. Titanium doesn’t force you into using MVC, MVVM or any other kind of framework unless you want to!
  • Customers who standardize on the Titanium Platform get to market 70 percent faster
  • Point out that these are real android table views, real ios tables views, real tab groups – not faked using CSS or HTML.
  • The platform leverages over 5,000 mobile device and operating system APIs across iOS, Android and mobile web... Even more to come with the new support for BB10 and Windows 8 / RT
  • Make a note, Ti and Titanium namespaces are interchangeable – you can use either.
  • Make a note, Ti and Titanium namespaces are interchangeable – you can use either.
  • Whtat is COmmonJS? It’s not a platform – it’s a set of specifics for JavaScript OUTSIDE THE BROWSER. It has ratified standards for modules (such as shown) which have been fully implemented into Titanium since version (1.8.2)?
  • Create projects, create from existing templates, develop and build your apps with full auto-complete support, build and test to the simulator (or the web for mobile web projects) as well as package for the iTunes App store and Google Play.Aims to take away the complexity of packaging from multiple native toosl when it comes to testing and packages.
  • NodeJS CLI - From the new v3.0 release (available in beta)
  • It’s open source. You can download the code for the entire platform from Github and extend it to your hearts desire (should you wish to)!
  • You can also use Google Analytics for mobiles (free modules exist for Android and iOS) or any other solution.Who’s using my app?What application features are they using most?How is my user base growing over time?How does mobile application usage evolve?
  • Not just limited to Titanium – there’s APIs available for iOS, Java, REST and Actionscript… and of course, straight up JavaScript outside of the Titanium API.
  • Some of these are quite interesting – the photos API for example will automatically generate thumbnail images in a variety of sizes for you when a photo upload occurs.There’s even a new developer preview out of something Appcelerators called “Node.ACS” which allows you to integrate your ACS data stores with all the standard NodeJS APIS… so if you’re a nodeJS user already (or you have some Node APIS that you wish to use) that may be worth a look at for you.
  • You can sign up for free, and sell modules in the Marketplace, much like you would sell apps in Google Play Marketplace or the App Store – devs get a 70% share from all sales.
  • Platino is made by Lanica, a recently acquiredAppc company … the developers of which were responsible for the Corona engine

Appcelerator Titanium - An Introduction to the Titanium Ecosystem Appcelerator Titanium - An Introduction to the Titanium Ecosystem Presentation Transcript

  • *Appcelerator Titanium MobileBoydlee Pollentine [@boydleep]
  • WHO AM I? Author of the “Appcelerator Titanium Cookbook”, Active Titan Community Memberwho runs a Digital Agency in the UK focusing on Mobile Solutions. @boydleep boydlee.com e boydlee@gmail.com 1
  • 90m Recently, the number of devices that have at some point installed and used an app built with Titanium reached over 90 million.ALLOWS YOU TO WRITE NATIVE APPS FORANDROID, iOS & BLACKBERRY USING JAVASCRIPTApps written in Titanium are native apps – they do not sit in a web container, they arenot based on jQuery, HTML, CSS etc. They are native apps – your JS code is“interpreted” to Java/Objective-C at compile time. However, if you want to make hybridapplications in Titanium there is nothing stopping you from doing so! 2
  • SO…WHY GO NATIVE WITH TITANIUM? NOT LIMITED TO REDUCE TIME SPENT SUPPORT THE ONE SPECIFIC PLATFORMS LEARNING MULTIPLE CODEBASE LANGUAGES CODE FOR MAJOR REDUCE DUPLICATED PLATFORMS EASIER KNOWLEDGE EFFORT (iOS, Android, Mobile TRANSFER Web) 3
  • TODAY Q1 2013What platforms are supported?Already supported are iOS (including all versions of iPhones, iPads and iPod Touchdevices), Android Phones and Tablets (from SDK 2.2+) and the mobile web.From Quarter 1 next year, Titanium will also include support for BB10 and Windows 8 /RT. 4
  • HOW IT WORKS…YOUR APPLICATION (JAVASCRIPT)UI* API *OS API MODULESJAVASCRIPT BRIDGE to JAVA/OBJ-C NATIVE CODE ON iOS/ANDROID 5
  • DEVELOP MUCH FASTER THAN OBJECTIVE-C / JAVA ALONE1 Build your apps in the technologies and languages you already know - JavaScript2 End-to-end process using Titanium Studio3 Maintain a single codebase: Code once, adapt everywhere4 Still doesn‟t do what you need? Build native modules that are exposed to Titanium‟s JavaScript API. 6
  • ACCESS ALL MAJOR DEVICE AND PLATFORM APIS• MAPS • YQL• GEO-LOCATION • FACEBOOK• FILE SYSTEM • ANALYTICS STORAGE • CLOUD SERVICES• SQLITE DATABASES • PLATFORM• APPCELEROMETER SPECIFIC APIS &• NETWORKING HARDWARE• MEDIA & CAMERA • MORE… 7
  • CONSISTENT APISJUST SOME OF THE NUMEROUS UI COMPONENTS Titanium.UI.createView(); Titanium.UI.createWindow(); Titanium.UI.createImageView(); Titanium.UI.createButton({ width: 100, height: 30, title: “Click Me!” });“Titanium” & “Ti” NAMESPACES ARE INTERCHANGABLE Ti.Media.createAudioPlayer(); Titanium.Media.showCamera(); Ti.App.fireEvent(„myEvent‟); Titanium.App.addEventListener(„myEvent‟, myFunctionHandler); 8
  • IMPLEMENTING CALLBACKSHOW TO CAPTURE A PHOTO WITH THE CAMERA Titanium.Media.showCamera({ success: function(event) { //we captured a photo! Ti.UI.createImageView({ image: event.media //the photo image/blob object }); }, cancel: function(event) {}, error: function(error) { alert(„There was an error capturing your photo‟); }, allowImageEditing: true, saveToPhotoGallery: true }): 9
  • FULL COMMONJS SUPPORTCREATE ONCE (module.js) myModule = function(); myModule.prototype.sayHello = function(name){ Titanium.UI.createAlertDialog({ title: “Hello”, message: “Hello ” + name + “!” }).show(); }; exports.myModule = myModule;RE-USE EVERYWHERE var Module = require(„module‟); var dialog = new Module.myModule(); dialog.sayHello(„Boydlee‟); //alerts Hello Boydlee! 10
  • FREE TITANIUM STUDIO IDE FORCODING, TESTING & PACKAGING APPSBased on the Eclipse platform, IDE was originally developed by Aptana 11
  • DON’T LIKE ECLIPSE?Then use any other IDE you like – you‟re not tied to it. You can code Titanium apps in TextMate, Eclipse, Notepad, Visual Studio… anything you like!Just use the Command Line Interface (CLI) tools to perform your building, testing and packaging. Even the CLI is now written in JavaScript using Node.JS! 12
  • NOT JUST A PLATFORM, BUT AN ENTIRE ECOSYSTEMANALYTICS THE CLOUD MODULES COMMUNITYNodeable.com Appcelerator Extend the default Large, activeApp Analytics Cloud services are framework with community withIntegrate any built in. native modules. Q&A forums.number of external Use any number of Marketplace for Paid support isparties 3rd party Cloud downloading and available should(Flurry, Google services without managing you want it.etc) restriction. modules. 13
  • BUILT-IN ANALYTICS Titanium’s built-in Analytics allow you to track your user and application sessions free for up to 30 days.You’re not locked in though! Use any number of other analytics modules including Flurry, Google and Nodeable. Ti * Analytics YourApp Flurry Nodeable Google 14
  • ACSAppcelerator Cloud Services Automatic Cloud Integration via Titanium Studio Rich media API’s allow you to store * files, videos and images Integrate user emailing and push notifications from ACS Built on the backbone of Amazon EC2/S3 and MongoDB 15
  • 16
  • 318modules and countingwith one being added tothe marketplace everysecond day.Appcelerator Modules Marketplace is the biggestmobile module store of its kind on the web todayModules are priced according to the developer who produced them – some are a one-off cost, some per seat (per developer) or based on monthly subscriptions. The good bit- many of the modules are free! The marketplace contains modules for everything fromdrawing, OpenGL, Barcode scanning and more. 17
  • AN ACTIVE COMMUNITY Titanium has an active community made up of a number ofhighly skilled experts and users who are more than happy to help answer any questions you might have. 1 Via the Q&A at http://www.appcelerator.com 2 Via numerous Meetup.com groups and Conferences 3 Via a number of Blogs and GitHub pages 4 Via Twitter, FB, LinkedIn and other social networks 5 Official support and channels are available if you need them 18
  • WHAT DOES THE FUTURE HOLD?End-to-end JavaScript using Node.JS – both on the server and locally in the CLI Game Development using the Platino game engineAlloy – a new way of defining your layouts using XML files not so dissimilar from XAMLGreat community tools such as TiShadow, whichallow you to simultaneously launch your Titanium apps across Android and iOS devices at the
  • ONE LAST THING…. If you‟re interested in learning more aboutTitanium and discussing mobile with some of Europe‟s best developers, be sure to attendtiConf EU in Valencia, Spain (22-24 February 2013) http://ticonf.eu