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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Eugene Oskin
January 20, 2018
Programming
71
0
Share
Free Django!
Eugene Oskin
January 20, 2018
More Decks by Eugene Oskin
See All by Eugene Oskin
REST API. Django, Ruby on Rails, Play! Framework
evgeneoskin
0
94
Introduction to gRPC
evgeneoskin
0
100
GrailInventory – Advanced Backend Development
evgeneoskin
0
41
Bracing Calculator
evgeneoskin
1
70
emotional intelligence, part 2
evgeneoskin
0
43
Office temperature
evgeneoskin
0
39
Parse platform
evgeneoskin
0
100
Hubot
evgeneoskin
0
55
An introduction to iOS development
evgeneoskin
0
44
Other Decks in Programming
See All in Programming
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.7k
Agentic Elixir
whatyouhide
0
420
ハーネスエンジニアリングとは?
kinopeee
13
6.3k
CursorとClaudeCodeとCodexとOpenCodeを実際に比較してみた
terisuke
1
500
의존성 주입과 모듈화
fornewid
0
150
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
180
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
170
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
110
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
4
1k
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
300
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
460
GoogleCloudとterraform完全に理解した
terisuke
1
160
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
Building the Perfect Custom Keyboard
takai
2
740
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
350
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
Discover your Explorer Soul
emna__ayadi
2
1.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Code Review Best Practice
trishagee
74
20k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
Done Done
chrislema
186
16k
Making Projects Easy
brettharned
120
6.6k
Evolving SEO for Evolving Search Engines
ryanjones
0
180
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!