In this section, results and evaluation of
the quiz applications will be discussed. As a whole, the two applications are
fully functional. Testing on Flask and Django are done via functional testing.
The sites were accessed by more than one machine at a time to check it the two
applications can handle it. However, the database of the Django Quiz App was
tested using Pycharm’s built-in test function. All errors in these applications
can be found via functional testing and the errors found have been discussed in
the Chapter 3.
for the evaluation, the use of Python language was a good choice, mainly for
its strong emphasis on readability and efficiency. The language itself was not
difficult to learn when compared to Java or C#. Python’s reliance on common
expressions and whitespace reduces the amount of code that need to be written.
use of Flask for the first application designed was a good decision as the
website did not require a complex structure. It is extremely flexible framework
that is simple to learn and use. Flask is
considered more Pythonic than Django because Flask web application code is in
most cases more explicit. Flask is easy to get started with as a beginner in
web development because there is little boilerplate code for getting a simple
application up and running. Flask was also written several years after Django
and therefore the developers learned from the Python community’s reactions as
the framework evolved.
the second application, the choice of using Django was the best decision as it
is a programming framework that suits big scale projects. The framework has
many toolkits that has all functions developers need to build their
application. For example, the administration functionality Django provides made
it easier to build the administrative function of the web application. The
built-in user authentication system in Django saved a lot of time as I did not
need to write code for user log in.
the choice of programming language and frameworks were the right decisions and
if subjected to build similar applications again, I would still choose to use