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 joys and pains of using Pyramid
Search
PyCon Canada
August 10, 2013
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The joys and pains of using Pyramid
Éric Araujo & Hadrien David
PyCon Canada
August 10, 2013
More Decks by PyCon Canada
See All by PyCon Canada
Job Security (in Python) (Christopher Neugebauer)
pyconca
2
550
Sad Panda Needs a Hug (Nina Zakharenko)
pyconca
0
490
Shopify Checkout (Chris Saunders)
pyconca
0
260
Saturday Morning BreakfastSerial: Hacking Arduinos in Python (Swift)
pyconca
2
180
Skyfield and 15 Years of Bad APIs (Brandon Rhodes)
pyconca
0
450
Planting Open Source Seeds (Kenneth Reitz)
pyconca
0
170
Why Open Source Works (Alex Gaynor)
pyconca
0
240
How to learn Python in 5 Minutes (Daniel Moniz)
pyconca
0
1.1k
Sunday Morning Keynote (Karen Brennan)
pyconca
0
340
Other Decks in Programming
See All in Programming
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
5.9k
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
230
dRuby over BLE
makicamel
2
340
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
3
470
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
250
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
5.8k
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
670
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
130
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
230
Oxcを導入して開発体験が向上した話
yug1224
4
310
Featured
See All Featured
Done Done
chrislema
186
16k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
150
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
400
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Practical Orchestrator
shlominoach
191
11k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
The Curious Case for Waylosing
cassininazir
1
390
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
210
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Accessibility Awareness
sabderemane
1
140
The SEO Collaboration Effect
kristinabergwall1
1
480
Believing is Seeing
oripsolob
1
140
Transcript
The joys and pains of using Pyramid Éric Araujo &
Hadrien David — PyCon CA 2013
No opinions
No opinions → HTTP handling → any persistence, format, templating
→ you must choose
Advanced dispatch
Advanced dispatch → predicates on request → predicates on authentication
→ complexity → authentication system not as flexible
Compose & extend
Compose & extend → break apart components → customize framework
→ reuse whole app → Pyramid extensions != WSGI
Settings management
Settings management → config files + code entry point →
environment variables → not in scope: system configuration → Paste issues
The power of traversal
The power of traversal → hierarchical API in docs and
code → URI = traversal HTTP methods = views domain logic = model → less common and simple than dispatch
Conclusion
Questions?
Credits ⋅Examples on https://bitbucket.org/hadrien/pyconca ⋅ http://www.flickr.com/photos/jonmcgovern ⋅ http://www.officescope.com/blog/wp-content/uploads/2013/07/Puzzle- pieces.jpg ⋅
http://www.nytimes.com/2010/04/22/books/22library.html ⋅ http://www.maritimenz.govt.nz/images/Incident-area/Rena7.jpg ⋅ http://www.treetopquest.com/wp-content/uploads/2012/06/Trees.jpg ⋅ http://wallpaperfast.com/wp-content/uploads/2013/06/Mexico-Mayan- Pyramid-Desktop-Wallpaper.jpg ⋅ https://1-media-cdn.foolz. us/ffuuka/board/tg/image/1354/26/1354261439950.jpg