CSCI 315: Laravel, Flask, Docker

¡Supera tus tareas y exámenes ahora con Quizwiz!

If you had a Flask app called microblog, where would your application be contained?

/microblog/

Where would the file be that initializes your microblog application and brings together all of the various components?

/microblog/__init__.py

Where would you put the Jinja2 templates for your microblog app?

/microblog/templates/

Where would the routes for your microblog application be defined?

/microblog/views.py

What is Flask?

Flask is a micro framework written in Python that does not require particular tools or libraries or pre-existing components

What is Laravel?

Laravel is an open-source PHP web framework for application development that uses the MVC pattern

When would it be best to use a framework like Laravel?

When an application needs to be developed rapidly

When would it be best to use raw PHP?

When the code is small and when it is less important to separate application logic from presentation

When would it be best to use Flask?

When the developer wants to choose the tools and libraries they want to use

Where does application logic exist in Flask?

app.py

What contains most of the configuration variables that your Flask app needs?

config.py

What file lists all of the Python packages that your app depends on?

requirements.txt


Conjuntos de estudio relacionados

Mga Batayang Konseptong Pangwika

View Set

1.4 The internal and external environments

View Set

Bio 2 Monday Tests_Mrs.Flock's Class

View Set

First 100 from blood sweat and pixels

View Set