1.

Explain How Can You Structure A Large Flask Application?

Answer»

To structure a large FLASK application, here are the following steps:

  1. Stick to the functions and move them to different files, as long as you are assured that it will get imported when the applications starts
  2. Use blueprints to ASSIGN the VIEWS to “categories”. For instance auth, PROFILE, BACKEND, etc.
  3. Use the underlying Werkzeug URL map and register functions on there on a central URL map.

To structure a large flask application, here are the following steps:



Discussion

No Comment Found