1. introduction to internet and to the web. motto people are using the web to build things they have...
TRANSCRIPT
![Page 1: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/1.jpg)
1. Introduction to Internet and to the Web
![Page 2: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/2.jpg)
Motto
People are using the web to build things they have not built or written or drawn or communicated anywhere else.
—Tim Berners-Lee
![Page 3: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/3.jpg)
History: ARPANET
• Developed in late 1960’s by ARPA – Advanced Research Projects Agency, Dept. of Defense
• Connected computers in a dozen of universities and institutions – 56KB communications lines
• Allowed computers to be shared• Key benefit: fast communication between researchers
– email !
• Precursor of Internet
![Page 4: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/4.jpg)
Goals of ARPANET
• Multiple users can simultaneously send and receive data
• Must withstand nuclear attack– No centralized control– If a piece of the network fails, other portions will still route the
packets
![Page 5: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/5.jpg)
Achievements of ARPANET
• Pioneered packet switching– Data is sent in small "packets"– Packets contain data, address, error-control, sequencing info– Greatly reduced transmission costs
• Transmission Control Protocol (TCP)– Common protocol– Ensures that messages are properly routed and that they
arrive intact
• Used both for inter- and intra-communication• Connected huge variety of hardware and software
![Page 6: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/6.jpg)
Internet: How it Grew
• Initially only universities and research institutions
• Military became big user• Clinton government opened Internet for
commercial purposes– Businesses invested heavily in Internet improvements– Fierce competition among communications carriers and
hardware and software suppliers– Massive increase in bandwidth – Plummeting costs
![Page 7: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/7.jpg)
Internet: Standards & Applications
• Tim Berners-Lee at CERN – Invents Hypertext Transfer Protocol (HTTP)
• communications protocol for the web– Invents HyperText Markup Language (HTML)
• describe data and its appearance– Coins the term World Wide Web
• 1993 First browser: Mosaic – Web becomes usable for the public
• Netscape Company– Commercial browser – Initiates the explosive Internet of late 1990s
![Page 8: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/8.jpg)
W3C
• World Wide Web Consortium– www.w3.org– Founded in 1994 by Tim Berners-Lee
• Goals– Make Internet universally accessible– Standards
• HyperText Markup Language (HTML— getting obsolete) • Extensible HyperText Markup Language (XHTML)• Cascading Style Sheets (CSS)• Extensible Markup Language (XML)
Web 2.0
![Page 9: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/9.jpg)
Web 1.0
• 1990s and early 2000s• Big companies fight browser wars
– Microsoft vs. Netscape• Search engines vie for eyeballs• Every web site wants to be THE portal• A few companies produce content • Users browse• “brochure web”
![Page 10: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/10.jpg)
2003+: Web 2.0
• New technologies– Storage became abundant– Ajax– Rich Interaction Applications– Software as a Service (SaaS)
• Make new ways of using the web possible– Users create the content
• Companies provide the platforms
– Wikipedia, eBay, MySpace, Facebook, Flickr, YouTube
![Page 11: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/11.jpg)
Web Services
• Functionality of existing applications and websites is provided to public
• Large companies provide services– Amazon Web Services, Google Maps
• Small businesses create niche web applications– e.g. combine maps web services with classifieds
![Page 12: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/12.jpg)
Future: Web x.0
• Semantic Web– Understand the meaning of the data on the web
• Petabyte statistics– Is it needed to understand the web?– Inferences based on super-huge data amounts
work
![Page 13: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/13.jpg)
Web Elements: Markup Languages• Define data• Platform-independent• HTML
– HyperText Markup Language– defines web page elements and their layout– fixed, predefined elements and grammar– elements can overlap, not strictly a tree
• XML– eXtended Markup Language– arbitrary elements– strictly hierarchical– processed using scripting languages
• XHTML – XML–compliant HTML
![Page 14: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/14.jpg)
Web Elements: Programming Languages
• Scripting Languages – interpreted
• slow to execute• flexible: direct evaluation of text as code possible
– e.g. JavaScript, Perl, ActionScript, PHP, Ruby on Rails
• Compiled (or Hybrid) Languages – e.g. C, C++, Java, C#
• extra compilation step• fast execution
– hybrid: compiled into intermediate code, then interpreted– used on server-side
![Page 15: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/15.jpg)
Scripting vs. Compiled Languages
• Scripting languages start executing fast, but are much slower during execution– no compilation step– interpreters are slow
• Scripting languages are easier to port to another platform– It is harder to write a compiler than to write an interpreter
• Scripting languages are more dynamic– e.g., server-side applications can generate code and send it to the
browser where it can then be immediately interpreted
![Page 16: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/16.jpg)
Object-Oriented Programming
• Vastly superior paradigm• Programmers can be more productive
– software can be easier to write, understand, debug and modify
• Reusable software components– Extensive free libraries are available online!
• Languages for Web programming are object-oriented – take advantages of it– JavaScript, Java, C#, ActionScript
![Page 17: 1. Introduction to Internet and to the Web. Motto People are using the web to build things they have not built or written or drawn or communicated anywhere](https://reader035.vdocuments.us/reader035/viewer/2022081821/56649ef65503460f94c09c16/html5/thumbnails/17.jpg)
Tasks
• Read textbook Chapter 1 and Chapter 2