Titanium For New Developers
Upcoming SlideShare
Loading in...5
×
 

Titanium For New Developers

on

  • 10,125 views

Slides from 1/5/11 webinar on Titanium for New Developers. Covers Titanium Desktop and Titanium Mobile.

Slides from 1/5/11 webinar on Titanium for New Developers. Covers Titanium Desktop and Titanium Mobile.

Statistics

Views

Total Views
10,125
Views on SlideShare
8,610
Embed Views
1,515

Actions

Likes
5
Downloads
346
Comments
0

7 Embeds 1,515

http://developer.appcelerator.com 1496
http://www.appcelerator.com 7
http://edicolaeuropea.blogspot.com 4
http://static.slidesharecdn.com 3
http://www.techgig.com 2
http://staging.appcelerator.com 2
http://jsbin.com 1
More...

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

Titanium For New Developers Titanium For New Developers Presentation Transcript

  • Welcome To Titanium!
    • Kevin Whinnery
    • Engineer / Platform Evangelist
    • @kevinwhinnery
    http://www.appcelerator.com | @appcelerator
  • Agenda http://www.appcelerator.com | @appcelerator
    • Titanium Mobile Overview
    • Hello World and Project Walkthrough
    • Building Titanium Apps: Fundamentals
    • Where To Go From Here
    • Questions and Answers
  • About Me
    • Kevin Whinnery
    • Engineer/Platform Evangelist
    • http://kevinwhinnery.com
    • Twitter: @kevinwhinnery
    • E-Mail: [email_address]
    • Web developer by trade and training, lover of JavaScript and open web technologies in general
    http://www.appcelerator.com | @appcelerator
  • About Appcelerator
    • Open Source Software Company based in Mountain View, CA
    • Developing Titanium over two years
    • Enabling deployment of web technology in native applications across multiple screens
    http://www.appcelerator.com | @appcelerator
  • About You
    • Web developers
    • Flash developers
    • Designers
    • Desktop, iOS, Android, or Blackberry app developers
    • Targeting top mobile platforms (plus desktop)
    http://www.appcelerator.com | @appcelerator
  • Build Native?
    • Which platforms do you choose?
    • How many codebases do you want to (or even can you) support?
    • How long will it take to build native on N platforms?
    • How much effort will be duplicated?
    • What if you bet on the wrong platform?
    • Who writes the code? Hire out? Retrain/retool yourself or your devs?
    http://www.appcelerator.com | @appcelerator
  • The Web is an option...
    • ...and a darn good one - should often be targeted first
    • Mobile browsers are progressing fast and converging around WebKit
    • But there are limitations
    • Native apps are inherently more capable than web apps
    • Native apps run faster and smoother on resource constrained devices
    http://www.appcelerator.com | @appcelerator
  • Ideally, we want to build cross-platform native apps. http://www.appcelerator.com | @appcelerator
  • ...but we don’t want to “write once, suck everywhere”* http://www.appcelerator.com | @appcelerator *Loren Brichter, creator “Twitter for iPhone”/Tweetie
  • Doing Cross-Platform Right
    • Target multiple platforms from a single codebase
    • Apps must look and feel like they belong on the platform, meet user expectations
    • Apps need to perform like native
    • Bonus: Open source and extensible
    • Bonus: Use skills we already have
    http://www.appcelerator.com | @appcelerator
  • Enter Titanium http://www.appcelerator.com | @appcelerator Titanium is an open source framework for building native mobile or desktop applications using open web technologies (JavaScript, HTML and CSS)
  • Titanium Key Facts
    • Open Source (Apache 2.0)
    • Professional Services, SLA Support, Training, and Analytics available from Appcelerator
    • Titanium Platforms
    • Desktop: Win32, OS X, Linux
    • Mobile: iOS, Android, BlackBerry
    http://www.appcelerator.com | @appcelerator
  • Titanium Projects
    • Titanium Developer (1.2.2)
    • Titanium Mobile SDK (1.5.1)
    • Titanium Desktop SDK (1.1.0)
    • Versioned separately, different release schedules
    http://www.appcelerator.com | @appcelerator
  • Platform Features http://www.appcelerator.com | @appcelerator 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, Lightweight Key/Value Store, XHR Integrated Facebook Connect and YQL Local and streaming audio and video, media recording Extend Titanium with custom modules in native code Baked-in analytics APIs to measure results and behavior Develop and distribute your app for multiple platforms from a single tool
  • Who Uses Titanium?
    • NBC Universal
    • eBay/PayPal
    • Anheuser-Busch
    • MTV
    • Computer Sciences Corporation
    • 1000s of apps per month to the stores
    http://www.appcelerator.com | @appcelerator
  • Titanium Architecture
    • Desktop is HTML focused
    • Can use other scripting languages
    http://www.appcelerator.com | @appcelerator
    • Mobile: JavaScript interpreted at runtime
    • JavaScript API >> native APIs
  • Desktop App Composition
    • HTML/CSS inside native window chrome
    • All HTML/CSS/JS libraries in play
    • Ruby, Python, PHP access
    • Ajax Client
    http://www.appcelerator.com | @appcelerator
  • Demo: Hello World
    • Create a new Desktop App
    • Launch for current platform
    • Project structure
    http://www.appcelerator.com | @appcelerator
  • Okay, so Desktop is mostly a single-page HTML app running inside a supercharged Webkit browser. What does a mobile app look like? http://www.appcelerator.com | @appcelerator
  • A Simple Mobile App
    • Native UI widgets constructed via JavaScript
    • iOS-style view hierarchy (.add())
    • 60% of code is UI construction, 20% event handling, 20% biz logic
    http://www.appcelerator.com | @appcelerator
  • Typical App Composition
    • “ Windows” vs. “Views”
    • App types:
      • Tab Group
      • Single Window
      • Window Stack
    • Windows are like ‘pages’, views like ‘div’s
    http://www.appcelerator.com | @appcelerator
  • Demo: Hello World!
    • Creating a mobile project
    • Mobile project structure
    • Editing code, adding UI widgets to the app
    • Deploy to simulator
    http://www.appcelerator.com | @appcelerator
  • Demo: Kitchen Sink http://www.appcelerator.com | @appcelerator
    • Example Code
    • Living Reference Document
    • Demonstrates API coverage
    • github.com/appcelerator/KitchenSink
  • Where To Next?
    • Developer Resources
      • API docs, User Guides
      • Community Q&A
      • vimeo.com/appcelerator
      • IRC: #titanium_app (kwhinnery/cauld/fusion94) on irc.freenode.net
    • Pro Services
      • SLA Support
      • Full lifecycle development or partner matching
    http://www.appcelerator.com | @appcelerator
  • Stay Up To Date
    • Follow @appcelerator
    • Fan Us - facebook.com/appcelerator
    • Developer Blog
    • Corporate Blog
    • Appcelerator Crew:
      • @jhaynie, @donthorp, @marshall_law, @billdawson, @fusion94, @kevinwhinnery, @chadauld, @clinttredway, @tyrusaurus... (too many to count now!)
    http://www.appcelerator.com | @appcelerator
  • Questions? http://www.appcelerator.com | @appcelerator