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
The Passion of Lazy - Enterprise Mobile App Des...
Search
Patrick Seda
February 17, 2016
Technology
0
2.2k
The Passion of Lazy - Enterprise Mobile App Design Patterns
Patrick Seda
February 17, 2016
Tweet
Share
More Decks by Patrick Seda
See All by Patrick Seda
The API of Your Company Culture
pxtrick
3
970
Lightning Talk - Enhancing Vue and Vuex for Complex Application State
pxtrick
1
1.1k
Swift - Beyond Beginner
pxtrick
0
1.2k
Crossing the Chasm of Swift
pxtrick
0
1.4k
Architecting Your Project with a Finite-State Machine
pxtrick
1
2.1k
Your Code is Terrible (I Love It!)
pxtrick
0
1.2k
An Introduction to Location-Based Technologies (for Business & Marketing)
pxtrick
0
600
10 Tips for Kickass Enterprise Mobile Apps
pxtrick
0
1k
Making Mobile Games (A presentation for the Girl Scouts)
pxtrick
1
690
Other Decks in Technology
See All in Technology
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
460
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
530
Qiita埋め込み用スライド
naoki_0531
0
5k
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
170
ハイテク休憩
sat
PRO
2
150
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
260
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
120
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
230
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
200
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
170
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Navigating Team Friction
lara
183
15k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
BBQ
matthewcrist
85
9.4k
Visualization
eitanlees
146
15k
Speed Design
sergeychernyshev
25
670
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Optimising Largest Contentful Paint
csswizardry
33
3k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Transcript
Enterprise Mobile App Design Patterns The Passion of Lazy DEVNEXUS
Atlanta – February 17, 2016
Patrick Seda @pxtrick • Independent Mobile App Architect • 25+
Years as a Software Professional • 6+ Years in Mobile Development • Apps: Enterprise to Children’s games
Agenda: - Discuss my “Laziness” - 8 Design Patterns -
Call to action
The longer I work on this <Project> ... The less
effort I Want to spend “Lazy”
The Passion of Lazy Quality
Additional Notes and Illustrations Design Excellence Patrick Seda Defining Moment
(number 1) January 15, 1990: Crash of the entire AT&T long-distance network
Additional Notes and Illustrations Design Excellence Patrick Seda Defining Moment
(number 2)
Additional Notes and Illustrations Design Excellence Patrick Seda Design Patterns
Additional Notes and Illustrations Design Excellence Patrick Seda Christopher Alexander
PATTERN NAME: Solution: Motivation: Lean Mobile Data Monstrous legacy data
Create new endpoints specifically targeting your EXACT mobile needs
Additional Notes and Illustrations Design Excellence Patrick Seda Lean Mobile
Data Legacy Web Service Application Context UI for data presentation Data /endpoint
Additional Notes and Illustrations Design Excellence Patrick Seda Lean Mobile
Data IMPROVED Web Service Application Context /endpoint UI for data presentation /endpoint2 Data
PATTERN NAME: Solution: Motivation: App Defines Api Impedance mismatch with
data Define the structure the app wants, then write the API to match
Additional Notes and Illustrations Design Excellence Patrick Seda App Defines
API IMPROVED Web Service Application Context /endpoint UI for data presentation /endpoint2 Data Defined by the app
PATTERN NAME: Solution: Motivation: Decoupled Navigation Complex navigation Buttons become
stupid, delegate all behavior to a mediating controller
PATTERN NAME: Solution: Motivation: Datasource Strategies Swappable data sources Hide
data sources behind proxy objects, each of which is a swappable Strategy
Additional Notes and Illustrations Design Excellence Patrick Seda Datasource Strategies
Application Context HTTP / XHR Web Service WS Proxy Mock WS Proxy Mock Data Speakers Processing & UI Render /speakers getSpeakers() getSpeakers()
PATTERN NAME: Solution: Motivation: Tap Mutex Deviations from intended UX
Prevent users from misusing the UI by disallowing asynchronous events
Additional Notes and Illustrations Design Excellence Patrick Seda Tap Mutex
Speakers Speaker Details Application Context Assemble, Create, & Render Navigation Callback
PATTERN NAME: Solution: Motivation: No Harsh Waiting Inconsistent wait times
Don’t allow activity indicators to exist for short durations, set a minimum lifetime
PATTERN NAME: Solution: Motivation: Client-side Session An app is not
a website Introduce a session timeout within the app, track UI interaction, not server hits
PATTERN NAME: Solution: Motivation: Lifecycle Gatekeeper OS doesn’t understand your
app Provide a single entry point for app state events, define dispatch behavior
Additional Notes and Illustrations Design Excellence Patrick Seda Lifecycle Gatekeeper
iOS Android
Additional Notes and Illustrations Design Excellence Patrick Seda Lifecycle Gatekeeper
PAUSE Handler RESUME Handler Application Context OS – App State Machine RESUME Handler Lifecycle Gatekeeper RESUME
The Passion of Lazy Quality
Call To Action
DEVNEXUS Atlanta – February 17, 2016 Thank You
Patrick Seda @pxtrick
[email protected]
linkedin.com/in/patrickseda speakerdeck.com/pxtrick