From the course: Python: Advanced Design Patterns
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Patterns and frameworks - Python Tutorial
From the course: Python: Advanced Design Patterns
Patterns and frameworks
- [Instructor] Design patterns are nice because they allow you to reuse design solutions. However, they're not a turnkey solution. You still have to write your own code that implements a pattern. Code samples are often available, but it's still necessary to customize them to fit your needs. Are you disappointed? I hope not. The good news is that there are exceptions to this norm, especially in the area of domain specific software components. A good example for this is security. There are many reusable snippets of code available in the form of either commercial off-the-shelf or open-source frameworks. Here, framework refers to a collection of reusable software elements. These frameworks implement design patterns. This means that all you have to do as a developer is use them through their application programming interface, or API. Imagine a scenario in which you have a software requirement for user authentication. Several security frameworks already offer user authentication features…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.