Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
Transcript
47 slides
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
More Decks by alunny
See All by alunny
PhoneGap Build @ PG Day
alunny
1
580
Weinre
alunny
2
170
Anatomy of an App
alunny
8
1.9k
Other Decks in Technology
See All in Technology
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
170
新規事業開発でのAWS活用成功談&失敗談! 〜新規事業開発を専門に行うRelicならではのAWS活用〜
amixedcolor
1
150
Kubernetes, Agones, WebRTC, GPU で作る クラウドゲーミング基盤を本番運用に乗せるまで
vivion
1
290
FPGAでアクティブセンシングがやりたくてカメラモジュールを自作した話
ryuz88
0
110
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
260
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.2k
Welcome JXL!
dynamis
0
350
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
340
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.6k
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
340
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
470
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
570
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
650
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The Pragmatic Product Professional
lauravandoore
37
7.5k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Designing Experiences People Love
moore
143
24k