CS511_Topic003

Brief Summary

This module explains the differences between static and dynamic websites. Static websites serve pre-built files, requiring minimal server processing but lacking dynamic content. Dynamic websites generate content on the server-side, allowing for personalized experiences and interactivity. Modern dynamic websites use technologies like AJAX to update content without full page reloads, improving user experience and efficiency.

  • Static websites serve pre-built files with minimal server processing.
  • Dynamic websites generate content on the server-side, enabling personalized experiences.
  • Modern dynamic websites use AJAX for partial content updates, enhancing user experience.

Static Websites

In a static website, when a user requests a page, the server simply retrieves the corresponding file and sends it to the browser. The server's role is minimal, as it only serves pre-existing files. This approach has limitations, as it cannot provide dynamic content or personalized user experiences. Features like user logins and customized content are not possible with static websites.

Dynamic Websites

Dynamic websites generate content on the server-side. For example, a login page can display a personalized greeting like "Hi Ahmed" by processing user data. This requires server-side scripting languages like PHP to generate HTML content dynamically. In traditional dynamic websites, navigating to a new page involves a complete server-side request and content regeneration.

Modern Dynamic Websites with AJAX

Modern dynamic websites use technologies like AJAX (Asynchronous JavaScript and XML) to update content without full page reloads. When a user interacts with a page, JavaScript can request specific data from the server. The server processes the request and sends back only the necessary data, which JavaScript then uses to update the page dynamically. This approach reduces server load and improves user experience by providing faster and more seamless updates. For instance, if only the username needs to be updated, only that information is requested and updated, without reloading the entire page.

Summarize any YouTube video in seconds

Get summaries like this one for any video, in your language, with the free Summ app.

Download on the App Store
Get it on Google Play

Transcript

Full transcript of “CS511_Topic003”. Click a timestamp to open the video at that moment. Need another video? Use the YouTube transcript generator.

0:00 In this module we will see two maintained types of websites, one is called holographic website and the other is dynamic website, so let's try to understand its pimples, subscribe is that we have to do it with full force and in subscribe there is one that don't see the question subscribe, we definitely subscribe to our

0:56 subscribe, this request comes to sir that sir this file can be saved and this file goes back to the point which the browser receives and in this static website the server does not have to do much work, it just has to present that file and send that point to the user, what will be its limitations, because if it happens then you cannot have time and

1:44 subscribe and subscribe to any website login page then yours appears written there that Hi Ahmed, so ours appears written there and then to the contest channel and then to someone else, so here there is one, use it but subscribe to the channel does

2:41 not get subscribed, You can subscribe again that what the server will do is that it has extract product here till now PHP is there so PHP will generate the meaning of Enrich program which is basically HTML file and that festival file will go to it what kind of text message is there on fixing that questions about HTML5 video is there that now here what is there is vacation and tasty Stephanie that points rate that the name of this file will remain vacation and PSP only

3:27 but it will come back from the line Chandhok will be cigarettes to remove this contest and it will go to it in the traditional dynamic website that we used to have that whenever a person wanted to go to another page then there was a complete strip that was server side effect on the basis of that the contests were generated that line so let's know but nowadays you are using this film a lot in a hurry now you have SSP generated in your appointment book that this back page gets updated automatically What can be done is that it makes a request for electrification

4:12 work PHP, that request is with the server that the survey and PHP will be activated on its base dynamically with the contact form and some shift will happen, it will have a JavaScript, it will attach it and it will go to the line now if the user name has to be made subsequent request, for that that request will not go to the Additional Superintendent of Police server, now the JavaScript only needs the drop test information, only that information will be requested 24 hours a day, if we send the updated content then the entire house will not be logged in again, so special what is the internal

Share

More video summaries