Join Jungwoo Ryoo for an in-depth discussion in this video Intercepting validator example, part of Python: Advanced Design Patterns.
- [Narrator] Are you now more convinced of the importance…and necessity of adopting an…intercepting validator in your project?…When you think about it the concept is very similar…to that of a checkpoint.…Learning more details about this pattern…will boost your confidence even more.…In that positive spirit, let's continue our discussion…and go over the pattern's overall structure and behavior.…As you can see in the class diagram…an intercepting validator consists of…secure base action, intercepting validator, and validator.…
The secure base action class is…also a design pattern of its own right.…It centralizes security operations…that directly interact with and users,…which include authentication, authorization,…input validation, and logging.…This pattern takes advantage of the command pattern…to invoke the security methods.…The intercepting validator class is responsible…for creating specialized intervalidator objects…such as parameter validators, or sequel, or SQL validators.…
When a client makes a request for a resource…
- Architectural vs. design patterns
- Why use design patterns?
- Design best practices
- Domain-specific patterns and security patterns
- Gang of Four design patterns
- Command, Mediator, and State
- Template method
Skill Level Advanced
Learning Python and Django (2015)with Caleb Smith1h 11m Intermediate
Programming Foundations: Design Patternswith Elisabeth Robson2h 19m Intermediate
1. Understanding Design Patterns: Review
2. Design Best Practices
3. Gang of Four (GoF) Patterns, Part 1
4. Gang of Four (GoF) Patterns, Part 2
Next steps1m 26s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.