Skip to content

devsacti/WEB-APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Overview of WEB-APP

  • Intro
  • Analysis of Front and Back
  • URL and HTTP
  • Implementation

Intro

webapp_electronic_vending_machine

(TO ME) Web Service is 'Electroic Vending Machine'

I think WEB-APP can be figuratively mapped with 'Electronic Vending machine'.

The Electronic vending machine you encounter has 'Front and Back'.

It is waiting for calls of client that canbe human's actions, or more specifically calls of web browser like 'chrome'.

Clients call the WEB-APP(Web service Application) by URL.

Analysis of Front and back

WEB-APP = Front + Back (= Front-End + Back-End)

Front = ((html + css) + javascript) ; (index.jsp), (index.mustache), ...

Back = ( (API of WEB-APP + Server) + Database )

; ( (config and controller.java of JAVA-APP + AWS Linux Server) + mybatis-OracleDB ), ...

*Server = ( OS + HW ), and Server has at least 2 kinds and combination of those; Web Server, Web Application Server(WAS), etc.

Flow between Front and Back

Let's assume that you input the primary url and WEB-APP returns the index page,

and it can be regarded as "Menu of Web Service".

Generally, Menu of Web Service provides choices of buttens mapped with other urls.

And those urls is mapped with functions of back-end of Electronic Vending Machine

So, You can access the functions that control the resources of Web Service.

control? then Controller

this conception of flow canbe described at the perspective of back-oriented as 'Controller of MVC pattern'.

URL and HTTP

URL : Uniform Resource Locater

(ex)https://www.google.com

Generally, if human user clicks or inserts the certain URL,

then, URL(or 'internet address') calls the function of WEB-APP.

And function provides html documents which is, in other words, Front-End.

more specifically, "index page" like index.jsp, index.mustache, ...

URI : Uniform Resource Identifier

(To be supplemented later)

HTTP : Hypertext Transfer Protocol

(TO ME) Data Transfer Protocol of WEB

Hypertext is major one of Data of WEB.

But this H.Y.P.E.R.T.E.X.T makes me think hyper, hyper, hyper , etc

To begin with, i will regard it Data.

Implementation of WEB-APP

In my Github, basic framework is 'Spring (boot)'

In this perspective, Spring Framework is a core joint of Front-End tool like jsp, Persitence-Framework like myBatis, Server that has runtime like AWS Linux

(ex)

                 :arrow_upper_right: Front-End like index.jsp

Spring Framework with Build Tool  :arrow_right: Back-End like HomeController.java

                 :arrow_lower_right: Server

                 :arrow_lower_right: DBMS - Database

Above description maybe suggests blueprint of implementation of web app but to implement web app, Many Configurations of jsp, Spring with java & mybatis, Server, DBMS.....

4 categories of functions of WEB-APP ; CRUD

Categories of functions based on processing resources like data of DB, ...

  1. Create Button send url, generally inserts the new data into the DB of WEB-APP.

  2. Read Button sends url that requires the infomations user want to see.

  3. Update Button sends url that requires change the data of DB, generally based on sub part of url.

  4. Delete Button sends url that requires remove the data of DB, generally based on sub part of url.

Story of CRUD

Click the 'sign in' button of site,and do something(Create)

Click the 'see the detail of account' button after log in,and see the infomations of your account,(Read)

Click the 'change the nikckname' button, and do something,(Update)

Click the 'Withdrawal from site' button,(Delete)

Extension : Analysis2 of WEB-APP

(TO ME) WEB-APP = Client + REST API

Client

(TO ME) Completely independent Front from implementation of back of webapp.

One of Client is 'Android App without DB' that requests data of server. This client is executable and accessible independently of the backend in perspective of implementation.

Recently, vue.js and react.js are also means of realizing these clients.

Of course, jsp is also semantically a client. However, in perspective of implementation point, there is not much difference from a backend such as HomeController.java. It must be written and executed at the same time.

These clients receive additional information from the REST API and provide richer services.

REST API : REpresentational State Transfer API

(TO ME) Completely independent back from implementation of front of webapp.

Client-Side Language like react, vue of Javascript has much more Role and Reposibility of Front of Web App.

The front-end has become more independent of the back-end like Android apps.

In this Context, I think,

A simple understanding of REST API is that it is independent of the front when implemented.

But

I found that this easy understanding is too humble to comprehend REST.

In my opinion, the state of REST can mean the state of a resource. And this resource can be a table in the database. It can also refer to a specific Java object.

However,for now, I ends with several references.

My Implementations of Web Application

(TO ME) WEB APP = Front + Back = Client + REST API

JAVA-APP

PYTHON-APP

The Relates

Server

Server ; Cloud-Server

References

  1. Image of Front-End and Back-End - https://blog.dalso.org/language/web/6523
  2. REST API ; redhat - https://www.redhat.com/ko/topics/api/what-is-a-rest-api
  3. REST API ; aws - https://aws.amazon.com/ko/what-is/restful-api/
  4. REST API ; ibm - https://www.ibm.com/kr-ko/cloud/learn/rest-apis
  5. REST API ; gmlwjd9405 - https://gmlwjd9405.github.io/2018/09/21/rest-and-restful.html

About

Access to WEB-APP,components of WEB-APP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published