Photo by Jackson Sophat on Unsplash
Basics of Web Development
Minor Peek into the world of Web Development
From a layperson's point of view, the internet is mostly utilized to exchange resources globally.
Further yet, we required a more structured and focused method of distributing the resources, so we turned to websites.
Nevertheless, to design and publish a website, we required a fundamental framework that would allow the contents of the resources to be shared effectively.
So we got introduced to HTML (HYPERTEXT MARKUP LANGUAGE).
Also, we needed the website to have an aesthetically pleasing presentation, which is why we were first introduced to CSS (cascading style sheets).
Website = HTML + CSS (as of now).
Alright! We have used the above-mentioned and developed a website!
The next thing is to publish them.
But how? there comes the SERVER!
A server is nothing more than a shopkeeper who delivers the materials to the client by the client's request.
where,
Materials \= folders that contain files (HTML + CSS), etc..
Client \= user who requested the website.
Language for communication b/w the client and the shopkeeper = HTTP requests and Response
We the Developers are the makers of the materials described above and the manufactured materials can be managed using CPanel (a platform to manage the folders containing HTML, CSS,..)
Thus, a website is served to the Client !!
Apache HTTP server is the most commonly used web server taking out NCSA server since 1995 and it uses Process-driven Architecture Module, which is Open-source and free, even for commercial use, it is Cross-platform (works on both Unix and Windows servers) which makes it a Popular Web Server.
but as of now,
Nginx currently handles a larger percentage of requests than Apache 2.0, thanks to its Event-driven architecture that handles multiple requests within a single thread.
P.S. : This post is exclusively for static web pages!