Of CGI And Java Scripts

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

30 comment:

  1. waduch nggak ngerti mas...hehehe
    maklum pemula

    ReplyDelete
  2. keren sekali nih gan tutorialnya, makasih ya gan buat infonya

    ReplyDelete
  3. sobat diatas ane udah pada ngerti gag ya baca postingan ini ? hehe
    tapi mantap deh gan postingannya

    ReplyDelete
  4. terima kasih banyak gan buat infonya semoga bermanfaat gan , salam kenal aja gan

    ReplyDelete
  5. thank sob informasinya, makasih banyak buat infonya

    ReplyDelete
  6. innovia-4 thanks
    innovia thank sob informasinya, makasih banyak buat infonya
    ortasinifevsahibioluyor
    thank you ...

    ReplyDelete
  7. sumpah sedih bangt nie artikel.... coz saya kgx bisa b.inggris gx ngerti,, jadi sedih deh,, hehehe

    ReplyDelete
  8. Update Daily About Business Week, Business Articles, Business News, Business Journal, Business Directory, Business Daily, Business Loan, Google Business, Business Search, Business Letter, and Business Ethics

    ReplyDelete
  9. Update Daily About Mobile Me, Firefox Mobile, Common Cents Mobile, Boost Mobile, Credo Mobile, Simple Mobile Reviews, Wow Mobile, Boost Mobile Coverage, and tmobile upgrade

    ReplyDelete
  10. Update Daily About Sport Update, Sport News, Inspirational Sports Quotes, Google Sports, Daily Sport, Sports Trivia, Fox Sports Southwest, Current Sports News, Newsday Sports, Watch Sports Live, and Live Sports Streaming

    ReplyDelete
  11. Update Daily About Travel Spot, Travel Channel, Travel Advisor, Travel Maps, Travel Ideas, Travel Guide, Travel Agents, Travel Package Deals, Solo Travel and Travel Specials

    ReplyDelete
  12. Informasi Terhangat tentang 7 kejadian langka dan spektakuler di seluruh dunia, ikuti update-an nya setiap hari.. Keep stay tune!!

    ReplyDelete
  13. sedihh aghh bacanya...englisnya kannn belumm lancarr,hahahah

    ReplyDelete
  14. please use indo..

    this is our territorial :D

    ReplyDelete
  15. I have a secret that other shoppers don’t – they see a conservative quite elderly lady; I see an artist who makes beautiful and thoughtful books using computer technologies.

    Daily deals

    ReplyDelete
  16. sama, namanya juga anak bodoh..
    bahasa inggris soalnya.

    ReplyDelete
  17. terimakasih informasi yang sangat bermanfaat

    ReplyDelete
  18. with the article I got a new lesson thank you awaited the next article

    ReplyDelete