Skip to content

Latest commit

 

History

History
153 lines (128 loc) · 7.58 KB

55-joe-django.md

File metadata and controls

153 lines (128 loc) · 7.58 KB

Joe Torreggiani: Intro to Django

[55a] Django Part 1: Intro to Python (Joe Torreggiani)
Video 1/3: https://youtu.be/Yr1ewxg8os8
Slides: 1-34

[55b] Django Part 2: Intro to Web Development Frameworks (Joe Torreggiani)
Video 2/3: https://youtu.be/K4NQmrGEWGM
Slides 35-86

[55c] Django Part 3: Building Your First Django Application (Joe Torreggiani)
Video 3/3: https://youtu.be/QTQSzirDs8E
Slides: 87-141

Upcoming Events

Join our Meetup group for more events! https://www.meetup.com/data-umbrella

Key Links

Resources

Talk Outline

  • 10,000 foot view of web development with Django
  • Building your first Django application
  • Deploying Django applications
  • Recap & next steps

About the Event

This talk will introduce attendees to Django, a free and open source Python-based web framework that encourages rapid development using software engineering best practices. We will start with covering the basic concepts of web development and learning how software frameworks like Django remove much of the hassle of building web applications and allows developers to focus on writing code without needing to reinvent the wheel. The presentation will demonstrate how Django enables development of secure and maintainable software by scaffolding a simple dynamic website from the ground up. We will then take a look at a real-world open source project built with Django and see an example of a web application released in a production environment. This talk will end with a recap of we've learned together and recommendations for getting started with web development with Django.

About the Speaker

Joe Torreggiani is a technologist, educator, and advocate for environmental and social justice. He has over a decade of experience as a software engineer and leader working at impact-focused organizations across multiple industries including education, agriculture, and finance. Joe holds a Bachelor of Arts in History from The College of Saint Rose in Albany, New York and is a graduate from General Assembly's web development boot camp program. Joe is a senior software engineer at Square, which makes technology that helpers sellers more easily run and growth their business with its integrated ecosystem of commerce, staff, customer, and banking solution. Joe is also a co-founder of Sustainable Progress and Equality Collective (SPEC), an open learning organization with a mission empower individuals to become globally-minded change agents by helping them learn the essential skills required to build sustainable careers and make a positive impact in their communities. In addition to his work in software development and non-profit management, Joe serves as a board member for Open Food Network USA and co-chair of Block's Bay Area Neurodiversity community. He lives with his partner Veronica and their dog Molly in San Francisco California. In his free time, Joe likes to read, travel, hike, kayak, practice martial arts, and skateboard.

Video:

Joe Torreggiani: Python for Beginners

Joe Torreggiani: Intro to Web Development Frameworks

Joe Torreggiani: Building Your First Django Application

Timestamps

[55a] Django Part 1: Intro to Python (Joe Torreggiani)  

## Agenda
00:00 Data Umbrella introduction by Beryl
05:06 Beryl introduces Joe Torreggiani
06:50 Intro to Django presentation by Joe
08:00 What is Django?
08:50 Where did Django get its name?
09:41 Overview about Django
10:18 10,000 foot view of web development with Django
10:42 Django open-source software licensing
11:50 Python programming language
11:58 What is the Python programming language?
13:54 What makes Python high-level?
15:37 What makes Python interpreted?
16:57 What makes Python general-purpose?
18:52 What makes python dynamically-typed?
21:19 Importing modules from Python’s standard library
21:47 Python packages
22:50 Virtual environments
24:16 Closing thoughts about Python

[53b] Django Part 2: Intro to Web Development Frameworks (Joe Torreggiani)  

## Agenda
00:00 What is a web development framework – software frameworks
00:56 Technologies and design patterns
01:55 Key concepts of web development
02:35 The client-server model
04:25 Mapping technologies to the client-server model
05:22 Server-side web development frameworks
06:35 Client-side frameworks
07:20 TCP/ IP: The enabler of the client-server model
09:45 URL: Unisource Resource Locator 
10:30 HTTP: Hypertext Transfer Protocol 
11:20 HTTP request methods, HTTP responses
14:25 HTTP GET request-response lifecycle
15:20 HTML, CSS & JavaScript
18:45 Data interchange formats
19:27 HTML with external resources
20:01 Data-driven websites
20:53 Databases & Structured Query Language (SQL)
21:39 Hypertext preprocessing
23:23 Object-relational mapping (ORM)
24:15 Model-View-Controller design pattern (MVC)
25:29 Example – an application built with Flask micro web framework
27:48 Template engines
29:06 Single-page applications
31:20 Q: What is the difference between Flask and Django?
32:50 Q: Is Flask or Django better for accessing a database?
33:55 Q: Which framework to start with as a beginner?

    
[53c] Django Part 3: Building Your First Django Application (Joe Torreggiani)  

## Agenda
00:00 Building your first Django project
00:40 MVC vs Django MVT architecture
01:33 Bootstrapping a Django project with django-admin
02:03 Django default file organization and descriptions
03:16 Starting the Django development server
04:38 The difference between a Django project and a Django app
05:49 Add a basic route to the flashcards/views.py file
06:46 URL definitions
07:36 Configuring the Django settings file
07:58 Defining a data model
08:27 Making a database migration
09:30 Interacting with the django shell
10:08 Updating the index view file
10:41 Creating a Django template and rendering it
13:47 Automated testing with Django
17:09 Creating an admin user
17:45 Registering a model for the Django admin
18.01 Django admin interface in development
18:30 1st half session recap and Q & A
19:27 Q: In a production scenario, should we use Django?
21:03 Deploying Django projects
22:00 Main options for deploying Django applications
23:48 Popular Iaas and Paas providers
24:54 Database configuration
25:55 Hosting the source code on GitHub
26:30 Deployment configurations with Digital Ocean App Platform
29:05 Django admin interface in production
29:26 Recap
30:01 Review of what we've learned
31:10 Next Steps (Reference Links)
31:39 Django Conferences
31:50 Sustainable Progress & Equality Collective (SPEC)
33:37 Q: How do you add plots or maybe a bokeh server to a django project?
36:03 Q: What is the full web application cycle?
36:54 Q: Which front-end frameworks and which sql databases work well with django?

Transcript

#python #webapp #django