Skip to Content

The Benefits of Client-Side Scripting

Forms allow the user to communicate with the site by writing comments to the Webmaster or individualizing data output. A form is a graphical user interface (GUI) and presents entry fields, checkboxes, scrolling lists, pull-down menus, etcetera. In HTML, all form elements are placed in the “form” tag. The CGI program in the CGI directory is utilized in this scenario for the processing of the form’s input once the “Submit” button has been pressed. If a Web designer is unable to access the CGI directory, the user’s form will have to be sent to an e-mail address with the mailto action.

One example of a library’s use of forms would be an online request for the help of a reference librarian, which would likely consist of the user’s name, e-mail address, and question. Another potentially popular HTML form would be a book-buy suggestion box online, with which users could suggest specific book titles for the library to purchase. Another appropriate form for library Web pages would be a library feedback page for comments and complaints.

After the information has been submitted, the URL displays an altered combination of text. The original URL may look like “.../cgi/020398.htm”, while the altered URL might look like “.../cgi/020398.htm?in=hello+there&button=Send.” The latter URL is the encoded URL, and what is read by the CGI. The part of the URL before the question mark is the part that the server will use to determine which CGI script to run. The part of the URL after the question mark is the encoded data from the user. In the example above, the “in” element represents the text box used in the form and contains the value “hello+there”. The “button” element of the URL represents the “Submit” button in the form and contains the value “Send”.

While the simplest method of saving data from a form is to write it to a local file, it may not be the best. When data are sent to a server, a CGI program can connect to a database and save the information there, or it can send the data to another Web site. CGI programming is a server-side technology and many server-side programming languages exist that can be made to work as a CGI program.

A server-side language is one that runs from the server, which keeps the client from seeing the code, and does not require that the browser support the language being utilized from the server. A Web programming language that resides on the client’s side is one that downloads to the user and runs from the user’s computer. The benefit of client-side Web programming is that the code can execute on the downloaded page rather than having the data sent to the server to be executed, which takes more time. Client-side scripting compared to server-side scripting can reduce server load by 80%. A negative aspect of this arrangement is the potential for old browsers to not work with the scripting languages. Client-side scripting has remained primarily useful only for limited, controlled intranets where webmasters can be sure that all users are using the same browser software to view web pages.

Please visit www.sunnymicro.com, www.wildsunset.com, and www.yukonmax.com

Similar entries
  • The use of JavaScript, a client-side programming language, is often employed for purposes of confirming that the correct format is used in forms. Similarly, it can even automatically insert information into categori ...

  • It’s important to take the precautions to protect you and your products from information theft these days, because it’s getting easier and easier for people to share digital products. Information theft is a type of ...

  • The W3C has defined two style sheet standards for use with the Web—CSS and XSLT. CSS is the older of the two and is most often used with HTML. Although CSS can be used with XML, XSLT is usua ...

  • Fast and easy dissemination of information gives way to effective communication. In the world of web technology, more and more ways have been devised to ensure smoot ...

  • In blogging, using the correct blog software tools can help you manage the goings-on of your blog. When it comes to publishing your blog content, there are two kinds of blog software to ...

  • The .Net development team at Offshore Software Development India has developed Code Generator for ASP .Net, C#, SQL Server based Web applications.
    About Code generator:-
    To gen ...

  • The number of people with access to the Internet through mobile phones has increased drastically over the past couple of years. This requires that Web pages be designed for access by cell phones, ...

  • YouTube is a magic thing to me. It only depends on the video sharing to create so terrific rank of 3 in all the websites in the world: what is it and how to design i ...

  • The Internet Archive (archive.org) represents another example of working archival collections of digitally-based materials. It was founded in 1996 and works to keep Internet and digitally-based w ...

  • When you decide you want to make a site there are more options then you may think. You can code each page individually by using applications such as front page and d ...

  • Fast transference of data from one peripheral to another is the requirement of today’s technical environment. Keeping this need in mind, Intel has brought in I/ ...

  • When information systems became widely distributed and hierarchically complicated, appeared the necessity of special tool creation that helps to easily view and modif ...

  • The year 2008 has brought us a new wave of smartphones, from the iPhone 3G to the Android G1. However, for many phone fans out there, nothing topped the dual offering from Research In Motion: The ...

  • CSS is known as the cascading style sheet, a web based application language to describe the presentation and style of the document that is written in mark up language ...

  • In 1978, a revision to the AACR called The Anglo-American Cataloguing Rules, Second Edition (AACR2) was published because of certain significant developments in the field of cataloging rules. One ...

  • Window Vista, an operating system by Microsoft, which was released on January 30, 2007. Vista is developed to increase the level of communication between machines on ...

  • As a general theme in cataloging over the last century or so, the integration of cataloging types have been of great importance. One cataloging cavern that has been closing over the years is that ...

  • What happens if you can not access your important project or file, on which you were working for several months. When you try to find it in your computer, you can not either see it or e ...

  • Data the backbone of a company and it provides comprehensive source for multiplying the business by leaps and bounds, transcending the continents and cultures. Benef ...

  • LOCKSS (Lots of Copies Keep Stuff Safe) is an open-source software program that functions as a persistent access preservation system. This program assists libraries in preserving e-journals by wa ...

  • Most small business enterprises set up shop as limited companies. This happens for a number of reasons, the most prominent among these being that setting up a limite ...

  • A sitemap of a website is similar to the table of contents of a book. Sitemaps are important because it guides web surfers to the particular part of the website they have a point of in ...

  • Blogging is a practice that has been around for at least 5 years. It began with average, but opinionated people with something to say, who wanted to share their opinions with anyone who ...

  • Perhaps technology is too general a term. The "internet" would be a more specific term. When the Internet was in its infancy, we could only read text in the form of static web ...

  • There are many reasons why many companies choose to hire design services of a web site design company. Even if you are the Do it your self type there is only so much you can ...

  • Web designers should build for flexibility because Web pages are never displayed the same on all computers. The reason for this is that not only do different browsers have different default setti ...

  • Generator sitemap programs can be downloaded from various sources on the Internet. Generator sitemap programs have two fundamental purposes. Generator sitemap programs help surfers navi ...

  • The Library of Congress’s list of subject headings has been available in machine-readable form since 1986 to help organize the latest cataloging form. Problems associated with assigning head ...

  • Traffic is the very lifeblood of every business online. With over a million new web pages being created daily the chances of a potential customer finding you at just the right time is v ...

  • Title Tag
    A title tags are the words at the very top of the web browsers and tell the search engine what the page is about. Title tag that is used to define the top ...