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#. As stated in the Chapter 2,
Python is a very good language to use as it was pretty straightforward to
understand and I focused on the web development aspect of the project rather
than wasting time learning the language’s nomenclature
use of Flask for the design of my first quiz application was a good decision as
the website did not require a complex structure. It is extremely flexible
framework that is pretty straightforward to learn and build applications on. Flask is considered more Pythonic than Django
because Flask web application code is in most cases more self-explanatory.
Flask is a straightforward framework to start building applications in web
development because very little code is required for getting a simple fully
functional web application. This is important as when building simple web
applications, it would not be practical to write complicated code.
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 would possibly need to build
their applications. 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 selection of programming language and frameworks were the right decisions
and if subjected to build similar applications again, I would still choose to