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
Free Django!
Search
Eugene Oskin
January 20, 2018
Programming
0
66
Free Django!
Eugene Oskin
January 20, 2018
Tweet
Share
More Decks by Eugene Oskin
See All by Eugene Oskin
REST API. Django, Ruby on Rails, Play! Framework
evgeneoskin
0
88
Introduction to gRPC
evgeneoskin
0
97
GrailInventory – Advanced Backend Development
evgeneoskin
0
36
Bracing Calculator
evgeneoskin
1
67
emotional intelligence, part 2
evgeneoskin
0
38
Office temperature
evgeneoskin
0
33
Parse platform
evgeneoskin
0
100
Hubot
evgeneoskin
0
50
An introduction to iOS development
evgeneoskin
0
42
Other Decks in Programming
See All in Programming
機能追加とリーダー業務の類似性
rinchoku
2
1.1k
為你自己學 Python - 冷知識篇
eddie
1
340
AIエージェント開発、DevOps and LLMOps
ymd65536
1
380
🔨 小さなビルドシステムを作る
momeemt
3
660
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
240
CSC305 Summer Lecture 12
javiergs
PRO
0
130
Ruby Parser progress report 2025
yui_knk
1
300
オープンセミナー2025@広島LT技術ブログを続けるには
satoshi256kbyte
0
160
モバイルアプリからWebへの横展開を加速した話_Claude_Code_実践術.pdf
kazuyasakamoto
0
310
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
3
260
MCPで実現するAIエージェント駆動のNext.jsアプリデバッグ手法
nyatinte
7
1.1k
TanStack DB ~状態管理の新しい考え方~
bmthd
2
480
Featured
See All Featured
Practical Orchestrator
shlominoach
190
11k
Why Our Code Smells
bkeepers
PRO
339
57k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
910
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
RailsConf 2023
tenderlove
30
1.2k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
187
54k
Designing for humans not robots
tammielis
253
25k
Faster Mobile Websites
deanohume
309
31k
Transcript
Free Django! WEB service
Plan • Diving inside Backend • Django basics • Django
REST Framework • Simple Django app
Diving inside Backend In software engineering, front end (frontend) and
back end (backend) distinguish between the separation of concerns between the presentation layer (the front end) – which is the interface between the user – and the data access layer (the back end).
Diving inside Backend • Basic Architecture • Top 3 projects
overview • Why Django?
• LAMP ◦ Linux – OS ◦ Apache – web
(also nginx) ◦ MySQL – database (also postgres) ◦ PHP – frontend + backend (also Django, Ruby on Rails) Basic Architecture
Basic Architecture • LAMP • MEAN ◦ MongoDB – database
◦ Express.js – web ◦ Angular.js – frontend ◦ Node.js – backend
Top 3 projects overview • Django
Top 3 projects overview • Django • Ruby On Rails
Top 3 projects overview • Django • Ruby On Rails
• Express.js
Why Django? • Fast development
Why Django? • Fast development • Strong community
Why Django? • Fast development • Strong community • Secure
Why Django? • Fast development • Strong community • Secure
• Featured
Why Django? • Fast development • Strong community • Secure
• Featured • Like Ruby on Rails, but Django
Django basics • Structure • Where to find Applications? •
Django MVC
Structure • project/ ◦ manage.py # entrypoint ◦ mysite/ #
dir with site staff ▪ __init__.py ▪ settings.py # site settings ▪ urls.py # URL declarations ▪ wsgi.py # entry-point for WSGI-compatible
Structure • project/pet/ ▪ __init__.py ▪ migrations/ • __init__.py ▪
models.py ▪ tests.py ▪ views.py # Contollers ▪ urls.py # app URL declarations
Where to find Applications? • Django packages • GitHub •
In your Company
MVC → Django MVC • Model → Model • Controller
→ View • View → Template
Django REST Framework • Features ◦ Great architecture ◦ Easy
to add to an existed project ◦ Plenty of existed apps
Django REST Framework • Features • Usage ◦ Install ◦
Add Router ◦ Add ViewSet ◦ Add Serializers ◦ Add Tests
Django REST Framework • Features • Usage • Profit ◦
Termius ◦ Look
Simple Django app • How to start (Do it!): ◦
Install python and pip
Simple Django app • How to start (Do it!): ◦
Install python and pip ◦ https://docs.djangoproject.com/en/2.0/intro/install/
Simple Django app • How to start (Do it!): ◦
Install python and pip ◦ https://docs.djangoproject.com/en/2.0/intro/install/ ◦ https://docs.djangoproject.com/en/2.0/intro/tutorial01/
Simple Django app • How to start (Do it!): ◦
Install python and pip ◦ https://docs.djangoproject.com/en/2.0/intro/install/ ◦ https://docs.djangoproject.com/en/2.0/intro/tutorial01/ ◦ Run localserver
Simple Django app • How to start (Do it!) •
My sample • https://github.com/EvgeneOskin/animals-drf
Summary • Diving inside Backend • Django basics • Django
REST Framework • Simple Django app
References • http://bit.ly/lamp-wiki • https://www.djangoproject.com/ • https://docs.djangoproject.com/en/2.0/intro/install/ • https://docs.djangoproject.com/en/2.0/intro/tutorial01/ •
http://django-rest-framework.org/ • http://djangopackages.com/ • https://github.com/EvgeneOskin/animals-drf • http://www.intenct.nl/projects/django-allauth/
Advices • Do not use aggregations in admin page! •
Add a crash reporter (eg. Sentry) and track your app version! • Have a strong deployment process! • Do not run datamigrations in service start!