Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Getting Feature Focused
Ryan Cromwell
October 30, 2012
Programming
2
69
Getting Feature Focused
Experiences build an application organized by feature rather than architecture.
Ryan Cromwell
October 30, 2012
Tweet
Share
More Decks by Ryan Cromwell
See All by Ryan Cromwell
cromwellryan
101
5.9k
cromwellryan
1
170
cromwellryan
4
200
cromwellryan
5
210
cromwellryan
0
120
cromwellryan
0
64
cromwellryan
2
580
cromwellryan
2
380
Other Decks in Programming
See All in Programming
malvinstn
1
650
fkubota
1
400
e10dokup
0
450
hanhan1978
0
300
canon1ky
3
350
viteinfinite
0
200
yosuke_furukawa
PRO
14
3.9k
ajstarks
2
550
azdaroth
0
170
line_developers_tw2
0
130
makicamel
1
180
atskimura
0
300
Featured
See All Featured
pedronauck
652
110k
shlominoach
176
7.4k
orderedlist
PRO
329
35k
chrislema
173
14k
colly
66
3k
danielanewman
1
480
samanthasiow
56
6.3k
brettharned
93
3k
bkeepers
321
53k
morganepeng
17
1.1k
eitanlees
111
9.9k
keithpitt
401
20k
Transcript
Feature Focused A Be.er Applica2on Structure
• Coder • Agile Coach • Scrum.org Trainer
Who am I? Ryan Cromwell
travel + twins = crazy person
where would you go to… update the search algorithm?
add favorite products? one click checkout only show in-‐stock products?
I don’t even like my mouse. My mouse was
crying… omg!
architecture rant bit.ly/unclebobarch bit.ly/screamarch
• Release Reuse • Common Closure • Common
Reuse • Acyclic Dependencies • Stable Dependencies • Stable Abstrac2ons Forgo%en SOLID principals What you hear about • Single Responsibility • Open/Closed • Liskov Subs2tu2on • Interface Segrega2on • Dependency Inversion
common closure Classes that change together are packaged together.
h.p://bit.ly/PrincOOD
• Tasking • Chat (XMPP) Feature Themes walk the
walk Context • Air Force • Old: Thick Client • New: Single Page App • HTML5(ish) + Javascript • Java
Why call them modules? S2ll a lot of noise
spot the feature?
Focus Drill into chat feature Focus
other effects • Conven2ons Within Features • Responsibility Viola2ons
Obvious • Ramp up • Small, Simple Interfeature Collabora2on “Ah consistency, the path to simplicity and the bane of innova6on. Choose wisely” ~ me, on twi<er
what‘s next? • Server + Client side-‐by-‐side (i.e. Controllers)
• CSS/images • Requirejs + unit tes2ng = painful • Frameworks/Tooling
thanks! @cromwellryan h.p://cromwellhaus.com ryan@cromwellhaus.com