Application Factory Pattern
0 questions
A create_app() factory builds the app per configuration and initializes extensions with init_app, which avoids import-time globals and circular imports. Interviewers ask why the factory pattern matters, and testability with different configs is the answer.
questions
0 questions