Overview of the Technologies Used
The following technologies & tools have been used in this project:
- HTML
- Java Script
- CSS
-Dreamweaver
HTML, short for HyperText Markup Language, is the predominant markup language for the creation of web pages. It provides a means to describe the structure of text-based information in a document — by denoting certain text as headings, paragraphs, lists, and so on — and to supplement that text with interactive forms, embedded images, and other objects. HTML is written in the form of labels (known as tags), surrounded by less-than signs (<) and greater-than signs (>). HTML can also describe, to some degree, the appearance and semantics of a document, and can include embedded scripting language code which can affect the behavior of web browsers and other HTML processors.
HTML stands for Hypertext Markup Language.
- Hypertext is ordinary text that has been dressed up with extra features, such as formatting, images, multimedia, and links to other documents.
- Markup is the process of taking ordinary text and adding extra symbols. Each of the symbols used for markup in HTML is a command that tells a browser how to display the text.
JavaScript is the name of Netscape Communications Corporation's and now the Mozilla Foundation's implementation of the ECMAScript standard, a scripting language based on the concept of prototype-based programming. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications.
Despite the name, JavaScript is only distantly related to the Java programming language, the main similarity being the common debt to the C syntax. Semantically, JavaScript syntax has far more in common with the Self programming language.
JavaScript is a registered trademark of Sun Microsystems, Inc. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation.
One major use of web-based JavaScript is to write functions that are embedded in or included from HTML pages and interact with the Document Object Model (DOM) of the page to perform tasks not possible in HTML alone.
Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can be applied to any kind of XML document, including SVG and XUL. The CSS specifications are maintained by the World Wide Web Consortium (W3C).
CSS has various levels and profiles. Each level of CSS builds upon the last, typically adding new features and are typically denoted as CSS1, CSS2, and CSS3. Profiles are typically a subset of one or more levels of CSS built for a particular device or user interface. Currently there are profiles for mobile devices, printers, and television sets. Profiles should not be confused with media types which were added in CSS2.
The use of CSS to position the content of a web page is sometimes referred to as CSS-P or CSS Positioning.
Macromedia Dreamweaver is a web development tool, created by Macromedia (now Adobe Systems). Initial versions of the application served as simple WYSIWYG HTML editors but more recent versions have incorporated notable support for many other web technologies such as CSS, JavaScript, and various server-side scripting frameworks.
The software is available for both the Mac and Windows platforms, but can also be run on Unix-like platforms through the use of emulation software such as Wine.
As a WYSIWYG editor, Dreamweaver can hide the details of pages' HTML code from the user, making it possible for non-coders to create web pages and sites.
Dreamweaver allows users to preview websites in many browsers, provided that they are installed on their computer. It also has some site management tools, such as the ability to find and replace lines of text or code by whatever parameters specified across the entire site, and a templatization feature for creating multiple pages with similar structures. The behaviors panel also enables use of basic JavaScript without any coding knowledge.
Details of some important functions
1. function CKquantity(checkString)
FUNCTION: CKquantity
PARAMETERS: Quantity to
RETURNS: Quantity as a number, and possible alert
PURPOSE: Make sure quantity is represented as a number
2. function AddToCart(thisForm)
FUNCTION: AddToCart
PARAMETERS: Form Object
RETURNS: Cookie to user's browser, with prompt
PURPOSE: Adds a product to the user's shopping cart
3. function getCookieVal (offset)
FUNCTION: getCookieVal
PARAMETERS: offset
RETURNS: URL unescaped Cookie Value
PURPOSE: Get a specific value from a cookie
4. function GetCookie (name)
FUNCTION: GetCookie
PARAMETERS: Name
RETURNS: Value in Cookie
PURPOSE: Retrieves cookie from users browser
5. function SetCookie (name,value,expires,path,domain,secure)
FUNCTION: SetCookie
PARAMETERS: name, value, expiration date, path, domain, security
RETURNS: Null
PURPOSE: Stores a cookie in the users browser
6. function DeleteCookie (name,path,domain)
FUNCTION: DeleteCookie
PARAMETERS: Cookie name, path, domain
RETURNS: null
PURPOSE: Removes a cookie from users browser.
7. function RemoveFromCart(RemOrder)
FUNCTION: RemoveFromCart
PARAMETERS: Order Number to Remove
RETURNS: Null
PURPOSE: Removes an item from a users shopping cart
7. function ChangeQuantity(OrderItem,NewQuantity)
FUNCTION: ChangeQuantity
PARAMETERS: Order Number to Change Quantity
RETURNS: Null
PURPOSE: Changes quantity of an item in the shopping cart
8. function ManageCart( )
FUNCTION: ManageCart
PARAMETERS: Null
RETURNS: Product Table Written to Document
PURPOSE: Draws current cart product table on HTML page
9. function CheckoutCart( )
FUNCTION: CheckoutCart
PARAMETERS: Null
RETURNS: Product Table Written to Document
PURPOSE: Draws current cart product table on HTML page for checkout.