Zappa
Zappa copied to clipboard
[Migrated] Refactor Django/Flask-specific behaviors into separate modules
Originally from: https://github.com/Miserlou/Zappa/issues/1318 by rgov
It's really powerful that Django and Flask apps are automatically detected and adapted to work on AWS out of the box.
The functionality for this is woven throughout core.py, cli.py, and utilities.py which increases complexity for testing, debugging, adding new features, etc.
An improved design would probably involve refactoring the behaviors into separate modules that are less strongly-coupled. With a defined interface for how to tune Zappa for different frameworks, it would be easier to add support for others. Plus, the Zappa core and the framework plugins could be tested separately.
PRs welcome
Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.
Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.