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
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
99
GrailInventory – Advanced Backend Development
evgeneoskin
0
40
Bracing Calculator
evgeneoskin
1
70
emotional intelligence, part 2
evgeneoskin
0
42
Office temperature
evgeneoskin
0
38
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
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
180
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
340
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
220
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
860
実践CRDT
tamadeveloper
0
320
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
180
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
560
「速くなった気がする」をデータで疑う
senleaf24
0
150
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
240
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
140
へんな働き方
yusukebe
6
2.9k
3分でわかるatama plusのQA/about atama plus QA
atamaplus
0
110
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
110
Test your architecture with Archunit
thirion
1
2.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
300
Google's AI Overviews - The New Search
badams
0
960
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
New Earth Scene 8
popppiees
2
2k
Leo the Paperboy
mayatellez
6
1.6k
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!