Extending titanium
Upcoming SlideShare
Loading in...5
×
 

Extending titanium

on

  • 1,472 views

Extending and Understand Titanium Mobile

Extending and Understand Titanium Mobile

Statistics

Views

Total Views
1,472
Views on SlideShare
1,472
Embed Views
0

Actions

Likes
1
Downloads
26
Comments
0

0 Embeds 0

No embeds

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

Extending titanium Extending titanium Presentation Transcript

  • Abraham Barrera Desarrollador about.me/abrahambarrera Extendiendo Titanium Mobile
  • :Dc E x tendiendo Titanium
  • :Dc E n tendiendo Titanium
  • Qué y Cuánto Sabemos
  • :Dc Cool !
  • Muiltiplataforma
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  • The important is Here !
  • :Dc Bridge Javascript to Java and Objective-C
  • Front-End Compiler
  • generate the appropriate platform-specific native code, native project (if necessary) and build any specific code that is necessary to compile Titanium for a given platform compiler.. Bla bla bla bla Blablablab bla bla blaaaa Bla bl b bla bla blblblblbba
  •  
  • Javascript To Objective-C (iOS) :Dc
  • JavaScriptCore Webkit :Dc http://opensource.apple.com/source/JavaScriptCore/ http://www.phoboslab.org/log/2011/06/javascriptcore-project-files-for-ios
  • 1. Genera un proyecto XCode :Dc
  • 2. Serializar código Javascript a base64 :Dc
  • 3. Embebe código Serializado en los archivos “C” :Dc
  • 4. Compila código nativo con xcodebuild :Dc
  • 5. Interpreta en Runtime el código serializado con JavaScriptCore :Dc
  • Javascript To Java (Android) :Dc
  • Rhino JSC Compiler Mozilla :Dc http://www.mozilla.org/rhino/jsc.html
  • 1. Genera un proyecto Android (eclipse) :Dc
  • 2. Compila el código Javascript con JSC Compiler Dc
  • 3. Genera APK Dc
  • :Dc E n tendemos Titanium
  • :Dc E x tendemos Titanium
  • Titanium Modules :Dc
  •  
  • Módulo: Set de APIS
  • Proxys ViewProxys Views Modules
  • Proxys ViewProxys Views Modules
  • Proxys ViewProxys Views Modules
  • Proxys ViewProxys Views Modules
  • Proxys ViewProxys Views Modules
  • Hands on Lab
  • Defina un nombre SIN “-”
  • Defina un nombre SIN “-” #JavascriptFail
  • # titanium create --platform=iphone --type=module --dir=./ --name=mimodulo --id=org.adamantio.mimodulo
  • # cd mimodulo
  • Classes / Assets/ build.py Example/ mimodulo.xcodeproj manifest timodule.xml
  • version: 0.1 description: Mi modulo author: Abraham Barrera license: Apache copyright: Copyright (c) 2011 manifest
  • # open mimodulo .xcodeproj
  • Corregir Archivo build.py Markdown por markdown2
  • # ./build.py # titanium run
  • # cp org.adamantio.mimodulo-0.1.zip /Library/Application Support/Titanium/
  • # cd /Library/Application Support/Titanium/ # unzip org.adamantio.mimodulo-iphone-0.1.zip
  • Usarlo en nuestra propia aplicación Titanium
  • <modules> <module version=&quot;0.1&quot;> org.adamantio.mimodulo </module> </modules> tiapp.xml
  • var elmodulo = require(' org.adamantio.mimodulo '); elmodulo. hacer_algo (); app.js
  • Titanium Modules (bonus track) :Dc
  • Titanium Modules :Dc
  • Apple Storekit Barcode reader Magtek credit card reader Paypal SMS TV Out Omniture Analytics
  • Appcelerator :Dc
  • Titanium Mobile OPENSOURCE PROJECT :Dc
  • Internal Devs :Dc
  • thousands of developers (QA)
  • Titanium Mobile BUY CERTIFIED “ NO OPENSOURCE ” CODE :Dc
  • Titanium Mobile EPIC “ WIN ” TO APPCELERATOR :Dc
  • Titanium Mobile MEGA “ FAIL ” TO COMMUNITY :Dc
  • Appcelerator Titanium :
  • Más fuerte que el Titanium
  • Adamantio
  • developer. adamantio.org :Dc
  • groups.google.com/group/ adamantio-announce :Dc
  • groups.google.com/group/ adamantio-devel :Dc
  • Abraham Barrera C. Desarrollador http://about.me /abrahambarrera