Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PhoneGap Build Dev Experience
Search
alunny
April 26, 2012
Technology
260
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PhoneGap Build Dev Experience
PhoneGap and PhoneGap Build - the developer experience of using PG Build
alunny
April 26, 2012
More Decks by alunny
See All by alunny
PhoneGap Build @ PG Day
alunny
1
570
Weinre
alunny
2
170
Anatomy of an App
alunny
8
1.9k
Other Decks in Technology
See All in Technology
Terraform共通モジュールをチーム横断で“変えられる”運用へ ― リリースと適用の分離
kekke_n
1
3.2k
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
300
誤解だらけの開発生産性 / Myths and Misconceptions about Developer Productivity
i35_267
2
760
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
290
しぶいSRE: サーバから見えない障害にどう向き合うか。ラストワンマイルのデバッグ実践 / Shibui SRE
kanny
13
6.4k
公式ドキュメントの歩き方etc
coco_se
1
120
企業でAWS Organizationsを動かすための組織設計の考え方
nrinetcom
PRO
1
100
Gen3R: 3D Scene Generation Meets Feed-Forward Reconstruction
spatial_ai_network
0
130
OPENLOGI Company Profile for engineer
hr01
1
74k
AIコード生成×サプライチェーン攻撃 — PHPが直面する“二重の信頼問題
shinyasaita
0
170
アカウントが増えてからでは遅い? ~ マルチアカウント統制の勘所 ~
kenichinakamura
0
250
CIで使うClaude
iwatatomoya
0
290
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
Marketing to machines
jonoalderson
1
5.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Evolving SEO for Evolving Search Engines
ryanjones
0
240
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
360
YesSQL, Process and Tooling at Scale
rocio
174
15k
Believing is Seeing
oripsolob
1
170
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
590
Game over? The fight for quality and originality in the time of robots
wayneb77
1
220
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Transcript
PhoneGap Build Developing with Andrew Lunny, PhoneGap/Adobe Thursday, 26 April,
12
Me @alunny Computer Scientist Nitobi Software Adobe Systems Author Thursday,
26 April, 12
2007 Software Consultancy, Vancouver BC Doing most everything Thursday, 26
April, 12
also 2007 Thursday, 26 April, 12
mid 2008 Thursday, 26 April, 12
late 2008 iPhone then Android then BlackBerry Thursday, 26 April,
12
2009 onward iOS: XCode Android: Eclipse BlackBerry: Eclipse Winphone: Visual
Studio Thursday, 26 April, 12
2010 build.phonegap.com Thursday, 26 April, 12
Thursday, 26 April, 12
Thursday, 26 April, 12
PhoneGap ‣ install native SDKs ‣ install PhoneGap ‣ write
HTML, CSS, JS ‣ build native app with SDKs + PhoneGap Thursday, 26 April, 12
PhoneGap ‣ install native SDKs ‣ install PhoneGap ‣ write
HTML, CSS, JS ‣ build native app with SDKs + PhoneGap PhoneGap Build ‣ write HTML, CSS, JS ‣ upload your code ‣ download native apps Thursday, 26 April, 12
2011 Thursday, 26 April, 12
2011 Thursday, 26 April, 12
PhoneGap Thursday, 26 April, 12
Thursday, 26 April, 12
‣ xcode/java project ‣ platform-specific configuration and permissions ‣ icons/splash
screen etc native app Thursday, 26 April, 12
FAILURES AHEAD Thursday, 26 April, 12
I don’t have a Mac adb isn’t in my path
Where is my project template? How do I install ant? Thursday, 26 April, 12
‣ platform-init logic ‣ loads chromeless browser ‣ loads your
code main class Thursday, 26 April, 12
‣ “www” directory bundled in app ‣ “index.html” opens ‣
“cordova-1.6.1.js” inserted your code Thursday, 26 April, 12
‣ bridge b/w webview and native ‣ access to stock
native APIs ‣ different on different platforms cordova/phonegap.js Thursday, 26 April, 12
FAILURES AHEAD Thursday, 26 April, 12
jQuery stopped working it stopped working when I upgraded this
code works on Android, but not iOS Where is my JS file? Thursday, 26 April, 12
PhoneGap Build Thursday, 26 April, 12
PhoneGap Build BETA Thursday, 26 April, 12
‣ native SDK finagling ‣ ambiguous JS-platform dependency ‣ very
leaky abstractions point to the part that hurts Thursday, 26 April, 12
‣ no native SDKs ‣ we manage the framework (JS
& native) ‣ you focus on your code PhoneGap Build Thursday, 26 April, 12
some numbers 100000 apps 50000 users 60000 builds/week over 6
platforms Thursday, 26 April, 12
https://build.phonegap.com/people/sign_up Thursday, 26 April, 12
Thursday, 26 April, 12
‣ upload an archive/index.html ‣ create a new git repository
‣ pull from a git/svn repo url creating an app Thursday, 26 April, 12
‣ write your app ‣ zip it up and upload
‣ simplest way to get started upload archive or index Thursday, 26 April, 12
‣ creates
[email protected]
endpoint ‣ git push your private code
to there create a new git repository Thursday, 26 April, 12
‣ you push your code to public repo ‣ we
pull it down ‣ let us know when to update pull from a git/svn repo Thursday, 26 April, 12
Thursday, 26 April, 12
Thursday, 26 April, 12
App Configuration Thursday, 26 April, 12
Thursday, 26 April, 12
https://build.phonegap.com/docs/config-xml Thursday, 26 April, 12
Thursday, 26 April, 12
Code Signing Thursday, 26 April, 12
‣ sign everything ‣ uses certificate and private key ‣
certificate must match profile ‣ profile must match all devices Signing on iOS Thursday, 26 April, 12
‣ debug (dev) builds use generic keystore ‣ release builds
use private key + keystore ‣ no device restrictions Signing on Android Thursday, 26 April, 12
‣ sign everything on RIM’s servers* ‣ no device restrictions
‣ PGB: signs dev builds for you, requires cert for release builds Signing on BlackBerry *this is an insane/terrible decision Thursday, 26 April, 12
Thursday, 26 April, 12
DEMOS AHEAD Thursday, 26 April, 12