Curso Full Stack Web Development with Python and Django
24 horasVisão Geral
Curso Full Stack Web Development with Python and Django; Voltado para desenvolvedores web experientes e iniciantes em Python, Introdução ao Desenvolvimento Web Full Stack com Python e Django é um Curso Full Stack Web Development with Python and Django prático de cinco dias que ensina os alunos a desenvolver aplicativos Web usando o framework Django. Os alunos explorarão os conceitos básicos da criação de aplicativos básicos usando o padrão de design MVC (model-view-controller), bem como tópicos mais avançados, como administração, gerenciamento de sessão, autenticação e testes automatizados. Este curso prático e abrangente fornece uma exploração aprofundada do trabalho com a linguagem de programação, não uma visão geral acadêmica de sintaxe e gramática. Os alunos serão imediatamente capazes de usar Python para concluir tarefas no mundo real.
Objetivo
Após relizar este Curso Full Stack Web Development with Python and Django você será capaz de:
- Desenvolver sites full-stack com base no conteúdo armazenado em um RDMS
- Use os tipos de dados do Python apropriadamente
- Definir modelos de dados
- Entenda a arquitetura de um site baseado em Django
- Crie modelos Django para visualizações fáceis de modificar
- Visualizações de mapas para URLs
- Aproveite a interface de administração integrada
- Fornecer processamento de formulário HTML
Publico Alvo
- Desenvolvedores Web,
- Desenvolvedores Full Stack
Pre-Requisitos
- Este Curso Full Stack Web Development with Python and Django é voltado para desenvolvedores web experientes, iniciantes em Python, que desejam usar Python e Django para projetos de desenvolvimento web full stack.
Conteúdo Programatico
The Python Environment
- Starting Python
- Using the interpreter
- Running a Python script
- Python scripts on Unix/Windows
- Editors and IDEs
Getting Started
- Using variables
- Built in functions
- Strings
- Numbers
- Converting among types
- Writing to the screen
- Command line parameters
Flow Control
- About flow control
- White space
- Conditional expressions
- Relational and Boolean operators
- While loops
- Alternate loop exits
Lists and Tuples
- About sequences
- Lists and list methods
- Tuples
- Indexing and slicing
- Iterating through a sequence
- Sequence functions, keywords, and operators
- List comprehensions
- Nested sequences
Working with Files
- File overview
- The with statement
- Opening a text file
- Reading a text file
- Writing to a text file
- Raw (binary) data
Dictionaries and Sets
- About dictionaries
- Creating dictionaries
- Iterating through a dictionary
- About sets
- Creating sets
- Working with sets
Functions
- About sequences
- Function parameters
- Global variables
- Global scope
- Returning values
- Sorting data
Errors and Exception Handling
- Syntax errors
- Exceptions
- Using try/catch/else/finally
- Handling multiple exceptions
- Ignoring exceptions
Using Modules
- The import statement
- Module search path
- Zipped libraries
- Creating Modules
- Function and Module aliases
Classes
- About o-o programming
- Defining classes
- Constructors
- Instance methods and data
- Class/static methods and data
- Inheritance
Django Architecture
- Sites and apps
- Shared configuration
- Minimal Django layout
- Built in flexibility
Configuring a Project
- Executing manage.py
- Starting the project
- Database setup
- The development server
Adding an Application
- Generate the application files
- Defining models
- Related objects
- SQL Migration
- App configuration
- Accessing models
Login for Nothing and Admin for Free
- Setting up the admin user
- Running the admin site
- Tweaking the admin interface
- Changing the admin index page
Basic Views (AKA Controllers)
- What is a view
- HttpResponse
- URL route configuration
- Shortcut: get_object_or_404()
Basic Views (AKA Templates)
- About templates
- Django template syntax
- Static files
- Loading templates
- The url tag
- Shortcut: template.render()
Querying the Models
- QuerySets
- Field lookups
- Chaining filters
- Slicing QuerySets
- Related fields
- Q objects
Working with Templates
- Variable lookups
- Comments
- Inheritance
- Filters
- Escaping HTML
- Custom filters
Forms
- Forms overview
- GET and POST
- The Form class
- Processing the form
- Widgets
- Validation
- Forms in templates
- Beyond the basics
Automated Testing
- Why create tests?
- When to create tests
- Using Django's test framework
- Using the test client
- Running tests
- Checking code coverage