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
Renato dos Santos Oliveira
October 18, 2014
Technology
120
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
89
Other Decks in Technology
See All in Technology
[MIRU26] To What Extent Does MLLM-as-a-Judge Exhibit Cross-Model Preference Bias?
keio_smilab
PRO
0
210
タクシーアプリ『GO』の実践的データ活用〜位置情報データの収集とStreamlitでの可視化〜
mot_techtalk
2
200
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
480
ブラウザ研修 2026
recruitengineers
PRO
3
500
ウォーターフォール開発案件のPMとしてAI活用を模索している話
hatahata021
3
310
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
190
【CEDEC2026】『Relink』を拡張せよ - 『GRANBLUE FANTASY: Relink - Endless Ragnarok』の開発速度と品質を守るCI運用
cygames
PRO
0
120
20260801_スクフェス大阪
kgnkhkr
1
1.2k
AIエージェントの知識表現と推論に なぜグラフが使われるのか - 記号的AIの復権とニューラルAIとの統合
yohei1126
1
280
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
サイバー捜査員研修(後半)
nomizone
1
640
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
53k
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.2k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
430
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Bash Introduction
62gerente
615
220k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
190
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
420
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
870
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
380
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