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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Eugene Oskin
January 20, 2018
Programming
0
69
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
92
Introduction to gRPC
evgeneoskin
0
98
GrailInventory – Advanced Backend Development
evgeneoskin
0
38
Bracing Calculator
evgeneoskin
1
69
emotional intelligence, part 2
evgeneoskin
0
40
Office temperature
evgeneoskin
0
35
Parse platform
evgeneoskin
0
100
Hubot
evgeneoskin
0
52
An introduction to iOS development
evgeneoskin
0
43
Other Decks in Programming
See All in Programming
Oxlintはいいぞ
yug1224
5
1.3k
Fluid Templating in TYPO3 14
s2b
0
130
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
970
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
MUSUBIXとは
nahisaho
0
130
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
SourceGeneratorのススメ
htkym
0
200
Patterns of Patterns
denyspoltorak
0
1.4k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
CSC307 Lecture 07
javiergs
PRO
0
550
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
高速開発のためのコード整理術
sutetotanuki
1
400
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
190
Tell your own story through comics
letsgokoyo
1
810
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Thoughts on Productivity
jonyablonski
74
5k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
GitHub's CSS Performance
jonrohan
1032
470k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
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!