Cgi Programs And Gci Methods With Scripts.
Advantages some of the advantages of shell languages are: For very quick and dirty CGI programs, these utilities can be very powerful tools. The UNIX shell languages are powerful programming tools in their own right. Window NT complies with POSIX standard, which means that the most common UNIX tools, such as she, will run on it, too. Program written in these languages are small and right, dont involve the overhead of the Perl interpreter, and easily port from one system to another.
Disadvantages some of the disadvantages of shell languages are: Shell programs dont allow any of the flexibility and powerful control structures that real programming languages do. You can constantly need do call other utilities such as grep or sed (or even Perl) Proprietary CGI Methods Some of the proprietary CGI methods, such as Active X from Microsoft and Java Script from Netscape, are worth mentioning. These are very powerful tools, make no mistake about it, and well look at them in further detail in later chapters. Because they take full and specific advantages of the hardware/software platforms on which they run, the proprietary packages are naturally much faster and much more efficient than more traditional CGI software.
After all, theres just no comparison between a program that runs according to a strictly imposed set of rules, basically on top of the operating system, and a program that is able to utilize even the most bare-metal of operating system functions. How ever, it not is the spirit of CGI to adhere to a particular hardware or software platform. Like the spirit of the Internet, it is to let as many people as possible, with as many varied machines as possible, become part of the community. No restrictions-that the way its supposed to be. JAVASCRIPT AND BROWSERS, JAVASCRIPT AND SERVERS Java script is a script based programming language that supports the development of both client and server components of web based applications. On the clients side, it can be used to write programs that are executed by a web browser within the context of a web page. On the server side, it can be used to write web browser programs that can process information submitted by a web browser and then update the browsers display accordingly. A web browser displays a web page. This a result of browsers acting on the instruction contained in an HTML file. The browser read the file and displays the elements of the file as they are encountered; in this case, the HTML file contained embedded java script code. The process of reading the HTML file and identifying the element contained in the file is referred to as parsing. When a script is encountered during parsing the browser execute the script before continuing with further parsing. The script can perform actions, such as generating HTML code that affects the display of the browser window. It can perform action that affects the operation of INS, java applets.
Disadvantages some of the disadvantages of shell languages are: Shell programs dont allow any of the flexibility and powerful control structures that real programming languages do. You can constantly need do call other utilities such as grep or sed (or even Perl) Proprietary CGI Methods Some of the proprietary CGI methods, such as Active X from Microsoft and Java Script from Netscape, are worth mentioning. These are very powerful tools, make no mistake about it, and well look at them in further detail in later chapters. Because they take full and specific advantages of the hardware/software platforms on which they run, the proprietary packages are naturally much faster and much more efficient than more traditional CGI software.
After all, theres just no comparison between a program that runs according to a strictly imposed set of rules, basically on top of the operating system, and a program that is able to utilize even the most bare-metal of operating system functions. How ever, it not is the spirit of CGI to adhere to a particular hardware or software platform. Like the spirit of the Internet, it is to let as many people as possible, with as many varied machines as possible, become part of the community. No restrictions-that the way its supposed to be. JAVASCRIPT AND BROWSERS, JAVASCRIPT AND SERVERS Java script is a script based programming language that supports the development of both client and server components of web based applications. On the clients side, it can be used to write programs that are executed by a web browser within the context of a web page. On the server side, it can be used to write web browser programs that can process information submitted by a web browser and then update the browsers display accordingly. A web browser displays a web page. This a result of browsers acting on the instruction contained in an HTML file. The browser read the file and displays the elements of the file as they are encountered; in this case, the HTML file contained embedded java script code. The process of reading the HTML file and identifying the element contained in the file is referred to as parsing. When a script is encountered during parsing the browser execute the script before continuing with further parsing. The script can perform actions, such as generating HTML code that affects the display of the browser window. It can perform action that affects the operation of INS, java applets.