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
Refactoring Django Applications (pt-BR)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Renato dos Santos Oliveira
October 18, 2014
Technology
110
2
Share
Refactoring Django Applications (pt-BR)
Palestra apresentada na RUPY Natal 2014.
http://natal.rupy.com.br
Renato dos Santos Oliveira
October 18, 2014
More Decks by Renato dos Santos Oliveira
See All by Renato dos Santos Oliveira
Django Views: Boas Práticas
renatooliveira
0
320
Testes pythonicos com Py.test
renatooliveira
0
190
Pythonic tests with Py.test
renatooliveira
0
180
Django Migrations v1.0
renatooliveira
2
84
Other Decks in Technology
See All in Technology
20260513_生成AIを専属DSに_AI分析結果の検品テクニック_ハンズオン_交通事故データ
doradora09
PRO
0
220
Claude Code / Codex / Kiro に AWS 権限を 渡すとき、何を設計すべきか
k_adachi_01
5
1.3k
「背中を見て育て」からの卒業 〜専門技術としてのテスト設計を軸に、品質保証のバトンを繋ぐ〜 #genda_tech_talk
nihonbuson
PRO
3
1.3k
毎日の作業を Claude Code 経由にしたら、 ノウハウがコードになった
kossykinto
1
1.3k
LookerとADKで作る社内AIエージェント
chanyou0311
0
140
AIと乗り切った1,500ページ超のヘルプサイト基盤刷新とさらにその先の話
mugi_uno
2
340
全社統制を維持しながら現場負担をどう減らすか〜プラットフォームチームとセキュリティチームで進めたSecurity Hub活用によるAWS統制の見直し〜/secjaws-security-hub-custom-insights
mhrtech
1
440
小さいVue.jsを30分で作る
hal_spidernight
0
150
(きっとたぶん)人材育成や教育のような何かの話
sejima
0
730
世界の中心でApp Runnerを叫ぶ FINAL
tsukuboshi
0
260
鹿野さんに聞く!CSSの最新トレンド Ver.2026
tonkotsuboy_com
6
3k
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.4k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
360
GitHub's CSS Performance
jonrohan
1032
470k
Designing for Performance
lara
611
70k
The SEO identity crisis: Don't let AI make you average
varn
0
460
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Google's AI Overviews - The New Search
badams
0
1k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
370
Scaling GitHub
holman
464
140k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
340
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
A Soul's Torment
seathinner
6
2.8k
Transcript
Refatoração de Aplicações Django Renato Oliveira
Quem Sou eu? Renato Oliveira Recife, PE Co-Fundador e Dev
@ Labcodes Diretor de TI @ APyB Organizador da Python Brasil [10]
Não falarei de performance!
Para entender um pouco mais sobre performance, um post ótimo
do Fernando Rocha sobre isto http://livingintheshell.com/django- performance-tips-and-tricks.html
DRY!
“Every piece of knowledge must have a single, unambiguous, authoritative
representation within a system.”
Forms Comumente usado para Validação, Relação entre objetos e renderização
de elementos.
Forms
Forms
Forms
Forms
Forms
ModelForms
Forms
Engorde seus models Mas não tanto
None
None
Managers
Managers
Managers
Manager ou Método?
None
Class-Based Views “Views são callables que recebem um request e
retornam um response.”
Class-Based Views
Class-Based Views
Class-Based Views
Class-Based Views
Class-Based Views
Mixins
Template Context Processors
Template Context Processors {{ STATIC_URL }}
Template Context Processors
Template Context Processors
Por último mas não menos importante
None
Dúvidas?
[email protected]
@_renatoOliveira