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
Django Boston - 2011
Search
daniellindsley
February 01, 2012
Technology
4
270
Django Boston - 2011
A quick (but not so quick IRL) introduction to Haystack & Tastypie.
daniellindsley
February 01, 2012
Tweet
Share
More Decks by daniellindsley
See All by daniellindsley
The Unenviable Tutorial
daniellindsley
3
100
The March To 3
daniellindsley
1
130
How (Not) To Build An OSS Community
daniellindsley
1
240
Avoiding The Search Hall Of Shame
daniellindsley
3
410
API Design Tips
daniellindsley
14
3.9k
Building A Python-based Search Engine
daniellindsley
20
2.5k
RESTful APIs with Tastypie
daniellindsley
19
2.9k
Getting The Most Out Of Haystack
daniellindsley
5
230
Other Decks in Technology
See All in Technology
「Verify with Wallet API」を アプリに導入するために
hinakko
1
230
E2Eテスト設計_自動化のリアル___Playwrightでの実践とMCPの試み__AIによるテスト観点作成_.pdf
findy_eventslides
0
120
"複雑なデータ処理 × 静的サイト" を両立させる、楽をするRails運用 / A low-effort Rails workflow that combines “Complex Data Processing × Static Sites”
hogelog
3
2k
組織観点からIAM Identity CenterとIAMの設計を考える
nrinetcom
PRO
1
170
ユニットテストに対する考え方の変遷 / Everyone should watch his live coding
mdstoy
0
130
o11yで育てる、強い内製開発組織
_awache
3
120
Large Vision Language Modelを用いた 文書画像データ化作業自動化の検証、運用 / shibuya_AI
sansan_randd
0
100
GA technologiesでのAI-Readyの取り組み@DataOps Night
yuto16
0
270
英語は話せません!それでも海外チームと信頼関係を作るため、対話を重ねた2ヶ月間のまなび
niioka_97
0
120
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
11
77k
Where will it converge?
ibknadedeji
0
180
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
For a Future-Friendly Web
brad_frost
180
9.9k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Optimizing for Happiness
mojombo
379
70k
BBQ
matthewcrist
89
9.8k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Why Our Code Smells
bkeepers
PRO
339
57k
Practical Orchestrator
shlominoach
190
11k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
GraphQLとの向き合い方2022年版
quramy
49
14k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
Transcript
None
Hi.
I’m Daniel.
I run Toast Driven.
Haystack http://haystacksearch.org/
What’s Haystack? • Pluggable backends • Solr, Elasticsearch, Whoosh, Xapian
• Advanced features • Faceting, More Like This, Spatial • Looks/feels like Django’s API
How so? • SearchIndex looks like a Form:
None
No, squint harder.
How so? • SearchQuerySet looks like QuerySet
Why?
Why? Don’t Make Me Think
Why? Don’t Make Me Think
Demo-Time.
So that’s Haystack.
So that’s Haystack.
Now for something a little different...
Tastypie http://tastypieapi.org/
What Is Tastypie? • A REST framework for Django •
Extension by Design • Models (but not just Models) • Proper use of HTTP • Ideal for CRUD operations & beyond
Pie?
Pie? Pie? Pie? Pie? Pie? Pie? Pie? Pie?
He can’t haz. But you can!
Define A Resource
Hook Up The URLconf
Done.
What’d You Get? • Full GET / POST / PUT
/ DELETE / PATCH • Serialized in JSON / XML / YAML / bplist • Authentication • Filtering • Discovery Views • And more!
Demo-time.
HTTP 418
I’m Daniel Lindsley of Toast Driven @toastdriven http://toastdriven.com/
Photos: http://www.flickr.com/photos/strangejourney/3175383671/ http://www.peachpit.com/ShowCover.aspx?isbn=0321344758 http://corgiaddict.com/post/14272461379 http://www.flickr.com/photos/57928359@N08/5328229600/