Structure of Object Oriented Application:
- Application is a collection or programs
- Every application has a single starting point.
- Python application should starts with main() method.
- Main() is static always as it is starting point of application.
- Main() method belongs to a single program(class) by which application starts.
Application contexts:
- “Context” is an area belongs to application.
- Application has 2 contexts
- Static context
- Dynamic context
- Static context is called Free accessible area.
- Dynamic context can be accessed only with permissions.
Technical representation:
- In the above diagram, we specify the static and dynamic contexts in general way.
- To understand technically, we take the help of GMAIL application.
- Login page of Gmail application become static as we can enter without permission.
- We take(sign up) and submit(sign in) permissions in static area(login) to access dynamic area(inbox)