Dasar-Dasar Internet Dan Website: Tif 102 - Dasar-Dasar Web
Dasar-Dasar Internet Dan Website: Tif 102 - Dasar-Dasar Web
DAN WEBSITE
1980’s
Business Investment in networking
SUN
The network is the computer
Apple
Mac with build in networking, WYSIWYG user interface
Novell, 3Com, Cisco, Ethernet etc
Other network projects
Implementation
•world wide web (Web)
•e-mail (POP, SMTP, IMAP)
•chat (IRC)
•file transfer (FTP)
•remote access (telnet)
IP requires each connected computer to have a unique
address: a number such as 150.108.64.52.
Clients such as home computers are generally assigned
IP addresses dynamically (by DHCP) from a pool of
available numbers upon connecting to the Internet.
Server computers have static IP addresses.
Computers can also be identified by names. Domain
Name Service (DNS) translates between name and
number.
Internet names have two parts: a host name (the first
component) and a domain (everything else). Example:
erdos.dsm.fordham.edu
Various protocols are built on top of TCP/IP:
E-mail (SMTP)
File Transfer Protocol (FTP)
Drive and printer sharing protocols, e.g. NetBIOS
Network Time Protocol (NTP) for setting computers'
clocks.
Hypertext Transport Protocol (HTTP): the World-Wide
Web
TCP requires computers to connect via numbered ports
defined by the network software applications. Each protocol
uses a different port. For instance, Web transactions usually
use port 80.
Note that the Web is just one of many protocols using the
Internet.
THE WORLD-WIDE-WEB
Invented around 1990 by Tim Berners-Lee, a programmer at
CERN (a physics lab in Geneva) to simplify sharing of
information between research groups.
Tim Burners-Lee worked out how to use hypertext over networks. Three
key inventions:
W3C
Lingkungan Web:
-Web server
-Web browser
-HTTP
-URL
request
response
Internet
Web Server Client
(web browser)
Hypertext Transfer Protocol
TCP/IP
Displayed
information
HTTP Response string
Uniform Resource Locator
•Standardized address name for resources (documents, images, …) on the WWW.
•Domain dikelola oleh InterNIC
•Untuk domain .id dikelola oleh Depkominfo
Eg:
http://www.imdb.com
ftp://astro.caltech.edu
http://www.safri-lubis.info/file/index.php
http: protokol
Alamat server: www.safri-lubis.info
Top level domain (TLD): .info
Sub folder: file
Halaman web: index.php
Bahasa language yang digunakan: php
Sistem pemberian nama domain
Secara umum ada tiga jenjang dari domain yaitu Root-Level Domains
(merupakan level paling atas dari domain dan diekspresikan dengan lambang
(“.”)),
Top-Level Domains /TLD (yang merupakan top level dari domain dan terdiri
dari berbagai jenis misalnya .com, .edu, .net dan sebagainya, top-level domains
dapat berisi second-level domains dan hosts)
Second-Level Domains (dalam second-level ini terdapat host dan domain lain,
yang disebut dengan subdomain. Pada host name, domain yang digunakan
akan menciptakan fully qualified domain name (FQDN) untuk setiap computer).
Adapun yang bersifat internasional seperti TLD .com (yang menangani aktifitas komersial), .net
(untuk jaringan), .org (untuk organisasi), .edu (untuk lembaga pendidikan), .gov (untuk lembaga
pemerintahan), .mil (untuk kepentingan militer), .biz, .info, .mobi, .num (nomor telepon), .arpa dan
.name.
Sedangkan yang bersifat spesifik Negara (ccTLD) seperti .ca (Canada), .uk (United Kingdom), .au
(Australia), .my (Malaysia), .in (India) dan .id (Indonesia).
Penetapan TLD internasional tersebut berada dalam wewenang ICANN (The Internet Corporation
for Assigned Names and Numbers, http://www.icann.org) dan pengelolaan TLD secara
administratif merupakan wewenang dari IANA (Internet Assigned Numbers Authority,
http://www.iana.org). Hingga saat ini ada kurang lebih 265 TLD yang dimanajemen oleh IANA
(http://data.iana.org/TLD/tlds-alpha-by-domain.txt).
ICANN juga menetapkan ccTLD, tetapi pengelolaannya diserahkan kepada lembaga yang
ditunjuk di negara bersangkutan. Indonesia sendiri memiliki ccTLD .id dan pengelolaannya
diserahkan kepada Depkominfo Departemen Komunikasi dan Informatika Republik Indonesia
(https://register.net.id/). Hingga saat ini Depkominfo telah mengatur 9 sub domain (second-level
domains) bagi ccTLD .id yaitu .go.id (lembaga pemerintahan), .co.id (perusahaan), .net.id
(jaringan atau ISP), .or.id (organisasi), .ac.id (lembaga pendidikan), .mil.id (lembaga militer),
.sch.id (sekolahan), .web.id (situs pribadi) dan .war.net.id (untuk Warnet).
Untuk memiliki sebuah domain, maka harus berhubungan ke
Registar yang memiliki hak untuk menambahkan domain baru
dibawah TLD yang sudah ada.
Browsers
HTML, javascript
Network Protocols
TCP/IP, HTTP, FTP etc
Servers
Web Servers, Server side programming environments
Operating Systems
Linux, BSD unix, GNU software, Windows
Script language
HTML, javascript, PHP, ASP, XML
Interface design
CSS
Editor
Kedit, vi, notepad
Server Side Application Programming
Web servers
Apache, Netscape Application Server, IIS
server etc.
Cgi programming, server api, perl, php
Application Servers
Sun ONE J2EE server, BEA Weblogic, IBM
Websphere, tomcat, jboss, jonas etc.
Client side programming
Browser Based Clients
HTML + DHTML
Applets
Clients run in a sand box, secure
environment
Application Based Clients
Heavy and Light Clients with full access to
local machine
Database driven applications
Upto Date web content
Ease of Management
Flexibility in Delivery
Multiple output formats
Individualised Web Content
Browsers
User Friendly Browsers
NCSA Mosaic
Netscape
MS Internet Explorer (free)
Safari (Mac OS X)
Search Engines
Excite, Lycos, Yahoo, Google
Java
Language built for the internet
Security Model
Applets, Applications
Server side programming
Linux
Redhat
Suse
etc
Opensource software
GNU tools
Apache
MySQL, PostgresSQL
Jboss, Jonas
CGIs
Common Gateway Interface
Standard for starting programs on the server
Interfaces web server with external programs
Specify output content-type, e.g text/html
Then send body
A lot of overhead in (re)starting external programs for each request
PhP and JSPs allow one to integrate requests directly into the server
MIME types
Multipurpose Internet Mail Extensions
Specifies the file format to follow
e.g.
text/html
image/jpg
application/pdf
Your server side application must specify the correct MIME type it
is delivering
Variations