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
2
230
PhoneGap Build Dev Experience
PhoneGap and PhoneGap Build - the developer experience of using PG Build
alunny
April 26, 2012
Tweet
Share
More Decks by alunny
See All by alunny
PhoneGap Build @ PG Day
alunny
1
500
Weinre
alunny
2
140
Anatomy of an App
alunny
8
1.9k
Other Decks in Technology
See All in Technology
[Oracle TechNight#85] Oracle Autonomous Databaseを使ったAI活用入門
oracle4engineer
PRO
1
110
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
300
生成AIのガバナンスの全体像と現実解
fnifni
1
210
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
190
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
27
23k
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
280
2024年にチャレンジしたことを振り返るぞ
mitchan
0
150
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
3年でバックエンドエンジニアが5倍に増えても破綻しなかったアーキテクチャ そして、これから / Software architecture that scales even with a 5x increase in backend engineers in 3 years
euglena1215
9
3.6k
型情報を用いたLintでコード品質を向上させる
sansantech
PRO
2
140
メンタル面でもつよつよエンジニアになる/登壇資料(井田 献一朗)
hacobu
0
120
ずっと昔に Star をつけたはずの思い出せない GitHub リポジトリを見つけたい!
rokuosan
0
160
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
A better future with KSS
kneath
238
17k
The Cost Of JavaScript in 2023
addyosmani
46
7k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
Code Reviewing Like a Champion
maltzj
521
39k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
The Invisible Side of Design
smashingmag
298
50k
Why Our Code Smells
bkeepers
PRO
335
57k
Faster Mobile Websites
deanohume
305
30k
Scaling GitHub
holman
459
140k
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