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
2
100
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
300
Testes pythonicos com Py.test
renatooliveira
0
170
Pythonic tests with Py.test
renatooliveira
0
150
Django Migrations v1.0
renatooliveira
2
72
Other Decks in Technology
See All in Technology
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
210
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
3
620
JAWS-UG Bedrock Claude Night
yamahiro
3
700
Microsoft Intune 勉強会 第 2 回目
tamaiyutaro
2
380
The AI Revolution Will Not Be Monopolized: Behind the scenes
inesmontani
PRO
1
160
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
270
EM完全に理解した と思ったけど、 やっぱり何も分からなかった話 / EM Night Fukuoka #1
hirutas
0
280
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
120
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
350
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
8
620
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
270
Grafana x PagerDuty Better Together
jacopen
1
250
Featured
See All Featured
Design by the Numbers
sachag
274
18k
Writing Fast Ruby
sferik
622
60k
Six Lessons from altMBA
skipperchong
22
3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
22
1.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Typedesign – Prime Four
hannesfritz
36
2.1k
What's in a price? How to price your products and services
michaelherold
238
11k
Done Done
chrislema
178
15k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Designing Experiences People Love
moore
136
23k
Teambox: Starting and Learning
jrom
128
8.4k
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