Explain how can you structure a large Flask application ?

devquora
devquora

Posted On: Feb 22, 2018

 

To structure a large flask application, one needs to follow these steps:

  1. Connect to the functions and then move them to various files, as long as users are assured that it will get imported as the applications start
  2. Then use blueprints to assign the views to various categories such as auth, backend, profile, etc.
  3. Then use the hidden Werkzeug URL map and then register functions on a central URL map.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Python Flask Interview Questions

    What are the features of Flask Python?

    Flask Python is one of the newest frameworks of Python and is used for designing web applications for the following feat..

    Python Flask Interview Questions

    What are the advantages of Flask Python?

    Flask Python comes with all the advantages of Python and some additional pros of it are:Flasks design is lightweight ..

    Python Flask Interview Questions

    What is Flask-WTF and what are their features?

    Flask-WTF is featured to offer simple integration with WTForms. The Features include for Flask WTF are:Provides Integr..