Lesson 1 - Setup Django
LEARN
Personal History
- Professional software developer for four decades
- Web development since the beginning of WWW
- Built around 50 web apps
Web Server Design
Pages vs. Apps
- Static web pages show fixed information
- Static pages do not need a server
- Dynamic pages are created for each request
- Need a web server to create pages
Common Web App
- Mobile device app
- Front-end (user experience)
- Business logic
- Database
Full-stack development
- Stack of development technologies
- Mobile, Front-end, Back-end
- Frameworks for each level: mobile, front, back
Web Frameworks
- Reusable code that quickly lets you build an app
- Solves all the common problems
- You write 10% of the code needed
- Leverage tens-of-thousands of hours of effort
Frameworks and Languages
- .Net - C#
- Rails - Ruby
- Laravel - PHP
- Django - Python
What is Django?
- Read the doc What is Django?
Web Apps with Python
- Python - programming language
- Django - web development framework
- Postgres Database
Web Hosting with Python Anywhere
- Free accounts for Django Hosting
- Register your account on Student Dashboard
Welcome to BACS 350
- Class is fully online
- Each session teaches a new skill
- Demo code and video for every session
- Weekly projects
- Scheduled class time - Zoom meeting to help students with projects
How this class works
- 14 Projects + 42 Skills
- Flat letter grades
- 10% late penalty (20% for 2 weeks late)
- 9 hours of effort required weekly
Keys to success
- Diligence
- Persistence
Textbook
- Django for Beginners - William Vincent
- Does not assume any previous knowledge
- From novice to competent
- Uses projects to teach
Reading
- Django for Beginners
- Chapter 1 - Initial Set Up
- Command Line
- Install Python 3
- Virtual Environments
- Install Django
- Install Git
- Text Editors
Sensei Server
- Complete rewrite of software
- All class material available
- Notes
- Slides
- Projects
- Documents
- Skills
- Lecture Videos
Homework
- Register your Github repo - version control
- Register your Python Anywhere - application server
- All homework will be graded through these URLs
BUILD
Version Control with Github
- Sign up for free account
- Register your account on Sensei Server