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
0
170
Adapter Pattern
Brief overview of the adapter pattern in Ruby on Rails
Juanda Zapata
April 21, 2016
Tweet
Share
More Decks by Juanda Zapata
See All by Juanda Zapata
Principles of Visual Design
juanzuluaga
0
72
Maintainable CSS
juanzuluaga
0
82
Elixir 101 - The Erlang VM
juanzuluaga
5
330
UI Fundamentals for Programmers
juanzuluaga
0
210
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
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
18
8.7k
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
270
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
110
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
200
CSC305 Lecture 09
javiergs
PRO
0
310
マンガアプリViewerの大画面対応を考える
kk__777
0
260
CSC509 Lecture 07
javiergs
PRO
0
240
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.5k
React Nativeならぬ"Vue Native"が実現するかも?_新世代マルチプラットフォーム開発フレームワークのLynxとLynxのVue.js対応を追ってみよう_Vue Lynx
yut0naga1_fa
2
1k
What's new in Spring Modulith?
olivergierke
1
170
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
480
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
890
Agile that works and the tools we love
rasmusluckow
331
21k
Docker and Python
trallard
46
3.6k
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
How STYLIGHT went responsive
nonsquared
100
5.9k
Mobile First: as difficult as doing things right
swwweet
225
10k
Automating Front-end Workflow
addyosmani
1371
200k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
A better future with KSS
kneath
239
18k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
22k
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