• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Titanium + Ruby: The good stuff

Titanium + Ruby: The good stuff






Total Views
Views on SlideShare
Embed Views



3 Embeds 74

http://www.slideshare.net 43
http://forum.rubyonrails.pl 28
http://www.linkedin.com 3



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.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Titanium + Ruby: The good stuff Titanium + Ruby: The good stuff Presentation Transcript

    • Titanium + Ruby, the good stuff.
      • Using the language(s) you know and love to deliver cross-platform, native desktop apps.
    • About Me
        • @marshall_law
        • http://www.arcaner.com
        • [email_address]
        • #titanium_app, #titanium_dev on irc.freenode.net
      i'm not a morning person
    • Titanium.kind_of?
        • Titanium Desktop: Write native desktop apps using web technologies
          • UI with HTML5, CSS, Canvas. The best of the open web
          • Code your entire app in Javascript, Ruby, Python, PHP, whatever. Languages can be intermixed automatically.
          • Native desktop functionality at your fingertips. Titanium.* APIs are available in all languages
          • Windows (XP/SP2 -> 7), OSX (10.5->10.6, Universal), Linux (Debian based distros, Fedora, SuSE)
        • Titanium Mobile: Native mobile apps for iPhone and Android using HTML5/CSS/Javascript
        • Titanium Developer: the one-stop deployment and testing tool for Titanium
          • Create and manage Titanium projects
          • Launch Titanium apps from source
          • Package apps for all 3 desktop platforms (using the cloud)
    • Project Info
      • Open Source, Apache 2.0 License
        • http://github.com/appcelerator
        • #titanium_app on irc.freenode.net
        • @appcelerator
        • http://www.appcelerator.com
        • http://support.appcelerator.com
        • current release 0.6.0, GA coming mid-Sept.
    • Motivation
        • Adobe AIR
        • Single Site Browsers (Fluid, Prizm, etc)
        • Cross platform GUI toolkits (Qt, wxWidgets, XUL, etc)
        • Dynamic Languages (Ruby, Python, Javascript, etc)
        • Binding layers (Jython, Rhino, JavaScriptCore, etc)
        • Next gen web tech: HTML5, Gears, CSS3
      and tons of caffeine
    • Ruby Integration (hot)
        • Mix and match Ruby with Javascript (or other languages we support)
          • Manipulate the DOM directly with Ruby
          • Call Ruby APIs from Javascript
          • Rapidly prototype code
        • A Ruby GUI that doesn't require you to learn a whole new UI
          • RubyCocoa, Gtk/Ruby, Shoes, etc.. all very UI specific
          • You probably already know HTML+CSS+DOM (right?)
          • You still get native integration with Desktop services (full Titanium API availability)
    • Titanium.instance_eval "self" #let's wet your appetite
    • Titanium APIs
        • UI: Total control over desktop windows, native menus, the tray, the OSX dock, and more.
        • Process: Spawn processes, control Process I/O
        • Filesystem: Full access and control of the filesystem
        • Database: Synchronous DB API (SQLite)
        • Desktop: open apps, URLs, take screenshots
        • Network: Native sockets, server sockets, http client / server, IRC client
        • Monkey: Userscript support
        • Notifications: Create native notifications using Growl, Snarl, or fallback using HTML/CSS
        • Workers: multi-threaded web workers (see HTML5)
        • ... And more
    • puts Titanium.internals
        • Based on the Kroll microkernel (C++)
          • http://github.com/appcelerator/kroll
        • From the ground up, written with modules (extensions) in mind.
          • All of Titanium's APIs are delivered via modules
          • Extend Titanium to your hearts content with any language we support (including C++)
        • Comprehensive language support:
          • Javascript (WebKit / close to trunk -- blazing fast)
          • Ruby 1.8.6 (1.9 with GVL coming soon)
          • Python 2.5.4 (2.6 coming soon)
          • PHP 5.3.1 (in development)
          • Lua (in development)
    • Quicksnap a screenshot snapper/cropper written in Ruby