The Internet Classroom
What does what on the Internet
2007/06/20 10:40:13 PDT by kass
[kass's avatar]

What does what on the Internet

View Source

  • Extremely useful for figuring out what's going on "under the hood" of some website. You can use it to learn how to do something or find where an image or film is located, etc.

  • Be careful when copying code; while markup itself cannot really be copyrighted, the design of a website and visual elements are considered to be intellectual property and a webpage author's exclusive use of it should be respected. You can use View Source to learn how to do certain things, but do NOT take that as a sign that you can just hijack everything you see.

"Normal" webpages / client-side

Web applications / server-side applications

  • Defined as any site that uses a database to store their content and a scripting/programming language to produce the pages that users see

  • http://tol1mac5.soe.berkeley.edu/~kass/day2/client-server-database.gif

  • The vast majority of today's web is made up of dynamically generated webpages for sites like these: Amazon.com, Wikipedia, YouTube, MySpace, etc.

  • Common scripting languages: PHP, Perl, ASP, JSP, ColdFusion, etc.

  • You could actually use Javascript, but it's not a good idea security-wise. Also better to let the server handle the load, rather than forcing the client's computer to do work.

Flash, Shockwave and Java applets are all also capable of pulling information from a database and using it as their content. For example, a high scores list in a Flash game is probably storing and recalling that information in an external database. Tangible example: http://kuler.adobe.com/, http://wefeelfine.org/

AJAX

  • XML + Javascript ... not really a typical web app, but becoming an increasingly popular technology combination these days.

  • Normally your web browser sends out just one request to a server, asking for a page and then loading it. You have to hit "refresh" in order for your browser to send out another request.

  • The Javascript in an AJAX application, on the other hand, is constantly sending out requests to the server, only instead of asking for the whole page, it just asks for things that have changed. This results in a seemingly constant connection/communication between browser and server and a more fluid experience.

  • MapBlast vs Google Maps

All TIC materials copyright © 2007 Cynthia Nie and Trevor Ridinger
Powered by Io Community Manager