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
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
310
Testes pythonicos com Py.test
renatooliveira
0
180
Pythonic tests with Py.test
renatooliveira
0
170
Django Migrations v1.0
renatooliveira
2
77
Other Decks in Technology
See All in Technology
Snowflakeの生成AI機能を活用したデータ分析アプリの作成 〜Cortex AnalystとCortex Searchの活用とStreamlitアプリでの利用〜
nayuts
0
150
Grafana Meetup Japan Vol. 6
kaedemalu
1
200
進捗
ydah
2
230
クラウドセキュリティを支える技術と運用の最前線 / Cutting-edge Technologies and Operations Supporting Cloud Security
yuj1osm
2
250
実践データベース設計 ①データベース設計概論
recruitengineers
PRO
4
2k
ヒューリスティック評価を用いたゲームQA実践事例
gree_tech
PRO
0
430
【初心者向け】ローカルLLMの色々な動かし方まとめ
aratako
4
2.6k
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
13
4.1k
ソフトウェア エンジニアとしての 姿勢と心構え
recruitengineers
PRO
26
12k
iPhone Eye Tracking機能から学ぶやさしいアクセシビリティ
fujiyamaorange
0
230
RSCの時代にReactとフレームワークの境界を探る
uhyo
8
1.7k
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
3
1.8k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
284
13k
Facilitating Awesome Meetings
lara
55
6.5k
Done Done
chrislema
185
16k
Docker and Python
trallard
45
3.5k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
The Cult of Friendly URLs
andyhume
79
6.6k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
11
1.1k
Navigating Team Friction
lara
189
15k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
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