WEB Tech
WEB Tech
WEB
TECHNOLOGY
Server
Side
Technologies
PYTHON
PYTHON
Python is a high-level programming language: Easy to learn
1 and use. Its syntax is clear and readable.
3
Python is used in a wide range of applications: Python is a
versatile language that can be used in a variety of
applications, from web development and data analysis
4
Python has a large and supportive community
PYTHON
NODE.JS
2
It is an open-source, component-based front end
library which is responsible only for the view layer of the
application.
4
React uses Virtual DOM exists which is like a lightweight
copy of the actual DOM.
DOM TREE
Q: Which is the better method to make a1 equal to a2?
M-1
for(int i=0;i<3;i++){
a1[i]=a2[i];
}
M-2
a1[2]=a2[2]
Q: Which is the better method to make a1 equal to a2?
M-1
for(int i=0;i<3;i++){
a1[i]=a2[i];
}
M-2
a1[2]=a2[2]
VIRTUAL DOM
In real DOM, after the change, the tree has to
be re-rendered to update the application UI.
1
2
The re-rendering or re-painting of the UI is
what makes it slow and expensive with
increasing UI components.
3
In Virtual DOM, if the state of any of these
elements changes, a new virtual DOM tree
is created.
4
Then, the virtual DOM compares these
changes to the real DOM and makes suitable
changes, ensuring minimal operations on the
real DOM.
ANGULAR JS
1 AngularJS is a free and open-source JavaScript-based
web framework for developing single-page applications.
2
It extends HTML DOM with additional attributes and
makes it more responsive to user actions.
3
Applications written in AngularJS are cross-browser
compliant. AngularJS automatically handles JavaScript
code suitable for each browser.
4
AngularJS provides developers an option to write client
side applications using Model View Controller (MVC) .
MVC ARCHITECTURE
2 The View component is used for all the
UI logic of the application.
1 Model can can
represent either the
data that is being
transferred between
the View and
Controller
components or any
other business
3 Controllers act as an
logic-related data. interface between
Model and View
components to
process all the
incoming requests,
manipulate data and
render the final output.
Web Framework & Databases
DJANGO
Django is a high-level Python web framework that follows the
Model-View-Controller (MVC) architectural pattern.
1
4
Template engine: Django comes with a template engine that
allows developers to easily create dynamic HTML pages.
FLASK
Flask is a lightweight Python web framework that is easy to
1
learn and use.
3
Templating: Flask supports a variety of templating engines,
including Jinja2 and Flask own built-in template engine.