Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
BCA
INTERNET AND ITS APPLICATIONS
Student Notes
for Computer
Science And
Computer
Applications Prof. Charles E. Raj
Internet And Its Applications - Student Notes
Optimizing Web Graphics Web Audio Files Forms, Interactivity, and Database - Driven Web sites
File Transfer and downloading FTP Peer to Peer Downloading and installing Software.
A file format designed specifically for representing graphical images. Graphics file
formats can be broadly categorized into bitmap images and vector images.
Bitmap images: this is used to store bitmap data. Files of this type are particularly
well suited for the storage of real world images such as photographs and video
images. Bitmap files, sometimes called raster files, essentially contain an exact pixel-
by- pixel map of an image.
BMP, GIF (graphical interchange format), JPEG or JPG (joint photographic Expert
Group),
JPEG on Photographs
JPEG was designed for photographic images. Short for joint photographic experts
group. JPEG is a lossy compression technique for color images. Although it can
reduce files sizes to about 5% of their normal size, some detail is lost in the
compression. JPEG was designed specifically for use with highly detailed or
photorealistic images, and is typically applied to rendered images and digitized
photographs.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 2
Internet And Its Applications - Student Notes
GIF and JPEG is the two image file formats most commonly used to show pictures on
the web. Most word processors will allow you to paste a captured screen into a
document. You may also paste other bitmap images. e.g TIFF files, BMP files, e.tc into
the document if you then save this document as an HTML file, any bitmap contained
in the document will usually be saved as a separate GIF file.
The following graphics programs are used to create gif and jpeg files:
Microsoft paint (MS Paint): MS Paint was created entirely by Bill Gates when he
was only 11 years old. Microsoft Paint or MS Paint is a basic graphics/painting utility
that is included in all the Microsoft Windows versions. The following file formats are
supported: PNG, JPEG, BMP, GIF, and TIFF.
Adobe PhotoShop: Photoshop is the leading digital image editing application for
the internet, print and other new media disciplines. It is embraced by millions of
graphic artists, print designers, and visual communications.
GIF and Jpeg is the two image file formats most commonly used to show pictures on
the web. You can either draw or paint an image
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 3
Internet And Its Applications - Student Notes
Convert image is a simple to use if you need to convert one or thousands of images
of varying types, this is the tool. The most popular task our customers perform is to
convert JPG, GIF files.
Convert Image can be especially useful if you require complicated conversion jobs to
be done on a regular basis.
In addition to file conversion, numerous special processes for images have been
included
Colors: it is an image color processing utility that will evaluate an image and give
you the images primary and complementary dominant colors of an image how many
visually unique colors are in an image.
JPEG quality: JPEG images use a variable quality level to control the amount of
compression
GIF version and interlacing: A GIF89a graphics file is an image formatted according
to graphics interchange Format (GIF) version 89a (July 1989)there was earlier Version,
87a, from may of 1987, but most images you will see on the Web have probably
been created in the newer format.
Progressive Display
When a web page loads an image it takes some time. Usually it is displayed when it is
fully downloaded or it is displayed downloading from top to bottom there is another
technique to handle the downloading of the image in the web. It is known as
progressive display.
Transparency:
When creating a transparent background the colors that select in the color table will
became transparent therefore this will work best if the background has been deleted
or converted to a solid color.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 4
Internet And Its Applications - Student Notes
1. Select File -> Export preview to open the Export Preview window.
2. Select the options tab. Select GIF as the file format. At this point in time,
GIFs are the only web files that can be made transparent.
3. Check to be certain the transparency window says index transparency or
alpha transparency select either using the drop down menu.
4. Select alpha Transparency as the transparency type
5. Click on the eyedropper with the minus (-) sign, located next to transparency
type
6. When you are satisfied with the image file size, quality and the degree of
transparency click Export and give the file name.
The software allows you to choose a color in the image and make it transparent in
order to show the color of the background that the images are shown on.
1. Select the Eyedropper Tool from the Toolbar and right click on the color in
the image you want to make transparent.
2. Go to the colors menu and select Set Palette Transparency chooses the set
the transparency value to the current background color option.
3. You can either use proof button to see the transparency in action, or you can
go to the colors menu and choose View palette
4. Choose File-> Save AS, select CompuServe Graphics interchange (GIF) as the
file type.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 5
Internet And Its Applications - Student Notes
Image optimization is critical in providing the fast load time for your users. The Save
for Web, broadband may be allowing us to use larger images online.
JPEG and GIF are two most common formats used on the web, with the PNG format
catching up.
It uses a palette of 256 colors to represent the image and supports background
transparency.PNG format is a little like the best of both JPEG and GIF it is available as
PNG-8 and PNG-24 being the higher quality and higher file size of the two
If you are new to Photoshop you may not be aware that you can save files as JPEGs,
GIFs and PNGs using Save For Web command as opposed to just the Save As
command under File menu.
Using Save AS
Choose File -> Save As and on the dialog box, choose JPEG as the file format and
type in a name for your new file. Clicks save and JPEG options dialog box opens.
Photoshop offers a range of controls for compressing image file size while
optimizing the on-screen quality. You use the save for web and devices dialog box to
compare the original image to one or more compressed alternatives, adjusting
settings as you compare.
1. Again with an image open in Photoshop, choose File -> Save for Web and
Devices
2. In the save for Web and Devices dialog box, click the 4-up tab. On the preset
drop-down menu, choose the file format you are interested in. the upper left
preview shows the original image.
3. Compare the quality and size differences, and then click any optimized version
to experiment with format and quality settings continuing to judge size
compared to quality.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 6
Internet And Its Applications - Student Notes
4. When you are happy with how the preview looks either click cancel, or click
save to name and save your file.
Animated GIFs work a lot like traditional cell animation. The file contains a number of
frames layered on top of each other. A GIF animation file consists of a number of
images and a set of instructions that specify the length of delay between frames, as
well as other attributes like transparency and platters.
Tools: GIF animation tools are built in or bundled with many popular graphics
applications, eliminating the need to jump between different software packages.
Adobe ImageReady:
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 7
Internet And Its Applications - Student Notes
Adobe ImageReady is a tool (bundled with Photoshop6 and higher) especially for
preparing and optimizing web graphics. It includes a GIF animation tool that converts
layers into frames and allows easy layer editing.
CorelDRAW:
GifBuilder: GIFBuilder was an early animated GIF creation program for Apple
Macintosh computers. It was written by Y ves Piguet and released as freeware. It is
one of the few freeware applications to support the GIF format
Ulead GIF Animator is a powerful GIF animation tool for creating high impact
animation for web pages, presentations, and multimedia titles. From composition,
editing, and playing file supported include animated GIF, Windows AVI, QuickTime,
Autodesk animation, image sequences, and even Flash animation.
JavaScript is easier to learn and more widely available to users. There are many ways
to create animation effects with JavaScript rollovers and cycling banners are the
easiest but you can also use more complex coding to create animated DHTML
effects. Be careful with those because they will only work in Explorer and Netscape
version 4.0 and up.
For example:
< A <HREF=/news/vol3/dsign.htmonMouseover=
document.chile.src=dancechile.srconMouseout=
Document.chile.src=redchile.src><IMG BORDER =0
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 8
Internet And Its Applications - Student Notes
Image maps:
The map part of image conjures up two separate images. First image maps on web
sites often act like road maps for the web site, adding interface elements that make it
easier to get around on the web site. Second the word map also suggests the way
that image maps are created. The program is used to map hot spots on top of the
graphics.
When put in place on a web page, an image map allows users to access different
HTML pages by clicking different parts of the graphic.
Client-side maps require two different sections of code the <IMG> tag and a new
tag, the <MAP> container.<MAP< acts much like a map definition file does, expect
that it is part of the HTML document.
Lets look at the <IMG> tag first. In order to create a client-side image map, you need
to add the new attribute USEMAP, as follows:
Notice that USEMAP accepts a section style hyperlink that how you can store the
map definition information in the same HTML document. Here example
The <MAP> tag is a container tag that is referenced using a section -style NAME
attribute. Inside the <MAP> container, you use the <AREA> tag to define each hot
spot for client-side map. Heres how it works:
<MAP NAME=section_name>
HREF=URL>
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 9
Internet And Its Applications - Student Notes
</MAP>
The SHAPE attribute is used to accept these values. The numbers are given to
the COORD attribute. The three basic shapes are as follows:
RECT: The rectangular hot spot requires four coordinates the top left corner and the
bottom right corner. An example would be 1,0,55,54 which places the left at pixel 1,
the top at pixel 0, the right at 55, and the bottom at 54.
CIRCLE: A circular zone requires three different coordinates: center-x, center-y, and a
radius. An example might be 20,20,5, which would represent a circle with its center at
20,20 and a radius of 5 pixels.
The HREF attribute is used to give the appropriate URL for each hot spot. If no URL is
desired then the attribute NOHREF can be used to make a particular hot spot useless.
Antialiasing: antialiasing is software technique for diminishing jaggies stair steps like
lines that should be smooth. Jaggies occur because the output device, the monitor or
printer doesnt have a high enough resolution to represent a smooth line.
Antialiasing reduces the prominence of jaggies by surrounding the stair steps with
intermediate shades of gray or color.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 10
Internet And Its Applications - Student Notes
Another method for reducing jaggies is called smoothing, in which the printer
changes the size and horizontal alignment of dots to make curves smoother.
Antialiasing is sometimes called oversampling
Seamless Tilling:
Tiled backgrounds are great for both website background and in all kinds of
Photoshop work. They are particularly useful when working with textures where you
need a larger overall background than the small image you have to work with. In this
quick tutorial I will take you through taking a texture and turning it into a
background image ready for seamless tiling.
Introduction:
There are many pieces of content that must be thought about when designing your
website. Among them is written text content, pictures, video clips, animation or audio
content. Creating audio content for a website is not difficult but there are some
things to take into account. Most types of audio file format can be included but may
require specific plug-in to your browser to be able to hear.
1. Static
2. Streaming
Static: Audio files are also called ordinary audio it can be of various formats and
quality
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 11
Internet And Its Applications - Student Notes
Disadvantages:
The various audio files can contain sound with quality here are the most
popular web audio files formats are as follows:
Sampling rate: cutting the sampling rate in half will cut the file size in half (e.g., a
sampling rate of 22.05 KHz requires half the data than one of 44.1 KHz).
Using these guidelines, if we start with a one-minute music sample at CD quality (10
MB) and change it to a mono, 8-bit, 22 Khz WAV file, its size is reduced to 1.25 MB.
Bit depth:
Audio files for the web are often saved at 8 bits, which will result in a file that is half
the size of a 16-bit file. MP3 can handle 16-bit due to their efficient compression.
Number of channels:
A mono audio file requires half the disk space of a stereo file and may be adequate
for some audio uses.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 12
Internet And Its Applications - Student Notes
It might seem obvious but you should keep the audio sample as short as possible
There are a number of ways to add audio to a web page. This section covers the
most common techniques.
You can use a simple anchor tag (<a>) to link to an audio file from a web page,
as follows:
When the reader clicks on the linked text or graphic, the browser retrieves the audio
file from the server and launches a helper application to play the file. Files accessed
in this manner are typically downloaded to the users hard drive.
Real media file can be added to a web page via two methods. The first triggers the
browser to launch RealPlayer as an external application. The second plays the media
file in a player embedded directly in the browser window using the real player plug-
in.
In either case, you do not create a link directly to the RealMedia file itself, but rather
to a special reference file, called metafile. The metafile is a simple text document that
contains the URL>
When the user access RealMedia via a link (using the <a> tag),the browser launches
the external RealPlayer applications.
In the HTML document, make a link to the metafile that points to the RealMedia file
as follows:
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 13
Internet And Its Applications - Student Notes
When linking to realmedia the metafile uses the .ram suffix. The metafile is a small
text-only file that contains only the URL that points to the real audio file (suffix .rm or
.ra):
pnm://domainname.com/song.rm
Before linking to Windows Media files (.asf or .wma), be sure they are saved in the
ASFROOT directory on the NT server running the Windows Media Administrator.
To link to a downloadable windows Media Audio file (.wma), use a simple link directly
to the audio file:
Linking to streaming Windows Media works much like the process described for
RealAudio above.
<ASX version=3>
<Entry>
<ref href=path/streamingsong.asf/>
</Entry>
</ASX>
Change the path in the <ref> tag so that it points your windows media file. The .asx
file should be saved in the same directory as the Windows Media file.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 14
Internet And Its Applications - Student Notes
The first thing you should be aware of is that computer multimedia is still in its youth,
and internet multimedia is barely in its infancy. The infant technologys rapid pace of
growth creates three obstacles for anyone who wants to include audiovisual material
in a web page:
1. There are many incompatible multimedia file formats from which to choose
and none has yet emerged as a clear industry standard.
2. Most people do not have internet connections fast enough to receive high
quality audiovisual data without a long wait.
3. Each new web browser version that comes out uses different HTML tags to
include multimedia in web pages.
The <EMDED> tag can be used to embed other multimedia files, in addition to audio
files, into a web page.
Proprietary syntax
Attributes
The <EMBED> tag can also use the following tags that are used in the <IMG> tag
Align: this attribute controls the alignment of adjacent text with respect to the
embedded object. The default value is left.
Alt: this attribute indicates the text to be displayed if the applet cannot be executed.
Border: this attribute specifies the size in pixels of the border around the embedded
object.
Code: this attributes specifies the name of the file containing the complied java class
if the <embed> element is used to include a java applet.
Codebase: this specifies the base URL for the plug-in or potential applet in the case
of the alternative form under internet explorer.
Height: this attributes sets the height in pixels of the embedded object.
Hspace: this attributes specifies in pixels the size of the left and right margins
between the embedded object and surrounding object.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 15
Internet And Its Applications - Student Notes
Type: this attributes specifies the MIME type of the embedded object.
Vspace: this attributes specifies in pixels the size of the top and bottom margins
between the embedded object and surrounding text.
Width: this attributes sets the width in pixels of the embedded object.
Examples:
</embed>
Embedding sound is tricky. You have to choose between a method that works but is
not valid HTML the object element includes <OBJECT></OBJECT>.
To embed the real player control on your web page, use the OBJECT element and
EMBED tag.
<object>
</object>
1. Four parameters added in object. The first src that tells the browser where to
find the sound file.
<param name=src value=eureka.wav/>
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 16
Internet And Its Applications - Student Notes
2. If you want the sound file to play immediately after its loaded make the
autostart parameter true otherwise make it false
<param name=autostart value=true/>
3. The parameter autoplay is similar to autostart, just used by other browser set
it the same as the autostart parameter
<param name=autoplay value=true>
4. Use the controller parameter to tell the browser if a controller should be
displayed to give your readers more control over the sound.
<param name=controller value=true>
5. Inside the <object></object> element, add an embed element
<embed>
6. Add the following four attributes that are the same as the parameters to the
object:
<embed src=eureka.ram controller=true autoplay=trueautostart=True
7. Add the correct MIME type for your sound file into the type attribute:
<embed src=eureka.wav controller=true autoplay=trueautostart=True
type=audio/wav/>
It can be challenging to include video clips on a web site. Many designers provide a
link to the video clip to make them easier for the user to access
This section looks at the ways video files can be linked to or embedded within an
HTML document.
A Simple Link
Like audio, downloadable video files (AVI, MPEG, and QuickTime) can be linked to
HTML documents using the standard <a> tag:
Streaming video
As in audio, streaming media in the RealMedia (.rm) and streaming windows media
(.asf) formats are added to web pages via linked or embedded reference files
RealMedia
The metafile is a small text-only file that contains only the URL for the RealMedia file
(suffix.rm). When the user clicks the link, the browser accesses the metafile, which
launches the player and passes it the URL of the actual media file:
pnm://domainname.com/song.rm
<OBJECT ID=spacestress
CLASSID=clsid: CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA
HEIGHT=160WIDTH=320BORDER=0>
WIDTH=250AUTOSTART=false CONTROLS=all
BORDER=0>
</OBJECT>
The value of the classid should be copied exactly as it is shown here as this points to
the realmedia player.
VBScript
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 18
Internet And Its Applications - Student Notes
JavaScript it enables web authors to include interactive controls, such as buttons and
scrollbars, on their web pages.
JavaScript:
VBScript JavaScript
VBScript was developed by Microsoft JavaScript was developed by
Netscape
It is both client and server side It is client side scripting language.
scripting language
It is not case sensitive It is case sensitive
VBScript runs only internet Explorer JavaScript runs on any browser
(IE)
File extension for VBScript is .vbs or File extension for JavaScript is.js
.vba
A JavaScript consists of JavaScript statements that are placed within the script
<script> </script> HTML tags in a web page. The <script> tag alerts the browser
program to begin interpreting all the next between these tags as a script. So simple
syntax of your JavaScript will be as follows:
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 19
Internet And Its Applications - Student Notes
Language: this attributes specifies what scripting language you are using. Typically,
its value will be JavaScript. Although recent versions of HTML
Type: this attribute is what is now recommended to indicate the scripting language
in use and its value should be set to text/JavaScript.
<script language=javascript>
Javascript code
</script>
Or
<script type=text/javascript>
Javascript code
</script>
Example:
<script>
document.alert("welcome!");
</script>
<script>
document.write("welcome!");
</script>
Java
Java is strong support for web development. Java is a object oriented programming
language. Its widely used in all kinds of electronics. It is used on websites,
applications, handled devices, some cars even have java programs controlling certain
things.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 20
Internet And Its Applications - Student Notes
Java applets
Microsoft ActiveX:
Server side components used by Active Server Pages (ASP) technology are
automation servers with no user interface. You can create your own automation
servers with most of the tools used to create ActiveX controls.
CGI Scripts:
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 21
Internet And Its Applications - Student Notes
The easiest way to run a CGI program is to type in the URL of the program into your
web browser. The web server should recognize that you are requesting a CGI
program and execute it.
For example:
http://localhost/cgi-bin/test.pl
The web server will execute your CGI program is a virtual path. The actual location of
the script on the web server depends on the configuration of the software and the
type of computer being used. For example
If you are running the website server under Windows 95, the translated path might
b/website/cgi-shl/test.pl.
If you have installed and are administrating the web server yourself, you probably
know where to place your scripts.
If your are creating a web site and want a CGI application to get control you specify
the name of the application in the uniform resource locator (URL) that you code in an
HTML file. This URL can be specified as part of the FORMS tags if you are creating a
form. For example, you might code:
And the server at mybiz.com would pass control to the CGI application called
formprog.pl to record the entered data and return a confirmation message.(the .pl
indicates a program written in PERL but other languages)
Example:
<HTML>
<HEAD><TITLE>simple form</TITLE></HEAD>
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 22
Internet And Its Applications - Student Notes
<BODY>
<H1>simple form</H1>
<HR>
<FORM ACTION=/cgi-bin/unix.plMETHOD=GET>
<P>
</FORM>
<HR>
</BODY>
</HTML>
PHP
PHP hypertext preprocessor is a widely used open source general purpose scripting
language that is especially suited for web development and can be embedded into
HTML.
Server-side: this means that PHP scripts execute on the web server, not within the
browser on your local machine.
Cross-platform: cross-platform means that PHP scripts can run on many different
operating system and web servers. PHP is available for the two most popular web
server configurations (IIS running on windows NT and Apache running on UNIX).
HTML embedded scripting language: this means that PHP statements and
commands are actually embedded in your HTML documents. When server sees the
PHP statements in the web page, the server executes the statements and sends the
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 23
Internet And Its Applications - Student Notes
resulting output along with the rest of the HTML. PHP commands are parsed by the
server much like active server pages or cold Fusion tags.
A PHP file normally contains HTML tags and some PHP scripting code. A PHP
scripting block always starts with <?php and ends with ?>. A PHP script in the
example given below. This script will display the words Hello world! in the web
browser. There are two basic statements to output text on the browser with PHP
echo and print in the example given below, the echo statement is used to display
text.
Example
<?php
Echo welcome;
?>
Always remember to save PHPs files with extension .php this is very important,
because it tells the server how to treat these files, go ahead and give it an easy to
remember name like first.php.
Microsoft Active Server Pages (ASP) is a server-side scripting technology that can be
used to create dynamic and interactive web applications. An ASP page is an HTML
page that contains server side scripts that are processed by the web server before
being sent to the users browser. You can combine ASP with Extensible Markup
Language (XML) component Object Model (COM), and Hypertext Markup Language
(HTML) to create powerful interactive web sites.
Server side scripts run when a browser requests an .asp file from the web server. ASP
is called by the web server, which processes the requested file from top to bottom
and executes any scripts commands. It then formats a standard web page and sends
it to the browser.
As you work through the lessons in each module, save your work in the
C:\intetpub\Wwwroot\Tutorial directory to view the content on your web site. If you
did not customize your installation of IIS, C:\Inetpub\Wwwroot was created as the
default home directory to load and run the tutorial sample you must have
administrator privileges on the computer running IIS. The default IIS security settings
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 24
Internet And Its Applications - Student Notes
should allow you to run the tutorial but you may need to change your security
settings on the directory if you encounter access violations see the product
documentation for more information about IIS security settings.
An ASP file normally contains HTML tags, just like an HTML file however an ASP file
can also contain server scripts surrounded by the delimiters <% and %>. Server
scripts are executed on the server, and can contain any expressions. Statements,
procedures, or operators valid for the scripting language you prefer to use.
The response write command is used to write output to a browser the following
example sends the text hello world to the browser.
<html>
<body>
<%
Response.write(hello world)
%>
</body>
</html>
coldFusion pages are plain text files that use to create web applications. You can
create your ColdFusion applications by writing all the code manually or by using
wizards to generate the majority of the code for you.
This example uses the cfset tag to declare a variable called firstname and assign a
value of world to it. It then outputs the contents of the variable.
<cfset firstname=world>
<cfoutput>
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 25
Internet And Its Applications - Student Notes
Hello #firstname#.
</cfoutput>
FTP is a file transfer protocol for exchanging and manipulating files over any TCP
based computer network. A FTP client may connect to a FTP server to manipulate
files on that server. As there are many FTP client and server programs available for
different operating systems, FTP is a popular choice for exchanging files independent
of the operating systems involved.
File Transfer Protocol (FTP) is a standard internet protocol for transmitting files
between computers on the internet. Like the Hypertext Transfer Protocol
(HTTP), which transfers displayable web pages and related files, and the simple
Mail Transfer Protocol (SMTP), which transfer E-mail, FTP is an application
protocol that uses the internet TCP/IP protocols.
FTP is commonly used to transfer web page files from their creator to the
computer that acts as their server for everyone on the internet. Its also
commonly used to download programs and other files to your computer from
other servers.
As a user you can use FTP with a simple command line interface or with a
commercial program that offers a graphical user interface
Basic FTP support is usually provided as part of programs TCP/IP. However ant
FTP client program with a graphical user interface usually must be
downloaded from the company that makes it.
WEBDAV is used for sharing files over the internet regardless of platform WEBDAV is
a means for users to access content from the content collection as if it were in any
other network drive or folder on their personal computer.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 26
Internet And Its Applications - Student Notes
5. If you choose MSN communities you see a screen to create a new community
or to use an existing community if you created one previously.
6. If you want to create a web folder on a network, web server or FTP derivers
just as essay. Type in the URL or browse to find the location and add a name
for the web folder.
Web folders are a file transfer protocol that supports secure file transfer over
intranets and the internet. With web folders you can upload, download and
image files on a remote computer across an intranet and internet.
Web folders protects your password and encrypted data when you send
information to a web server running secure socket layer(SSL)
If the server is not running SSL web folders can protect your password if the
server is configured to use windows authentications.
However you cannot encrypt the data sent to the server. If the server is
running SSL the internet address for the server will begin with https://instead
of http://
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 27
Internet And Its Applications - Student Notes
Peer-to-peer (P2P) file-sharing networks have become wildly popular. The first
major file sharing network was Napster, which was designed to allow music
fans to share MP3 music files.
The P2P file sharing networks is as the name implies peer-to-peer and
decentralized. There is no central server that uploads stores and downloads
content each user acts as a server for each other user.
Popular P2P programs include BearShare and File Navigator, which can be
found at www.gnutelliums.com
FTP is a set of files that allow computers to exchange files across the internet the
central computer runs software called an FTP server, and the other computers run
software called an FTP client. The client requests a file transfer and then the client
and server exchange data.
FTP Servers:
Being the main network protocol for migrating files over TCP computer
networks or the internet FTP requires a computer and an active hosting server
for establishing a data transfer connection.
While the availability of a computer which is the first step to building the
connection is totally users responsibility the provision of an FTP server is
within the authority of specific entities.
Business running internal networks or web hosting providers assigning FTP
server connection rights to users is considered as a fundamental part of the
services provided by web hosts.
Transferring Files of different Types: While transferring data over the network
several data representations can be used. When you transfer a file, by uploading or
downloading, you use one of the following two modes
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 28
Internet And Its Applications - Student Notes
ASCII (text): ASCII transfers are useful when the server machine and client have
different standards for text.
Binary mode (image): in binary mode the sending machine sends each file byte for
byte and as such the recipient stores the byte stream as it receives it
Many browsers including Netscape Navigator and internet explorer include FTP client
software that can be used for downloading files from most FTP servers some
browsers can also upload files
To connect to an FTP server the URL of the FTP server as you would the URL of a web
server type the URL into the location box near the top of the Netscape navigator
window or the address box of internet explorer
For private FTP: in URL you have to give a user ID and Password and it has a general
from: ftp://use ID:password@Servername. For example,
ftp://reader:readit2u@ftp.whatever.edu
Downloading files: to download a file click it the browser prompts you for a name
and location on your computer.
Uploading files: Netscape Navigator and certain other browsers can also upload
files.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 29
Internet And Its Applications - Student Notes
Many people have used Hypertext Terminal over the years to promote
communications between computers. This is one of the older products available for
windows xp. You can use it for a variety of communication needs including file
transfers
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 30
Internet And Its Applications - Student Notes
Type the name you want to use for the connection, choose and click ok you
see the connect to dialog box asking information about how to dial the phone
to connect to computer.
Type the host name or IP address into the Host Address box
The standard port number is 23
Click ok when you connect you see a HyperTerminal window like the one
show in figure
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 31
Internet And Its Applications - Student Notes
When you are done using the remote computer logout either by typing the
logout command that the computer expects and clicking the Disconnect icon
on the HyperTerminal toolbar or choosing Call | Disconnect from the menu
When you exit HyperTerminal, it asks whether you want to save the session
that you just created
Free ware: freeware is copyrighted computer software which is made available for
use free of charge, for an unlimited time authors of freeware often want to give
something to the community, but also want to certain control of any future
development of the software.
Trailware: Software that can be run for a limited period of time before it expires. In
order to keep running the application, a registration key must be purchased and
entered into the trial version, or anew full version must be installed. Trialware may be
set up by date or days. For example 30 day Trailware program may expire in 30 days
Patches: piece of software code that can be applied after the software program has
been installed to correct an issue with that program most software programs may
have several patches released after the initial release and commonly update the
version of the program when successfully installed.
Freeware Shareware
About Freeware refers to software Sharewares give users a
that anyone can download chance to try the software
from the internet use for before buying it.
free.
Inception The term freeware was first In 1982, bob Wallace
used by Andrew produced PC-Write, a
Fluegelman in 1982, when word processor, and
he wanted to sell a distributed it as a
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 32
Internet And Its Applications - Student Notes
Essential softwares:
Zone Alarm is a software firewall that can help to protect your computer from
malicious internet attacks.
The software is easy to configure and has always been very stable and reliable on
windows XP systems. Once you have zone Alarm installed it will alert you if a
program is attempting to access the internet by displaying a pop-up window. If you
want the program to connect you can give it permission via the yes or no buttons
on the zone Alarm pop-up. You can download zone alarm software from
www.zonealarm.com
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 33
Internet And Its Applications - Student Notes
Adware:
Adware is the common name used to describe software that is given to the user with
advertisement embedded in the application
Winzip:
Adobe Acrobat:
WinAmp:
Winamp is a media player typically for windows based computers and android
devices. The software is written by null soft and it is proprietary freeware multi format
extensible with plug-ins famous for its playlist and graphical sound visualization. You
can download websites: www.winamp.com.
RealPlayer:
Real player is the software device which allows you to play different forms of media
on your computer. You can download websites: www.real.com.
ICQ:
Window Washer:
Window washer allows you to erase windows temp folders, run history. Search
history, open/save history, recent documents, your browsers cache, cookies, history,
visited URLs, typed URLs, auto complete memory, index.dat files, and much more.
You can download websites: www.webroot.com.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 34
Internet And Its Applications - Student Notes
In the example given below we are using Microsoft internet explorer as the example
because it is most commonly used browser today. Although not all browsers use the
same steps following these steps
1. To download a file through a website, first click on the link for the file you
wish to download, in some cases the website may automatically start the
download process after waiting a few seconds.
2. Next the browser should prompt you on what to do with the file unless you
immediately wish to run the program, it is recommended you select the
option to save the file and place the file somewhere you are going to
remember. For windows users we suggest saving the file to the desktop.
3. After the file has been downloaded, if the file is an executable file, double-click
the file to start the setup of the program.
4. Finally it is important to realize that files on the internet may contain
computer viruses, the best method in protecting yourself from computer
viruses is to make sure your virus scanner is up to date.
You can also save smaller files like single pictures to your PC press and hold the
picture, link, or file you want to save and then choose save picture if you are using
internet explorer in the desktop, right clicked the picture or link and choose save
pictures as or save target as.
When you use internet explorer to download a file from the internet, you are
usually asked where you want to store the file if you dont specify where you want
to store the file.
If you are downloading a file and save file dialog box appears it is best to specify
which folder you want to save the file.
1. Open your personal folder by clicking the start button and then clicking your
user name at the top of the start menus right pane
2. Double-click one of the following folders
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 35
Internet And Its Applications - Student Notes
Downloads
Documents
Picture
Videos
Music
It is useful to store a group of files in one file for easy backup for transfer to another
directory or for transfer to another computer. It is also useful to compress large files
compressed files take up less disk space and download faster via the internet.
A type of file that contains other files that have been compressed for more efficient
transfer of the data the self extracting file contains within it the program software
needed to unzip the file and execute the intended application.
Self extracting files, which typically end with the EXE file extension, are commonly
used to transfer large data files efficiently. For example a software upgrade will often
come in the form of a self extracting file that a user can download from the internet
or e-mail and execute.
In order to work with zipped files they must be unzipped or extracted first.
Term used to describe the process of exploding a file using a software utility such as
PKUNZIP, Wunzip,
7-Zip for example, many of the programs available for download are compressed
into one file making it easier to download one smaller file instead of dozens or
hundreds of files that program contains.
Some downloaded files are in .zip or .rar format these files must be unzipped
before they can be used on windows XP,
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 36
Internet And Its Applications - Student Notes
vista and windows 7, unzip support is built in first double-click on the .zip file to
open it up.
Right click ME/XP/2003 has built in ZIP file support it is therefore, very easy to make
and extract ZIP files using these operating systems.
Right click on a file, folder, or selection of files and click on the send to menu option
and then choose compressed (Zipped) Folder. The magic below shows the location
of these menu items.
After selecting the compressed folder menu option the files will be zipped and you
should now see a file that ends with ZIP. The files name will be the name of the folder
or file you compressed.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 37
Internet And Its Applications - Student Notes
WinZip:
WinZip is a utility that compresses and decompresses file using the zip format. This is
the most common format used on the internet for compressing windows files. Files
compressed in this way are identified with the extension.zip.
ZipMagic:
The PK derives from the name of the program inventor, Phillip W. Katz. Katz is said
to have developed the idea in 1986 these are utilities that can be downloaded for
free from the internet You can download it from www.pkware.com
The program tar (originally for tape archive) is used to convert a group of files into
an archive. The tar command is used for packing several files or even a whole
directory into a single tarfile.
For example:
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 38
Internet And Its Applications - Student Notes
This will unpack the contents of the tar file project.tar in the current directory.
Stuffit Expander:
Stuffit Expander is a program for Mac OS that opens, extracts and creates archived
and compressed files. It is compatible with files created in WinZip, 72X, iShrink,
Simply RAR, Rarify, BetterZip, 7Zip, winRar and many others stuffit Expander
integrates as a default archived file handler on Mac OS
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 39
Internet And Its Applications - Student Notes
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 40
Internet And Its Applications - Student Notes
UNIT - V
What is Intranet Advantages and disadvantages of intranet components of intranet Connecting a
small LAN to the internet.
WHAT IS INTRANET:
Advantages of intranet
Disadvantage of intranet:
Cost: setting up an intranet a cost some of this is the direct hardware and
software cost which is fairly easy to budget for. Indirect costs are more difficult
to estimate. These include time spend defining the intranet purpose and
choosing which intranet capabilities are essential for the organization.
Security: unauthorized access to the intranet is a security issue. An
organizational intranet relies on privacy and confidentially to prevent
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 41
Internet And Its Applications - Student Notes
COMPONENTS OF INTRANET:
The term workstation also has been used to reference a PC or mainframe terminal on
a local area network (LAN). These workstations may share network resources with
one or more large client computers and network servers.
The operating system (OS) is the software platform on top of which other programs
will run. Choosing a server operating system is no easy task. The specific operating
system you go with will depend on what the server is going to be mainly used for.
For basic file servers a small business should choose an operating system that staff
will be the most comfortable with, another issue to consider is if you have any
application that is best suited to a particular operating system.
A network Interface card (NIC) is an add-on adapter card that is installed to the PCI
or ISA slot on the PCs motherboard. The NIC sorts data on the computer into
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 42
Internet And Its Applications - Student Notes
bundles and transmits them to another computer while allowing the user to access
the data within the bundle simultaneously. The most common NIC used today is the
10Base-T Ethernet card that is connected to an Ethernet hub.
Static IP address:
If you have a tiny windows based LAN two or three computers in a home office or
small business you can turn it into an intranet by using a product such as WinGate or
WinProxy. You can download and purchase WinGate at www.winGate.com WinGate
allows all the users on a LAN to share a modem on one computer, and on one
internet account when any user on the intranet tries to communicate with the
internet for example by running a web browser or clicking the check mail button in
an e-mail program the request is routed to WinGate. WinGate connects to the
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 43
Internet And Its Applications - Student Notes
internet and sends the request out to the internet. When information comes from the
internet, WinGate routes the information to the computer that requested it.
Prof. Charles E. Raj, Department of Computer Science & Applications | SUN Arts & Science College 44