Introduction
1. What is Django?
2. Scope of Django
3. Architecture
4. Models/Views/Templates
5. questions
Web Framework
1. Software designed to develop web application
2. Eq: CakePHP, Spring, Django
3. Server Side: PHP/Java/Python/Ruby/….
4. Client Side: HTML/HTML5/CSS/JavaScript/Jquery/…
History
1. 2003, Django Software Foundation
2. 20% market share in silicon valley, Second place after ruby
3. Developed with python
Introduction to Web Framework
1. What is a server, HTTP Request and HTTP Response?
2. What is a web framework and web application?
3. Challenges in developing web application.
4. Django overview and installation
Starting a Django Powered Project
1. Django project architecture
2. Understanding manage.py, Understanding settings.py, Understanding __init__.py and
wsgi.py, Understanding urls.py and Python regular expression
Starting your First Web Application
1. Django project architecture
2. Understanding admin.py, Understanding models.py, Understanding views.py,
3. Running Django development server
4. Working with JavaScript & CSS files.
Templates
Developing Standard Web Template
1. Template tags
2. Filters in templates
3. Template API
Django Admin
1. Activating the Admin interface
2. Creating super user for Admin site
3. Using the Admin site
4. How to use the Admin site
5. The django.contrib package
Models
1. The MVC Development Pattern
2. Defining Models using Python classes
3. Defining Model data fields
4. Initializing model using makemigrations
5. Running model initialization using migrate
6. Registering models in settings.py
7. Registering models with Admin site
Views and URLconfs
1. Understanding the view layer
2. Requesting a web page via URL
3. Rendering web page via view function
4. Render HTTPResponse to templates
5. Understanding context data and Python dictionary type
Forms
1. Form basics
2. GET and POST methods
3. Form validation
4. Rendering forms
5. ModelForm
Working with Static File
1. Creating static repository
2. Loading static files
3. Adding image file to template
Advance Models, Views, Forms and Admin
1. Understanding model fields in depth, Database function, Model managers
2. Django ORM
3. Class based views
4. File submission
5. Making admin more robust
Extending Templates
Creating a template library
Writing custom template filter
Writing custom templates tags
Registering the tags
Setting a variable in the context
Writing template loader
Testing in Django
1. Testing DjangoProject/App
2. Writing a unit test
Deploying Web Application
1. Deploying Django application on GitHub
2. Deploying Django application on end host or Amazon Web Services
Core HTML
Introduction
Parts in HTML Document
Version Information
Head Section
Meta Information
Favicons
Body Section
HTML FORMS
Anchors, Images
Advance HTML5
Introduction
HTML5 HISTORY
Why HTML5?
New Features and Groups
Structure of HTML5 Document
Power of HTML5 and Features
Semantics and Block Level Elements
HTML5 Forms
HTML5 Multimedia
HTML5 Graphics
Core CSS
Introduction
CSS Basics
CSS Introduction
CSS Syntax
CSS Versions
CSS Id & Class
CSS Styling
Styling Backgrounds
Styling Text
Styling Fonts
CSS Borders
Advance CSS
Introduction
CSS3 Modules
Selectors
Box Model
Backgrounds and Borders
Text Effects
2D/3D Transformations
Core &Adanced Animations
Multiple Column Layout
User Interface
Core JavaScript
What is Script? Types of Scripts?
Introduction to JavaScript
Comments and Types of Comments
Popup Boxes
Variables & Operators
JavaScript Functions and Events
Conditional Statements
Looping Control Statement
Advance JavaScript
Types of Errors
Exception Handling
Java Script Objects
Browser Objects
Validations in JS
Core Python
Introduction to Python
What is Python?
History of Python
Python Versions
Features of Python
How to Install Python
Install Python with Diff IDEs
Creating Your First Python Program
Printing to the Screen
Reading Keyboard Input
Using Command Prompt and GUI or IDE
Different Modes in Python
Execute the Script
Interactive Mode
Script Mode
Python Comments
Working with Python in Unix/Linux/Windows/Mac/Android
Python New IDEs
PyCharm IDE
How to Work on PyCharm
PyCharm Components
Debugging process in PyCharm
SublimeText IDE
What is PIP?
Variables in Python
What is Variable?
Variables in Python
Constants in Python
Standard Data Types
Operators and Operands
Swap variables
Type Conversion
String Handling
Python Conditional Statements
How to use “if condition” in conditional structures
if statement (One-Way Decisions)
if .. else statement (Two-way Decisions)
How to use “else condition”
if ..elif .. else statement (Multi-way)
When “else condition” does not work
How to use “elif” condition
How to execute conditional statement with minimal code
Nested IF Statement
Python LOOPS
How to use “While Loop”
How to use “For Loop”
How to use For Loop for set of other things besides numbers
Break statements in For Loop
Continue statement in For Loop
Enumerate function for For Loop
Python Lists
Lists are mutable
Getting to Lists
List indices
Traversing a list
List operations
List slices
List methods
Map, filter and reduce
Python TUPLE
Advantages of Tuple over List
Packing and Unpacking
Comparing tuples
Creating nested tuple
Using tuples as keys in dictionaries
Deleting Tuples
Slicing of Tuple
Tuple Membership Test
Python Sets
How to create a set?
Iteration Over Sets
Python Set Methods
Python Set Operations
Union of sets
Built-in Functions with Set
Python Frozenset
Python Dictionary
How to create a dictionary?
Python Hashing?
Python Dictionary Methods
Copying dictionary
Updating Dictionary
Delete Keys from the dictionary
Dictionary items() Method
Sorting the Dictionary
Python Dictionary in-built Functions
Python Functions
What is a Function?
How to define and call a function in Python
Types of Functions
Significance of Indentation (Space) in Python
How Function Return Value?
Types of Arguments in Functions
Default Arguments
Non-Default Arguments
Keyword Arguments
Non-keyword Arguments
Arbitrary Arguments
Rules to define a function in Python
Various Forms of Function Arguments
Scope and Lifetime of variables
Anonymous Functions/Lambda functions
map(), filter(), reduce() functions
What is a Docstring?
Advanced Python
Python Exception Handling
Python Errors
Common RunTime Errors in PYTHON
Abnormal termination
Chain of importance Of Exception
Exception Handling
Try … Except
Try ..Except .. else
Try … finally
Python Class and Objects
Introduction to OOPs Programming
Object Oriented Programming System
OOPS Principles
Basic concept of Object and Classes
Access Modifiers
How to define Python classes
Self-variable in python
What is Inheritance? Types of Inheritance?
How Inheritance works?
Python Regular Expressions
What is Regular Expression?
Regular Expression Syntax
Understanding Regular Expressions
Regular Expression Patterns
Literal characters
Bootstrap (Powerful Mobile Front-End Framework)
What is Responsive Web Designing?
Typography Features
Bootstrap Tables, Buttons, Dropdowns, Navbars
Bootstrap Images
Bootstrap Responsive utilities
Bootstrap Glyph icons
Bootstrap Grid System
What is a Grid?
What is Bootstrap Grid System?
MOBILE FIRST STRATEGY
Working of Bootstrap Grid System
Media Queries
Grid Options
Responsive column resets
Offset columns
Nested columns
Django Web Framework
What is a Framework
Introduction to Django
Django – Design Philosophies
History of Django
Why django and Features
Environment setup
Web Server
MVC Pattern
MVC Architecture vs MVT Architecture
Django MVC – MVT Pattern
Getting Started with Django
Creating the first Project
Integrating the Project to sublime text
The Project Structure
Running the server
Solving the issues and Migrations
Database Setup
Setting Up Your Project
Create an Application
What Django Follows
Structure of django framework
Model Layer
What are models
Model fields
Querysets
Django – Admin Interface
Starting the Admin Interface
Migrations
Views Layer
Simple View
Basic view(displaying hello world)
Functional views, class based views
Django – URL Mapping
Organizing Your URLs
Role of urls in djnago
Working urls
Forms
Sending Parameters to Views
Templates layer
The Render Function
Django Template Language (DTL)
Role of template layer in django
Filters,Tags, Tag if, Tag for, Block and Extend Tags
Comment Tag, Usage of templates
Extending base template
Django – Models
Creating a Model
Manipulating Data (CRUD)
Linking Models
Django – Page Redirection
Django – Sending E-mails
Sending a Simple E-mail
Sending Multiple Mails with send_mass_mail
Sending HTML E-mail
Sending HTML E-mail with Attachments
Django – Form Processing
Using Form in a View
Usage of forms
Crud operations using forms
Crispy forms in django
Django – File Uploading
Uploading an Image
Django – Apache Setup
Django – Cookies Handling
Django – Sessions
Django – Comments
Django Admin
Creating Super User
Using admin in Django
Adding models to admin
Adding model objects using admin
Displaying in cmd using querysets
Static files
Loading css files into templates
Loading js files into templates
Uploading image using models
User authentication
Sample Projects and Websites
News website (BLOGs Forums)
Drawing a Graph using DB values
1. Origin of Python
2. Introduction to Python and what is a Python
3. What can we do by using Python
4. Features and versions of Python
5. Different languages used to develop Python
6. Interactive mode and Script mode
7. Interpreter vs Compiler
8. Scripting vs Programming Languages
9. Reasons to learn or work Python
10. Python Indentation
11. Comments and Quotations
12. Python Identifiers and Keywords
13. Variables
a. Assigning values to variables in different ways
b. Print(), type() and id()
14. Reading data from user
15. Working with input function
16. Python data types
17. Type conversions and eval()
Assignment - 1
18. Introduction to Data Structures
19. Stringdata Structure
a. Different ways to create a string
b. String indexing and string slicing
c. string concatenation and string multiplication
d. string unpacking
e. splitting the data in different parts as per user
f. capitalize() and tittle() and split()
g. del, count(), find(), swapcase()
h. reverse(),replace() and sort()
i. string immutable
20. List Data Structure:
a. different ways to create a list
b. creating and working with homogeneous lists
c. creating an working with heterogeneous lists
d. list indexing and list slicing
e. list concatenation and list multiplication
f. generating list by using range function
g. list unpacking and list mutable
h. creating nested lists and indexing nested lists
i. python range() and xrange() functions
j. python insert, append andextend
k. remove, pop and clear
l. python list ascending and descending
m. converting given string data structure into list
n. converting given list data structure into string
o. creating list from user values
21. Tuple Data Structure
a. creating a tuple in different ways
b. creating and working with homogeneous tuple
c. creating and working with heterogeneous tuple
d. tuple indexing and tuple slicing
e. tuple concatenation and tuple multiplication
f. tuple unpacking and tuple immutable
g. all, any, len and sort
h. del keyword
i. python tuple ascending and descending
j. creating and working with nested tuples
k. Conversions:
i. converting given string data structure into tuple
ii. converting given list data structure into tuple
iii. converting given tuple data structure into string
iv. converting given tuple data structure into list
l. advantages of tuple over list data structure
22. Set Data Structure
a. Creating and working with set data structure in different ways
b. Normal sets and frozen sets
c. Set mutable and unpacking set data structure
d. Creating and working with sets with homogeneous elements
e. Creating and working with sets with heterogeneous elements
f. Creating empty sets and modifying the empty sets
g. Why sets not support indexing and slicing
h. Add, remove and discard the elements to set data structure
i. Issubset, issuperset and isdisjoint
j. Union, intersection and defference
k. Intersection_update and defference_update
l. Symmetric_difference and symmetric_difference_update
m. Conversions:
i. Converting given string data structure into set
ii. Converting given list data structure into set
iii. Converting given tuple data structure into set
iv. Converting given set data structure into string
v. Converting given set data structure into list
vi. Converting given set data structure into tuple
23. Dictionary Data Structure
a. Creating and working with dictionary data structure in different ways
b. Creating empty dictionary and working with empty dictionary
c. Working with key and value pairs
d. Dictionary mutable and unpacking dictionary
e. Adding and deleting key and value pairs to the existing data structure
f. Difference between pop and popitem operations
g. Extracting only keys from the existing data structure
h. Extracting only values from the existing data structure
i. Clear and pop methods
j. Del keyword and pop method
k. Creating a dictionary from existing another data structure like tuple
l. FAQs on all Data Structures
Assignment – 2
24. Operators
a. Arithmetic operators
b. Logical operators
c. Assignment operators
d. Comparison operators
e. Bitwise operators
f. Identity operators
g. Membership operators
25. Python Functions and Arguments
a. Defining functions and working with functions
b. Using def keyword for functions
c. Called functions and function definition and calling functions
d. Formal arguments and actual arguments
e. Working with named arguments and keyword arguments
f. Default arguments and positional arguments
g. Working with default arguments and normal arguments
h. *args and **kwargs arguments
i. Argument unpacking
j. Variable length arguments
k. Using data structures to function definitions
l. Nested functions
m. Dir() and Format() functions
n. Enumerate function
o. FAQs on functions and Arguments
26. Lambda Functions
a. Creating functions by using lambda keyword
b. Difference between def and lambda functions
c. Working with filter functions
d. Working with map functions
e. Working with reduce functions
27. Control Statements
a. Simple If statement
b. If else statement
c. Elif statement
d. Nested if statement
e. Membership test for string
f. Membership test for tuple
g. Membership test for list
h. Membership test for set
i. Membership test for dictionary
j. FAQs on control statements
28. Loopings
a. For loop
b. While loop
c. Pass, continue and break statements
d. Iterating over list, tuple, set and dictionary
29. Advanced Concepts on Data Structures
a. List comprehension
b. Dictionary comprehension
c. Nested data structures
Assignment – 3
Advanced Python
30. File Handling
a. Creating a file in a directory
b. Open the file in the python
c. Different ways to open the file in Python
d. Writing to the file
e. Appending the data to the existing file
f. Modes of operations
g. Seek and tell methods
h. Readline and readlines
i. Working with words and characters in the file
j. Real-time scenarios on files
k. Interview based questions on the file
31. OOPS Concepts
a. Class and object
b. Class variables and instance variables
c. Constructor
d. Data hiding
e. Method overloading and overriding
f. Abstraction
g. Inheritance
h. Polymorphism
i. Encapsulation
32. Modules
a. What is module and purpose of modules
b. Different types of modules
c. Different ways to import modules
d. Standard modules and user modules
e. From … import *
f. Creating own modules
g. Using modules in other modules
h. Working with some standard modules
i. MATH, DATETIME, CALENDAR, SYS, OS Modules
33. Exception Handling in Python
a. What is an exception
b. Handling exceptions
c. Try and except block
d. Handling multiple exceptions using multiple excepts
e. Handling multiple exceptions using single except
f. Working with default except
g. Handling exceptions with else and finally blocks
h. Using assert for handling exceptions
34. Logging in python
a. What is logging and purpose of logging
b. Creating a log file
c. Storing runtime events in log file
d. Different modes to store the data in log file
e. DEBUG, INFO, WARNING, ERROR, CRITICAL
35. Iterators, generators and decorators
a. Working with yield keyword
b. Difference between yield and return
c. Decorating a function with another function
36. Unit Testing in Python
a. Importing unittest module
b. Calling all unit test cases
c. Calling specific unit test case
d. assertEqual, assertTrue and assertFalse
37. Regular Expressions
a. Basics of regular expressions
b. Findall function
c. Search function
d. Match methods
i. Group
ii. Groups
e. Matching and searching
f. Compile and sub functions
g. Mobile numbers verifications
h. Email ids verifications
i. Web scrapping
38. Command Line Arguments
a. Reading command line arguments
b. Using command line arguments
39. Working with Database Connection
a. Connecting to database from Python application
b. Creating connection to the database from Python application
c. Creating database and tables from Python applications to the database
d. Fetching data and updating data in the entities.
e. Using cursor to execute SQL command in Python application
f. Using Fetchall and Fetchone methods
Assignment - 4
Advanced Concepts to Python
40. Introduction to Django framework
a. Introduction to Django framework
b. Creating a project and application
c. Urls, models, templates and views files,
d. Introduction to web development
e. Introduction to Pycharm
41. Numpy
a. Main advantages of Numpy arrays over Python lists
b. Creating normal arrays
c. Creating multi-dimensional arrays
d. Creating float type arrays, complex type arrays
e. Creating arrays with placeholders
f. Reshaping existing arrays
g. Creating linspace arrays
42. Scipy
a. Introduction to Scipy