



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Web app architecture :- The interconnections between applications, databases, and middleware systems on the web are described by the web application architecture. It is the design that specifies the link between the client-side and server for a better online experience. To reduce security risks, particularly the danger posed by malicious software, web design divides the application into discrete sections that are safeguarded individually. All applications are made up of two primary components: Client side:- Also called the front end, where HTML, CSS, and JavaScript are used to create and store the code. It is the location of user engagement. Server side:- Also called the backend, which oversees company operations and answers to HTTP queries. The server-side code is created in languages like Java, PHP, Ruby, Python, etc.
Source:- https://reinvently.com/wp-content/uploads/2019/08/scheme.jpg Web Application Components :- UI/UX Web Application Components – Activity logs, dashboards, notifications, settings, analytics, etc. are included in this. These elements have no bearing on how a web application architecture functions. Instead, they are a component of a web app's interface layout strategy. Structural Components – Client and server sides are the two main structural elements of a web application.
Source :_ https://media.geeksforgeeks.org/wp-content/uploads/20190523110623/Untitled-Diagram-371.png
https://media.geeksforgeeks.org/wp-content/uploads/20190930195656/http_req_res.png
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets and scripting languages such as JavaScript. DOM The Document Object Model (DOM) is an extensible markup language (XML) and HTML (HyperText Markup Language) programming interface. It outlines the logical organisation of documents as well as how they may be accessed and changed. DOM is a method of representing the website in a hierarchically structured form, making it simpler for programmers and users to navigate the document. Using the DOM, we may quickly access and modify HTML tags, IDs, classes, attributes, or elements using the Document object's given commands or methods. JavaScript can access the web page's HTML and CSS using the DOM and can also give HTML elements behaviour. Therefore, Document Object Model is essentially an API that interacts with and represents HTML or XML documents. Object Model The behaviour of a document and the objects it is made up of, like tag elements with attributes in HTML, are also included in the model of a document that uses objects to represent its structure. Properties of DOM: Let’s see the properties of the document object that can be accessed and modified by the document object.
source:- https://linuxhint.com/wp-content/uploads/2022/01/HTML-DOM-1.jpg
Window Object: The browser's Window Object is always at the top of the hierarchy. It functions similarly to an API in that all of the browser's properties and methods may be configured and accessed through it. The browser automatically creates it. Document object: A document object is created when an HTML document is loaded into a window. A number of the 'document' object's properties refer to other objects, allowing access to and alteration of the web page's content. We always begin by accessing the 'document' object whenever we need to access any element on an HTML page. Window object has a document object as a property. Form Object: It is represented by form tags. Link Object: It is represented by link tags. Anchor Object: It is represented by a href tags. Form Control Elements:: Form can have many control elements such as text fields, buttons, radio buttons, checkboxes, etc. Javascript event handlers An event is defined as a change in an object's state. There are a number of events in HTML that show when a user or browser performs a certain action. Js responds to these events when javascript code is embedded in HTML and permits execution. The act of responding to events is known as event handling. As a result, js uses event handlers to handle HTML events. For example, when a user clicks over the browser, add js code, which will execute the task to be performed on the event.
Source:- slideshare
OPEN API OpenAPIs • The (OAS) is a standardised format that is frequently used for describing REST APIs. You can use OpenAPI to specify your API's endpoints, operation parameters, request responses, and authentication flows. The OpenAPI format is simple to read and comprehend for both programmers and machines. Currently, 2.0 and 3.0 are the two principal OpenAPI releases (the latest release is 3.0.3). While it makes some significant advancements, it also makes it more difficult to decide which version to use. We'll examine some of the most significant variations between OpenAPI 2.0 & 3.0. Version 2.0 In version 2.0, the three elements that make up the BAPI endpoint URL are Host, basePath, and schemas. These component values are combined to produce the endpoint URL. According to this specification, an API's endpoint URL can only be defined once. Version 3.0 is thus released in order to lessen this constraint. Version 3.