iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

Of CGI And Java Scripts

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Andrew Corner

CGI and Java Scripts are both functional with both Netscape and Internet Explorer browsers. But there is an essential difference between the two. Java functions as a code executed and downloaded in the clients' side while CGI operates with the server. Before probing deeper into the difference of the two, let us first try to understand these two often-used scripts.

Java Script requires no special plug-ins, and it works transparently within an HTML page. It animates web page graphics, allows users to change page elements (background color, display preferences), and allows site navigation. Usually, Java Scripts are made up of two parts: the Java Script functions (the instructions for what the Java Script does on the page) and elements that cause the Java Script functions to execute. These two go in different ways. The Java Script functions are placed between special Java Script tags within the head tags in the HTML source. Java Scripts follow specific punctuation conventions. Usually, Java Script functions are the last element within the head tag. The elements that cause the Java Script to execute are placed within the body tags of the HTML source, depending on where the web page designer wants the Java Script to run. Because Java Script is included in the other HTML tags in the page source, a web page with Java Script elements will be saved in exactly the same format as a web page: the file type should be an ASCII text, and the file name should have the suffix .html appended to the end of it. The script's difference from CGI will not be clear unless we discuss both CGI and Java Scripts.

CGI is the short version of Common Gateway Interface. It is commonly used in web pages because it allows interactivity by letting the web server respond to user input through a web page with CGI elements. A common example of CGI function is a web guest book. A web designer usually includes a web guest book in the web page so users and visitors can put in their suggestions. These suggestions are collected by the CGI and e-mailed to the designer. CGI and Java Scripts also have a similarity. Like in a Java Script, files used in CGI must be ASCII text with the suffix .html appended to the end of it. However, if a CGI script will be stored in the CGI bin, it is most likely that the file must be saved as a Perl document. Unlike Java Script, where the functions must reside within the head tags, form elements can be placed wherever the web page designer wants to put them. The only consideration is that to call the CGI script, HTML tags should come before the form elements of the page.

Though both scripts have different functions, both CGI and Java Scripts have undoubtedly improve the way the internet works. They have also infiltrated the world of movies and televisions with digital films and fantastic characters. Who knows, maybe more uses of both scripts will be identified in the future.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

For more valuable information on CGI and Java Scripts, please visit http://www.cgier.net

Article Tags: cgi [See Dictionary], java [See Dictionary], script [See Dictionary]
Got a question about this article? Ask the community!
Article published on July 17, 2006 at Isnare.com
 
Rate this article:

Solitaire Game On Pocket PC
Submitted by: Andrew Corner

Every little thing we have today for our convenience seems to have it all This includes our PDAs and Pocket PCs...

Laptop Accessories Must Haves
Submitted by: Andrew Corner

After spending over a thousand dollars for a laptop, you'd think you've done enough damage on your credit card...

Virus Alertness Tricks
Submitted by: Andrew Corner

When talking about computer virus protection, anti-virus software, and firewalls, it is important to stress that no virus protection system is foolproof...

Laptop Accessories In A Bag
Submitted by: Andrew Corner

Laptops, notebooks, and portable computers increase our working mobility They allow us to work outside the office, at home, and ultimately, anywhere...

Computer Hardware
Submitted by: Andrew Corner

Purchasing new computer hardware is a tedious and complicated process, especially with new developments and accessories being added on a daily basis...

Smartphone Vs Iphone - Pros And Cons
Submitted by: Roberto Sedycias

Smartphones and iPhone both are the novel introduction for communication, besides having a galore of features...

Digital Vs Analog Resolution - Pixels Vs TVL (TV Lines) Explained
Submitted by: Jon Hough

One of the most confusing and difficult topics in the CCTV world is resolution Most of us have digital cameras or video camcorders and have heard the term megapixel used as the most common comparison in resolution between various makes and models...

How to Prevent the Noise on Your Car Stereo
Submitted by: Jack Wylde

If you do not know or cannot comprehend what that term means “noise” from your car audio system then you perhaps don’t own a car audio system yet...

Dahle 30114 Personal Shredder Review
Submitted by: Jeff McRitchie

The Dahle 30114 is a personal-use shredder designed to be placed beside your desk and used occasionally throughout the day...

Comparing the Three Dahle Craft Trimmers
Submitted by: Jeff McRitchie

If you are in need of a new rotary trimmer for personal use, you might want to take a look at Dahle craft trimmers...

Dahle 30414 Shredder Review
Submitted by: Jeff McRitchie

Shredders are no longer a luxury in today's world With the onset of identity theft and increasing incidences of corporate espionage (not to mention federal regulations mandating the destruction of personal information) it is absolutely necessary for your office to have a shredder on site, and ready to use at all times...

Dahle 30430 Department Shredder Review
Submitted by: Jeff McRitchie

The Dahle 30430 is a high security shredder that is meant to be placed in a common area and used by multiple people during the course of the day...

Dahle 30114 Personal Cross-Cut Paper Shredder Review
Submitted by: Jeff McRitchie

Dahle is a premier name when it comes to paper shredders Based in Germany, the company has been in the paper shredding business for more than 20 years and they bring their experience and expertise to every shredder they manufacture, from small units to big ones...

MBM Destroyit 2404 Shredder Review
Submitted by: Jeff McRitchie

There is no better way to ensure the security of your confidential information than doing your own document shredding, on site and by hand...

MBM Destroyit 2501 Shredder Review
Submitted by: Jeff McRitchie

The Destroyit 2501 is MBM Corporation's smallest shredder that is designed for centralized, heavy-duty office use...

MBM Destroyit 2503 Shredder Review
Submitted by: Jeff McRitchie

Choosing a shredder for centralized office use is no easy task There are several models and manufacturers out there to choose from, all with similar but different capacities...

MBM Destroyit 3103 Shredder Review
Submitted by: Jeff McRitchie

With all the brands and models out there to choose from, finding the right shredder for centralized office use is no easy task...

Converting a Web Page to a PDF is Simple
Submitted by: Gregg Housh

Here at our office, we love the Firefox browser The innovative tabbed browsing system that Internet Explorer has finally adopted in IE8 is just one of the many advancements Firefox brought to the table when it was first launched in 2004...

Scrapbooking Requires Photo Matching Software
Submitted by: Maxim Smirnov

There was once a time when people used to get pictures developed and then cut them up to turn them into scrapbooks...

Find Duplicate Mp3 Files For Mixes
Submitted by: Maxim Smirnov

One of the easiest and cheapest ways to get a present for someone else is to make them a mix of some favorite songs...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy