I've already discussed what web applications are and how they functioning.
Now you just need to know that web applications rely on two-way exchange of messages between servers and their clients over the Internet.
This is the basis of the operation of web applications.
Does this model always apply? (click if you want to know the answer)
Practically, there are exceptions to everything I write on these pages. Now I thought about the "peer-to-perr" communication model. I often skip mentioning or discussing these exceptions to concentrate on what generally occurs. Now I will do the same.
The transferred data is part of the message and is transmitted step by step over the network. I am not going to describe the technique of transferring data on the Internet - it is a very complex topic. All you need to know is that streams of bytes flow across the Internet between servers and their clients.
I remind you that in a binary system, one byte is an 8-bit number. One byte in decimal system is a number in the range 0 - 255. In hex representation that is 0x00 - 0xFF.
In summary, the data in client requests and the data returned by servers are sequences of bytes. Both server and client applications must be able to interpret these byte sequences. The data must therefore be sent in an appropriate format understandable by servers and clients.
I often use the HTTP protocol here. Generally speaking, any type of data can be sent using HTTP as long as both the client and the server know how to interpret the data being sent.
Basically, the following types of resources are transferred via HTTP:
• Text format (text strings),
• ArrayBuffer (fixed-length binary data buffer),
• BLOB (Binary Large OBject),
• JSON (JavaScript Object Notation),
• FormData (data sets in the form of key-value pairs).
These data types are also used in other communication protocols, e.g. in the WebSocket protocol.
The simplest form of data transfer in the internet is text.
The data transmitted is in its original form, without the use of any coding systems, e.g. alphanumeric characters.
ArrayBuffer is a JavaScript object useful for representing a fixed-length buffer of binary data.
MIME types or MEDIA types are a set of officially registered data formats, their identifiers, and their assigned file name extensions.
• BLOB
The BLOB is a file-like object of immutable raw data. The BLOB content can be be read as text or binary data.
• JSON
JSON is a very common syntax for storing and exchanging data.
• Base64
The Base64 is a method of transferring any type of data in text format.
We're sorry, this site is under construction
Final version soon