Index
A
- Abstract Factory
- advantages / Advantages of using the Abstract Factory pattern
- implementing / Abstract Factory implementation
- versus, Factory Method / Abstract Factory versus Factory Method
- abstractmethod decorator / Implementation in Python
B
- borg pattern
- about / The borg singleton
C
- classic singleton
- about / A classic singleton
- Command Pattern
- use cases / Use cases of the Command design pattern
- advantages / Advantages and disadvantages of the Command design pattern
- disadvantages / Advantages and disadvantages of the Command design pattern
- implementing, in Python / Implementation in Python
- controller
- about / Controller – the glue between the model and view
- recommendation / Controller – the glue between the model and view
F
- Facade design pattern
- diagrammatic representation / The Facade design pattern
- used, for troubleshooting / Problems solved by the Facade pattern
- advantages / Advantages of the Facade design pattern
- in Pythons standard library / Facades in Python's standard library
- implementing, in Python / Implementation in Python
- Flask
- about / Implementation in Python
G
- get_by_short_url method
- about / Implementation in Python
- get_forecast method / Implementation in Python
- get_weather_data method / Implementation in Python
I
- isdir function / Facades in Python's standard library
M
- model
- about / Model – the knowledge of the application
- recommendations / Model – the knowledge of the application
- module-level singleton
- about / A module-level singleton
- monostate
- about / The borg singleton
- MVC
- model / Model – the knowledge of the application
- view / View – the appearance of knowledge
- controller / Controller – the glue between the model and view
- benefits / Benefits of using the MVC
- implementing, in Python / Implementation in Python
O
- Observer design pattern
- Subject / Observer design pattern
- problems, solving / Problems solved by the Observer pattern
- uses / Use of the Observer pattern
- advantages / Advantages of the Observer pattern
- implementing, in Python / Implementation in Python
P
- parse_content method / Implementation in Python
- parse_weather_data method / Implementation in Python
- print_top_news() template method / Implementation in Python
- process function
- about / Implementation in Python
- Python
- MVC, implementing / Implementation in Python
- singleton, implementing / Implementation in Python
- Facade, implementing / Implementation in Python
- Observer design pattern, implementing / Implementation in Python
- Command Pattern, implementing / Implementation in Python
- Template Method design pattern, implementing / Implementation in Python
R
- redirect_to_full_url method
- about / Implementation in Python
- rm command / Implementation in Python
S
- shorten method
- about / Implementation in Python
- singleton
- module-level singleton / A module-level singleton
- classic singleton / A classic singleton
- borg singleton / The borg singleton
- implementing, in Python / Implementation in Python
- stat.S_ISDIR / Facades in Python's standard library
T
- Template Method design pattern
- benefits / The benefits of the Template Method design pattern
- hooks, using / Using hooks
- implementing, in Python / Implementation in Python
- TouchCommand class / Implementation in Python
U
- Unix touch command / Implementation in Python
V
- view
- about / View – the appearance of knowledge
- recommendation / View – the appearance of knowledge
W
- WeatherProvider class / Implementation in Python