Zappa icon indicating copy to clipboard operation
Zappa copied to clipboard

[Migrated] Refactor Django/Flask-specific behaviors into separate modules

Open jneves opened this issue 4 years ago • 1 comments
trafficstars

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.

jneves avatar Feb 20 '21 09:02 jneves

PRs welcome

monkut avatar Jul 16 '22 07:07 monkut

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.

github-actions[bot] avatar Apr 03 '24 15:04 github-actions[bot]

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.

github-actions[bot] avatar Apr 13 '24 16:04 github-actions[bot]