• No results found

4. Implementation of Data Access User Interface (Web Based) 1 One Tiered Architecture

4.4 WDAUI Architecture

4.4.2 Internet Information Services

Internet Information Services (IIS) makes it easy to publish information on the Internet or on intranet. IIS includes a broad range of administrative features for managing Web sites and Web server. With programmatic features like Active

Server Pages (ASP), it can be created and deployed scalable and flexible Web applications.

4.4.2.1 IIS Installation

During installation, IIS installs optional components like Common Files, Documentation, and the Internet Information Services snap-in. It is not necessary to install all the optional components; however, deselecting specific components can decrease IIS functionality or disable IIS services. If we are unfamiliar with the optional components and how they affect IIS, install IIS with the default settings. After installation of IIS, we can view Installing IIS Optional Components in the IIS online documentation for more information.

1. Click Start, click Control Panel, and click Add or Remove Programs. 2. Click Add/Remove Windows Components. The Windows

Components Wizard appears.

3. Follow the on-screen instructions to install, remove, or add components to IIS.

4.4.3 HTML (Hypertext Markup Language)

HTML is a Hyper Text Markup Language that is used to develop web pages. HTML developed a few years ago as a subset of SGML (Standard Generalized Mark-up Language).Any HTML document is also valid for SGML.

HTML is not a programming language like C, C++ and Java etc. It is a cross platform markup language that is design to be flexible enough to display text and other elements like graphical on a variety of views. Web browser interprets HTML file.

4.4.3.1 CSS (Cascading Style Sheet )

Cascading Style Sheet use for the design attractive web pages. That solve the limitation of the HTML tags and add more attributes.

Styles sheets define HOW HTML elements are to be displayed, just like the font tag and the color attribute in HTML 3.2. Styles are normally saved in external .css

files. External style sheets enable you to change the appearance and layout of all the pages in your Web, just by editing one single CSS document!

CSS is a breakthrough in Web design because it allows developers to control the style and layout of multiple Web pages all at once. As a Web developer you can define a style for each HTML element and apply it to as many Web pages as you want. To make a global change, simply change the style, and all elements in the Web are updated automatically.

4.4.3.2 JavaScript

JavaScript is a client side scripting language that adds significant power to HTML files without the need for server–based CGI programs. All popular web clients interpret JavaScript code.

The embedded JavaScript coding provides a mechanism for client side caching of user–entered data during a transaction, and simple client side validation of user–entered data. Execution of simple JavaScript code logic at the client side results in reduced network traffic between the web browser client and the web server.

Using Java script following tasks can be performed.

· JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages

· JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element

· JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element

· JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server, this will save the server from extra processing

· JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser

· JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer

3. AJAX

AJAX stands for Asynchronous Java Script and XML. AJAX is a type of programming made popular in 2005 by Google. AJAX is not a new programming language, but a new way to use existing standards.

AJAX is based on JavaScript and HTTP Request. JavaScript can communicate directly with the server, using the JavaScript XMLHttpRequest object. Using this object JavaScript can trade data with a web server without reloading the web page.

AJAX use asynchronous data transfer between the web browser and web server, allowing web pages to request small bits of information from the server instead of whole pages.

AJAX technique makes Internet applications smaller, faster and more users friendly.

4.4.3.4 ASP (Active Server Pages )

Active Server Pages (ASP) is a tool for creating dynamic and interactive web pages.

ASP is a Microsoft technology, which works by allowing us to use the functionality of a programming language that will generate the HTML for the web page dynamically.

Advantages of ASP:

· Dynamically edit, change or add any content of a Web page. · Response to user queries or data submitted from HTML forms. · Access any data or databases and return the results to a browser. · The advantages of using ASP instead of CGI and Perl are those of

simplicity and speed.

· Provides security since your ASP code can not be viewed from the browser.

· Since ASP files are returned as plain HTML, they can be viewed in any browser.

· ASP programming can minimize the network traffic.