Extending titanium

  • 1,157 views
Uploaded on

Extending and Understand Titanium Mobile

Extending and Understand Titanium Mobile

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,157
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
26
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Abraham Barrera Desarrollador about.me/abrahambarrera Extendiendo Titanium Mobile
  • 2. :Dc E x tendiendo Titanium
  • 3. :Dc E n tendiendo Titanium
  • 4. Qué y Cuánto Sabemos
  • 5. :Dc Cool !
  • 6. Muiltiplataforma
  • 7.  
  • 8.  
  • 9.  
  • 10.  
  • 11.  
  • 12.  
  • 13.  
  • 14. The important is Here !
  • 15. :Dc Bridge Javascript to Java and Objective-C
  • 16. Front-End Compiler
  • 17. 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
  • 18.  
  • 19. Javascript To Objective-C (iOS) :Dc
  • 20. JavaScriptCore Webkit :Dc http://opensource.apple.com/source/JavaScriptCore/ http://www.phoboslab.org/log/2011/06/javascriptcore-project-files-for-ios
  • 21. 1. Genera un proyecto XCode :Dc
  • 22. 2. Serializar código Javascript a base64 :Dc
  • 23. 3. Embebe código Serializado en los archivos “C” :Dc
  • 24. 4. Compila código nativo con xcodebuild :Dc
  • 25. 5. Interpreta en Runtime el código serializado con JavaScriptCore :Dc
  • 26. Javascript To Java (Android) :Dc
  • 27. Rhino JSC Compiler Mozilla :Dc http://www.mozilla.org/rhino/jsc.html
  • 28. 1. Genera un proyecto Android (eclipse) :Dc
  • 29. 2. Compila el código Javascript con JSC Compiler Dc
  • 30. 3. Genera APK Dc
  • 31. :Dc E n tendemos Titanium
  • 32. :Dc E x tendemos Titanium
  • 33. Titanium Modules :Dc
  • 34.  
  • 35. Módulo: Set de APIS
  • 36. Proxys ViewProxys Views Modules
  • 37. Proxys ViewProxys Views Modules
  • 38. Proxys ViewProxys Views Modules
  • 39. Proxys ViewProxys Views Modules
  • 40. Proxys ViewProxys Views Modules
  • 41. Hands on Lab
  • 42. Defina un nombre SIN “-”
  • 43. Defina un nombre SIN “-” #JavascriptFail
  • 44. # titanium create --platform=iphone --type=module --dir=./ --name=mimodulo --id=org.adamantio.mimodulo
  • 45. # cd mimodulo
  • 46. Classes / Assets/ build.py Example/ mimodulo.xcodeproj manifest timodule.xml
  • 47. version: 0.1 description: Mi modulo author: Abraham Barrera license: Apache copyright: Copyright (c) 2011 manifest
  • 48. # open mimodulo .xcodeproj
  • 49. Corregir Archivo build.py Markdown por markdown2
  • 50. # ./build.py # titanium run
  • 51. # cp org.adamantio.mimodulo-0.1.zip /Library/Application Support/Titanium/
  • 52. # cd /Library/Application Support/Titanium/ # unzip org.adamantio.mimodulo-iphone-0.1.zip
  • 53. Usarlo en nuestra propia aplicación Titanium
  • 54. <modules> <module version=&quot;0.1&quot;> org.adamantio.mimodulo </module> </modules> tiapp.xml
  • 55. var elmodulo = require(' org.adamantio.mimodulo '); elmodulo. hacer_algo (); app.js
  • 56. Titanium Modules (bonus track) :Dc
  • 57. Titanium Modules :Dc
  • 58. Apple Storekit Barcode reader Magtek credit card reader Paypal SMS TV Out Omniture Analytics
  • 59. Appcelerator :Dc
  • 60. Titanium Mobile OPENSOURCE PROJECT :Dc
  • 61. Internal Devs :Dc
  • 62. thousands of developers (QA)
  • 63. Titanium Mobile BUY CERTIFIED “ NO OPENSOURCE ” CODE :Dc
  • 64. Titanium Mobile EPIC “ WIN ” TO APPCELERATOR :Dc
  • 65. Titanium Mobile MEGA “ FAIL ” TO COMMUNITY :Dc
  • 66. Appcelerator Titanium :
  • 67. Más fuerte que el Titanium
  • 68. Adamantio
  • 69. developer. adamantio.org :Dc
  • 70. groups.google.com/group/ adamantio-announce :Dc
  • 71. groups.google.com/group/ adamantio-devel :Dc
  • 72. Abraham Barrera C. Desarrollador http://about.me /abrahambarrera