Research 3
Research 3
Vaishali Tanwar
B.Tech Scholar
Department: Artificial Intelligence and Data Science
Arya College of Engineering and I.T Kukas,Jaipur(Pin)
Email: [email protected]
Abstract:
The moto of this research is the detailed study of Flask in Web Development and
doing a comparative analysis of Flask and Django. The theoretical part consists
of the process of web development and involvement of flask framework at the
backend along with the usage of flask.
We are also focusing on the application of Flask, not only this the paper is
dealing with the functioning of flask and creating API using Flask, but it is also
dealing with shallow knowledge about Flask tools and exhibiting the security
feature of Flask which is added in Flask Application.
To do the detailed study of flask working we have implemented it on an
application the application consists of java on the frontend whereas the backend
is associated with the python code and the technology we are using is Machine
Learning
Introduction:
Web development is the way of building and managing websites through web
tools and different languages (HTML, JavaScript, SQL, etc.). Website
development is generally divided into two parts; It is called the front end where
users interact with the system and make queries, while most of the process and
control messages are called after the query and data. For a website to work, the
frontend and backend work together. This is a difficult task as we need a lot of
tools and a lot of working time to create and develop a website, so for
convenience we mostly use Flask to build the website.
Flask is a website framework written in Python for web development. It is a
production of Armin Ronacher and was aired on April 1, 2010. Custom,
programming etc. It is a group of software libraries and modules that reduce
Flask is often called Microframework; Flask extensions are used to add data
abstractions for data manipulation and authentication support. Applications
currently using Flask include LinkedIn (a social networking application) and
Pinterest.
Method:
The process of developing a website consists of seven steps: -
1. Information Collection
2. Planning
3. Design
4. Content
5. Functionality
6. Testing
7. Update and Modification
SET ENVIRONMENT
CREATE APP
RUN APP
API GENERATE
Features of Flask:
Some features of flask are, Flask have in built development server for fast
debugging, it also has integrated support for unit testing, it’s base is Unicode and
uses WSGI and Jinja template, flask is associated with a small code, and it is
easy to customize the code, but the maintenance of the code is expensive.
Tools used in Flask:
Basically, there are two tools that flask used they are, Jinja, WSGI and
Werkzeuge toolkit
Jinja2 template engine: It is a templating engine of python; a web templating
engine combines with the template to render the dynamic web page.
WSGI: WSGI stands for web server gateway interface, it is used to build an
interface between web application and web protocol, also it is used to connect
the web pages in the chain so to make the web application work smoothly
processing the web pages one after another.
Werkzeuge: It is a toolkit that is used to implement the requests, response
objects and other utility functions.
Relative Work:
The implementation of the flask is done over an application in which the crime
related data is analyzed and information regarding the region is displayed, the
program written in the backend part of the application is implemented using the
flask framework, here the framework is used to generate the API of the backend
code, this generated API is merged with the frontend code so it become easy o
access the code of backend, in this project API is generally used to connect
backend and fronted part of the application.
Comparative Analysis:
Flask is not the only framework for the development purpose, there are other
development frameworks too, such as Django, ASP. Net, Cake PHP, Express.js
and Laravel and so on.
There is a comparative analysis between Django and Flask below:
Danjo is a full stack web framework, it uses an object-oriented approach, useful
for multipage application, it uses the most popular database management system
such as MY SQL and Oracle etc. It is less flexible due to its built-in function and
tools; it does not have full control over the modules and function also it has
monolithic style, it supports dynamic HTML pages, it is suitable for high
technology application.
Flask is the lightweight framework with number of features, it uses modular
approach rather than object-oriented approach, it is suitable for single page web
application, it uses SQL Alchemy for the database purpose, it is flexible for
developer, it has diversified style, flask do not support dynamic HTML pages. It is
good for the companies and projects that want to experiment.
Result of Discussion:
After all the discussion we can conclude that although Django is good for high
technology, but it is less flexible also conventional and do not support diversified
style whereas flask is flexible and is diversified apart from that it is good for
experimental module, so flask is better framework than the Django.
References:
https://www.researchgate.net/publication/
280154217_Efficient_Way_Of_Web_Development_Using_Python_And_Flask
https://www.academia.edu/41538217/
Efficient_Way_of_Web_Development_Using_Python_and_Flask
https://www.theseus.fi/bitstream/handle/10024/339796/Ghimire_Devndra.pdf?
sequence=2&isAllowed=y
https://www.cs.cmu.edu/~dga/papers/flask-usenixsec99.pdf
https://coddyschool.com/upload/Flask_Web_Development_Developing.pdf
https://www.ijrra.net/Vol6issue2/IJRRA-06-02-05.pdf
https://careerfoundry.com/en/blog/web-development/what-is-flask/
https://eprints.whiterose.ac.uk/183768/1/development-of-a-digital-twin-
operational-platform-using-python-flask.pdf
https://coddyschool.com/upload/Flask_Web_Development_Developing.pdf
https://www.researchgate.net/publication/
353186521_Why_we_use_Django_rather_than_Flask_in_Asset_Managem
ent_System
https://blog.devgenius.io/web-development-with-flask-or-django-a-
comparative-analysis-9e8edb3bcec4
https://flowygo.com/en/blog/django-vs-flask-python-web-frameworks-
comparison/