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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Renato dos Santos Oliveira
October 18, 2014
Technology
2
110
Refactoring Django Applications (pt-BR)
Palestra apresentada na RUPY Natal 2014.
http://natal.rupy.com.br
Renato dos Santos Oliveira
October 18, 2014
Tweet
Share
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
180
Pythonic tests with Py.test
renatooliveira
0
180
Django Migrations v1.0
renatooliveira
2
82
Other Decks in Technology
See All in Technology
Navigation APIと見るSvelteKitのWeb標準志向
yamanoku
2
110
【PHPerKaigi2026】OpenTelemetry SDKを使ってPHPでAPMを自作する
fendo181
1
190
脳が溶けた話 / Melted Brain
keisuke69
1
1k
Phase07_実務適用
overflowinc
0
1.9k
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
120
Phase03_ドキュメント管理
overflowinc
0
2.5k
「捨てる」を設計する
kubell_hr
0
250
DDD×仕様駆動で回す高品質開発のプロセス設計
littlehands
6
2.4k
AI時代のIssue駆動開発のススメ
moongift
PRO
0
230
スピンアウト講座04_ルーティン処理
overflowinc
0
1.2k
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
180
LLMに何を任せ、何を任せないか
cap120
10
5.5k
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
330
Marketing to machines
jonoalderson
1
5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Thoughts on Productivity
jonyablonski
75
5.1k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
490
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Tell your own story through comics
letsgokoyo
1
870
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
180
Typedesign – Prime Four
hannesfritz
42
3k
Done Done
chrislema
186
16k
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