Maybe you ever hear about static and dynamic websites but you don’t know what they both are and what is difference between static and dynamic websites.
Which website fits your needs you can decide once you know what dynamic and static websites are.
Before we go forward you should know about client side languages and server side languages.
Read more about client side languages and server side languages.
Static websites are very simple websites which store data in files only they are like your company brochure which save the data in files and data is not coming dynamically, Suppose your website have 5 pages that means your website have 5 pages files in your server which have there data in each file related to page. When we go to specific page that means we are loading specific file which contain related data server side not involve in this type of websites server just send same files as they are on server side. Even if each page have same design layout they will repeat each and everything on each page and every page is there separately. Read more about static websites.
Dynamic websites like facebook you see the home page of facebook? The design of home page is same for you and that is same for your friend as well but that have different data for you and different data for your friend as well based on their connections that means facebook have only 1 home page design layout home.php and facebook post data based on user from server side database using php and show you different and different to your friends. If you are visiting a blog they post new post each day and that post come in a page that does not mean they create a new file for that post every day actually their post page is single and that display data related to post in that design. Read more about Dynamic websites.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?