![]() Static websites show the same content to all users without considering their previous visits to your pages, other cookies, user roles, etc. Probably, the most interactive element is a button. Such websites normally have just one or a few pages, quite simple design, and almost no interactivity. Easy, clear, and simple, like most of the Internet 20 years ago. So, we have remote files that are sent to the browser when we request them. There can be some PHP but definitely no database. In this scenario, a server stores ready-to-read by the browser hardcoded HTML files (that, of course, have links to CSS, JavaScript, and media files). But the difference comes up when we look at what is happening on the server side.Īnd now, we can have two scenarios: Static website If you “cut a branch” – delete an image or script – your tree will definitely not look as before, right? The same happens with websites.Īt this point, on the browser side, both static and dynamic websites behave the same. DOM is traditionally compared with a tree, with all the links and branches that actually create the website structure. So, when the browser reads them, it sends requests to deliver all those linked files and builds a DOM (Document Object Model). And we are talking not about external links but links to CSS, JavaScript, and media files that will form a web page. The letter “H” in HTTP and HTML stands for “Hypertext,” which means text with many links. It sends a request (the HTTP address that any website has), and the server replies by sending chunks of HTML. Our browsers work with HTTP, which stands for “ Hypertext Transfer Protocol,” while HTML stands for “ Hypertext Markup Language.” To make a long story short, HTML is a language browsers speak with a server. ![]() It physically stores bites of information that form the website pages. How websites work: look under the hoodĪny website is about interaction where at least two parties are involved: a client and a server.Ī client is you or me sitting in front of a computer or a smartphone and wanting to open a particular website.Ī server is a remote server (owned by a hosting provider) connected to the Internet. But, actually, it’s better just to embed some third-party services to get better results instead of dealing with really static forms. The most interactive thing for static websites is forms. Static websites are almost as static as books the only difference is that they get information from a remote server and can have some animations, videos, and pictures. Dynamic websites: use cases and technologiesĭifference Between Static and Dynamic Website Architecture.Static websites: use cases and technologies.Difference Between Static and Dynamic Website Architecture.And obviously, dynamic content requires dynamic website architecture. The second one is about web page content and how it interacts with a user or its ability to change depending on various factors. The first one is about how the website is put together and whether it uses a database. Those definitions can be applied both to the website architecture and content. There’s kind of a mess in terminology, what to call static or dynamic.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |