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
260
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
95
The March To 3
daniellindsley
1
120
How (Not) To Build An OSS Community
daniellindsley
1
230
Avoiding The Search Hall Of Shame
daniellindsley
3
390
API Design Tips
daniellindsley
14
3.8k
Building A Python-based Search Engine
daniellindsley
20
2.5k
RESTful APIs with Tastypie
daniellindsley
19
2.8k
Getting The Most Out Of Haystack
daniellindsley
5
220
Other Decks in Technology
See All in Technology
EDRの検知の仕組みと検知回避について
chayakonanaika
12
5.2k
AIエージェント開発のノウハウと課題
pharma_x_tech
8
4.5k
クラウド関連のインシデントケースを収集して見えてきたもの
lhazy
9
1.9k
エンジニアリング価値を黒字化する バリューベース戦略を用いた 技術戦略策定の道のり
kzkmaeda
7
3.3k
AWSではじめる Web APIテスト実践ガイド / A practical guide to testing Web APIs on AWS
yokawasa
8
760
IAMのマニアックな話2025
nrinetcom
PRO
6
1.4k
ディスプレイ広告(Yahoo!広告・LINE広告)におけるバックエンド開発
lycorptech_jp
PRO
0
530
Oracle Database Technology Night #87-1 : Exadata Database Service on Exascale Infrastructure(ExaDB-XS)サービス詳細
oracle4engineer
PRO
1
210
開発者のための FinOps/FinOps for Engineers
oracle4engineer
PRO
2
230
リクルートのエンジニア組織を下支えする 新卒の育成の仕組み
recruitengineers
PRO
1
150
RayでPHPのデバッグをちょっと快適にする
muno92
PRO
0
190
AI自体のOps 〜LLMアプリの運用、AWSサービスとOSSの使い分け〜
minorun365
PRO
9
800
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Typedesign – Prime Four
hannesfritz
41
2.5k
Docker and Python
trallard
44
3.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
520
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
The Cult of Friendly URLs
andyhume
78
6.2k
4 Signs Your Business is Dying
shpigford
183
22k
Code Reviewing Like a Champion
maltzj
521
39k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
BBQ
matthewcrist
87
9.5k
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/