12
presenting Build a native app with Javascript Wienke Giezeman &

bol.com Partner event 2013 - Presentatie Wienke Giezeman

Embed Size (px)

DESCRIPTION

Appcelerator - Build a native app with Javascript

Citation preview

Page 1: bol.com Partner event 2013 - Presentatie Wienke Giezeman

presentingBuild a native app with

Javascript"Wienke Giezeman"

&"

Page 2: bol.com Partner event 2013 - Presentatie Wienke Giezeman

Who  are  you?  

• Skills?  • Stuff?  • Tools?  

Page 3: bol.com Partner event 2013 - Presentatie Wienke Giezeman

Who  am  I?  Wienke  Giezeman  

2004   2013  

Page 4: bol.com Partner event 2013 - Presentatie Wienke Giezeman

The  main  advantages  of  Appcelerator?  

Speed  of  development  No  ObjecCve  C  or  Java  knowledge  required  

Yet  a  na-ve  app  Chances  for  cross  pla4orm  developement  

 

Page 5: bol.com Partner event 2013 - Presentatie Wienke Giezeman

Appcelerator  vs.  PhoneGap  Titanium  •  Na-ve  •  Works  with  Javascript  proxies    •  Cross  plaKorm  

–  iOS,  Android,  Web  

•  Language  –  JS  

•  Performance  •  Own  SDK  Titanium  Studio  •  PossibiliCes  to  integrate  na-ve  modules  

(module  appstore)  

PhoneGap  •  HTML  container  (UIWebView)  •  Many  plaKorms  

–  iOS,  Android,  BB,  Symbian,  Palm  

•  Languages  –  JS,  HTML,  CSS  

Page 6: bol.com Partner event 2013 - Presentatie Wienke Giezeman

Cross  PlaKorm  

Page 7: bol.com Partner event 2013 - Presentatie Wienke Giezeman

Marketplace  

Page 8: bol.com Partner event 2013 - Presentatie Wienke Giezeman

The  Beauty  of  Javascript  

&  

Page 9: bol.com Partner event 2013 - Presentatie Wienke Giezeman

The  Beauty  of  Javascript  

&  

var Person = Class.extend({! init: function(isDancing){! this.dancing = isDancing;! },! dance: function(){! return this.dancing;! }!});!var Ninja = Person.extend({! init: function(){! this._super( false );! },! dance: function(){! // Call the inherited version of dance()! return this._super();! },! swingSword: function(){! return true;! }!});!!var p = new Person(true);!p.dance(); // => true!!var n = new Ninja();!n.dance(); // => false!n.swingSword(); // => true!!// Should all be true!p instanceof Person && p instanceof Class &&!n instanceof Ninja && n instanceof Person && n instanceof Class!

alert(‘Bla!’);!

Page 10: bol.com Partner event 2013 - Presentatie Wienke Giezeman

What  do  you  need?  

•  Mac/Win/Linux  •  XCode  •  Android  SDK  •  Titanium  Studio  •  (Apple  Developers  SubscripCon)  

Page 11: bol.com Partner event 2013 - Presentatie Wienke Giezeman

Where  to  start?  

•  Javascript  -­‐  codeacademy.com  •  API  -­‐  h[p://developer.appcelerator.com/apidoc/mobile/latest  

•  KitchenSink  (Demo)  – Laat  van  alle  API  funcCes  een  voorbeeld  zien.  

•  Wiki  -­‐  h[ps://wiki.appcelerator.org/display/guides/Home  

Page 12: bol.com Partner event 2013 - Presentatie Wienke Giezeman

Hello  World  (Demo)