![]() ![]() |
| |||||||||
| Hotspots: Slides and Code TA Corner Comments? Announcements FAQ Static Webspace | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| The programming doesn't have to be done by SQL, but it can be. Nice discussion of color ranges for red eye! Mark Guzdial |
| SQL is not an auto-HTML updater. Mark Guzdial |
| That's pretty good, Cassy, but you might want to make clear that we're talking about different programming languages. Let's think about this completely pragmatically. You're CNN. It's your job to have an up-to-date website all the time. You want reporters and editors working as fast as possible, wherever they are. You want to generate the website at a regular interval, with whatever stories are available. You don't want the reporters and editors worrying about technical details. How do you do it? You set up a database for stories to be pumped into and for editors to edit. You have techies write programs to pull out stories and generate the actual web pages, throwing in whatever advertisements and links and other things that you need—things that the reporters and editors don't need or want to care about. Your HTML generating programs can run at any time on whatever stories are available in the database. POOF! Thus we have CNN.com. Does that help? Mark Guzdial |
| And SQL stands for...? Mark Guzdial |
| Structured, not secure. SQL isn't necessarily secure :-) Mark Guzdial |
| It's not that "the Internet doesn't recognize the domain name of the website." The Internet is a LARGE collection of computers. It can't be "down" unless every computer on it was down. Your browser (YOUR computer) can't get the IP address, and that's why you can't reach the website. In a real sense, the Internet ONLY understands IP addresses. Without a DNS, you can't get the address, so you can't find the server you want. Mark Guzdial |
| You have a lot of faith in the Internet :-) The user doesn't write HTML for the queries. Some programmer (not a reporter) writes a program that queries the database for stories (probably using SQL for the query, but the overall program for generating the HTML could be written in Python or Perl or other languages), then combines that text with HTML (like in the example we did in class where I took a story and headling out of a database). The combined HTML file is then stored on a server for users (via their Web browsers) to access. The Internet per se doesn't play a big role in the Web page generation process. Mark Guzdial |
| That was a question on the last quiz. BOTH algorithms are background replacement. Background subtraction is where you compare two pictures (one with the subject/person/foreground, and one with just the background) and bring in pixels from a new background if comparable pixels are the same. Chromakey is where the background has a known color, so you simply replace pixels of the known color. In other words, background subtraction and chromakey are two different algorithms for background replacement. Mark Guzdial |