JavaScript tools for online information retrieval

The visitors experience on a web page can be enhanced by a client side scripting language, typically Javascript used with dynamic html and cascading style sheets, enabling interactive menu systems, hi-lighting effects, image effects, data manipulation etc to be performed on the page without reloading or refreshing the page. Using these qualities, the disadvantages caused by slow internet connection speeds in Server Side Scripting can be reduced.

Client-side scripts are often embedded within an HTML or XHTML document , but they may also be contained in a separate file, which is referenced by the document  that use it ("external script"). Upon request, the necessary files are sent to the user's computer by the web server on which they reside.In contrast, server-side scripts, written in languages such as Perl, PHP, ASP.NET, Java, and server-side VBScript, are executed by the web server when the user requests a document. However, the efficiency of server side search engines is very low in cases of slow internet connections. Therefore, the need to examine use of client side search tools has become a major area of research.A recent study carried out by Ruwan Gamage and Hui  Dong,  published under research articles in University of Moratuwa research, uses a previously introduced client side JavaScript search model to varify the truth behiind the "Server side - Client side" scenario. New data were obtained for response times against an array of different sized index files. A simple linear regression model was used to obtain the limitation of file size for the search tool. Response times for repeated searches were obtained for the client side search model and selected server side search tools.  It was found that the search model could be used only for a small-sized data set. Still, it was useful against server side search methods for repeated searches during a single session. However, response time may differ according to the network traffic, connection speed, and so on, which can be pointed out as a major limitation in the research. Therefore, use of the search model is context-specific.  On the plus side, the proposed model is easy to use and maintain. Therefore, organizations that wish to make their small data collections searchable on the web can use the model. The model is especially suitable for users with slow internet connections who experience very low efficiency in searching large server side databases. The model, solutions and technical aspects for practical execution, are explained by the researchers in their recently published online information review.


University of Moratuwa, a leading technological university in the region welcomes you to witness a truly unique experience!

Contact Us

  • Tel: +94 112650301 +94 112650188
  • Fax: +94112650622
  • Email: info AT