Basic concepts of web applications, how they work and the HTTP protocol

Basic concepts of web applications, how they work and the HTTP protocol



so in this video we are going to look at the basics of web applications or how the web applications work first of all let us understand what's called a web application a web application is a piece of software which can be accessed from a browser and you know what's called a browser a browser is an application that you use for browsing the internet and the examples are your ie or Firefox or Google Chrome or suffer you all know about that technically speaking we can call a web application a web server although there is a difference in the sense that a web server can host multiple applications but for the time being let's call it web application a web server and a web server is actually network application running on some machine listening on a port the browser is actually called a web client or more formally we call that a user isn't and in fact web clients are not only browsers but any application which can speak to a web server like your see URL or telnet they are also our clients or user agents so the web client or the user region communicates with the web server to get its job done and for this communication and actually for any communication both the parties need to use the same set of rules or grammar which we call protocol in technical terms ah you got what is called a protocol it's simple like when two parties are communicating for example when two people are communicating they need to use the same language and the same set of grammar rules so that they can understand each other similarly in computer science when two applications are communicating they you and they need to use the same set of rules which we call protocol and the browsers can speak some standard protocols like the HTTP protocol the FTP protocol the WebSocket protocol are there are many protocols which the browsers can speak in their standards and each of these protocols are suitable for different kind of tasks for example the FTP protocol is used for transferring files and among all these protocols the HTTP protocol is the merge protocol in the web client and the web server club that means uh most of the times the web client and the web servers speak to one another using the HTTP protocol and in fact in this whole tutorial we are going to focus only on HTTP protocol so let's dig somewhat more into the HTTP protocol or to understand HTTP protocol we need to start or let's start with what is called a web resource or a resource as commonly said it is SUSE a document like an HTML document or a PDF document or logician document or an XML file or any kind of document which is hosted by a web server or in other words a web client can access those documents through a web server the source could be either static or dynamic a resource which does not change it's called a static resource that means it's like some static file sitting in the web servers hard disk or sitting somewhere which the web server has got access to and when a request for a resource comes from a web client the web servers passes that as resource to the web client straight in contrast a dynamic resource is generated on the fly in the sense that when a request for a dynamic resource comes from a web client the web server o builds the resource on the flyer for example suppose a web server has a resource which embeds the current time either in a session or some XML document or an HTML page or whatever so when is request for that particular resource comes from a web client the web server gets the current time from the system and push that into a JSON document build suggestion document or an XML document or an HTML document embedding that particular time into it and then it sends back that document to the web client each resource on the web in the world is identified by a unique URL which is actually unique string I should be more clear when we look at an example so this is an example of a whorl which points to a unique resource in the world and this part of the oil is the protocol and this part identify the web server in the world and this is the path of the resource in the web server we will talk about URL more in some later video let's go back to HTTP now so HTTP protocol is basically request response protocol that means whenever the web plan needs to do some operation on a source like reading it or updating it or deleting it or creating a new resource or any kind of operation the web plan first establishes a connection with your web server where the resources are hosted and then they were clients and sell request to it the request contains the details of what the web plant once liked which operation it ones at all while the web server receives a request it responds with a response back to the web client that means it sends is a spawn back to the web client and the content of the response depends on what was requested for example if the client asked to read a resource this server can either put the resource in the response or in from the client then the resource is not available with me and you go to somewhere else for the resource or something like that and then after the response is given to the web client the connection is closed and the web server does not remember anything about the past connections and who the clients where that means next time if the client sends endless requests to the server the web server will treat that request as a new request coming from a new web client and because of this nature the HTTP protocol is called a stateless protocol and this one pair of requests and response is called an HTTP transaction so this was a basic overview of how web servers and web clients work and in the next video on once we shall be looking and going deeper on all these

42 thoughts on “Basic concepts of web applications, how they work and the HTTP protocol”

  1. excellent work Sir…..the explanation flows and absorbs like water.make lots and lots of videos and share all that is within you,stay blessed

  2. thank you very much for this perfect explanation,
    But I still have some queries such as how the browser chooses protocol to use ;
    and how the cookies are considered valid in some site, even though they write the name of this protocol in their URL .

  3. Ye jo bhenchodon accent accent lagate hain, itna bada problem hai kya yeh?? Speaker clear hi toh bol raha hai na. Mujhe toh sab kuch samajh mein aagaya. Koi problem nahi hui. Agar samajh mein nahi aaya toh subtitle laga lo na!

    Natural Programmer ji ko mein yeh kehna chahta hun ki, yeh topic mein poorey youtube mein aapka hi tutorial best hai aur delivery style aapka hi bahot accha hai. Your voice is calming and your delivery style is clear, concise and to the point. Please aisa tutorial banate rahe, abhi jo "accent" hai wohi hisab se (Though it wasn't that noticeable). Keep up the good work vai!

  4. Nice explanation, I am impressed , In fact I have included your video in my post, let me know if you are not comfortable Thanks

  5. Since you asked… when saying http. please say H T T P. Say each letter clearly with separation instead of running them together. It causes someone listening to pause and try to figure out what you just said. When we do that, we miss the important few words that come after that.

    I speak Spanish. It's mostly the accent! Spanish speaking people tell me that I speak excellent Spanish but I don't. I do, however, have their accent down to the point that they cannot tell I am born and raised in Indiana. White as white gets!
    I am more interested in being able to communicate vs. how stupid I may sound trying.
    Also, in the states we say (at 20 seconds you say " you know what's called a browser")… should be "you know what a web browser does (or, "is")". At 10 seconds "you know what's called a web application"… should be "you know what a web application is"

    IT IS OK TO END A PHRASE WITH A PREPOSITION… LOOK IT UP. IT'S ALL ABOUT GETTING SOMEONE TO UNDERSTAND YOU
    Very nice simple presentation. Do more please and don't be afraid to try the accent, it's part of the language.

  6. Good video. In the future, I’d recommend hiring a voiceover actor who speaks clear English to narrate your video. Since the video is in English, it will make the video easier for viewers to understand.

  7. Is it possible to build a web application to do the webscraping tasks and send scheduled emails to deliver results?

  8. want you build a Web Based App Contact with us :

    http://www.syspoly.com
    http://www.syspoly.in/
    http://www.pheunix.com/
    http://www.pheunix.in

    Any One Website and Contact with Us

  9. This is quite informative video. Few things : Nowadays after 4 years since the video was made its is https which is mostly used. However I liked the video .

  10. thanks for your wonderful video with good explanation, still post some more and suggest some projects. https://www.tibacademy.in/angularjs-training-in-bangalore/

Leave a Reply

Your email address will not be published. Required fields are marked *