How Does Website Work
Might we you thinking to create your own website and launch it to the Internet, but may be you are unfamiliar with that how does websites work.
So, in this post you like learn everything about how does website work.
But before you read this post, you must know some basic terms of it. So I request you to read
Through a Web browser, you request a website as you type it's URI in the address bar(like this technikahub.blogspot.com). If the DNS finds the request valid (i.e. the website you requested exists), it starts rendering the website in the browser window.Website owners need web space to host their websites. Every website you request through a browser is fetched from the service used to host the website. In general terms, such a service is called a Web hosting service.
The rendering and functioning of a Website in a Web browser is controlled by HTML, CSS, and JavaScript.
- HTML is to structure OR mark-up a website (eg. media, text, divisions, form elements etc.)
- CSS is to style it's different components (eg. colors, background, positioning etc.). It is added to the HTML by means of <link> OR <style> tags.
- JavaScript is to add client-side functionality to it (eg. validating forms, a sticky header/sidebar, animated news ticker, carousel etc.). Uses <script> tag to get embedded in the HTML.
The simplest way to use static HTML files as (part of) your website is to upload them to your Web hosting account. You should take the guidance of hosting service's support to set that up if you're feeling difficulties.
Now imagine you have some 100+ separate HTML files on your Web host. If you wish to update your website, would you update all these files one-by-one? That would be real cumbersome task. Don't do that.
To simplify the maintenance process, HTML can be pre-processed with the help of some server-side solutions, and can be served dynamically without needing/creating static files.
Some widely used solutions to serve dynamic HTML are hereunder:
- PHP Or a CMS based on PHP (eg. WordPress, Drupal etc.),
- ASP
- JSP
- A Blogging Service like Blogger,wordpress
- NodeJS; a website platform based on NodeJs
- A Templating language like Handlebars, Twig, Jade etc.
People hire Web designers and developers to plan designs of their websites, and to implement and maintain that design respectively.