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
Adapter Pattern
Search
Juanda Zapata
April 21, 2016
Programming
170
0
Share
Adapter Pattern
Brief overview of the adapter pattern in Ruby on Rails
Juanda Zapata
April 21, 2016
More Decks by Juanda Zapata
See All by Juanda Zapata
Principles of Visual Design
juanzuluaga
0
76
Maintainable CSS
juanzuluaga
0
85
Elixir 101 - The Erlang VM
juanzuluaga
5
330
UI Fundamentals for Programmers
juanzuluaga
0
270
UI fundamentals for programmers
juanzuluaga
0
390
Programming in paradise
juanzuluaga
1
140
Intro to Ruby
juanzuluaga
1
700
Other Decks in Programming
See All in Programming
ふつうのFeature Flag実践入門
irof
6
3.2k
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
10
2.9k
Claspは野良GASの夢をみるか
takter00
0
130
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
2
280
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
130
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
220
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
380
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
5
1k
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
730
Moments When Things Go Wrong
aurimas
3
120
AIとRubyの静的型付け
ukin0k0
0
330
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
150
Featured
See All Featured
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
210
A Tale of Four Properties
chriscoyier
163
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
540
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Color Theory Basics | Prateek | Gurzu
gurzu
0
320
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
160
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Making Projects Easy
brettharned
120
6.6k
Documentation Writing (for coders)
carmenintech
77
5.3k
Transcript
The Adapter Pattern
@juanzuluaga 6+ rails programming
why?
None
maintainable code
what is the adapter pattern?
None
None
None
an adapter make things work AFTER they are designed
example
None
None
None
None
makes calls to an object hidden inside
an object that does everything that we need but with
the wrong interface
they exist to soak up the differences between interfaces that
we need and objects that we have
in the real world
active record
ActiveRecord Database MySqlAdapter Postgres Sqlite
None