260 likes | 270 Views
This project explores the world of e-commerce in the wireless age, designing and developing a WAP-based E-Commerce application accessible with WAP-enabled devices. It includes features such as browsing products, user registration, login, profile management, and real-time buyer-seller interaction. Future plans involve using XML and XSL to reduce programming efforts and enhance interface design.
E N D
LYU0001Wireless-based MobileE-Commerce on the Web Supervisor: Prof. Michael R. Lyu Prepared By: Wat Hong Fai, Tony Yan Wai Keung, Harris Final Year Project Presentation, Fall 2000 The Chinese University of Hong Kong Department of Computer Science and Engineering
Outline • Background information on wireless access • WAP basics • WAP limitations • Future of WAP • Project objectives and details • Project implementations • Problems encountered • Future plans • Information related to future plans
From Wired to Wireless • International Data Corp (IDC) predicts: • mid 2001 - all mobile phones shipped in the world will be WAP-capable • the end of 2002 - more wireless subscribers capable of Internet access than wired Internet users • When this happens, web masters may first consider the needs of the wireless users and secondly, the wired PC users
WAP • Wireless Application Protocol (WAP) • An open, global specification developed by WAP Forum • Based on already existing Internet protocols • Optimized for mobile users with wireless devices
WAP Architecture • Traditional web server (such as Apache, IIS) can host pages for WAP • Wireless Markup Language (WML) is functionally equivalent to HTML • Pages designed for WAP (either static or dynamically generated) should be in WML format
WAP Architecture (2) • WAP Gateway is an intermediary between the Internet and the mobile network • Translates mobile device requests (WAP requests) into HTTP requests • Redirects the web-server's HTTP responses to the mobile device
WAP Limitation • Designed with constraints • Small display • Limited input facilities • Narrow bandwidth of network connection • Limited memory • Insufficient computational resources
WAP Limitation (2) • Narrow bandwidth: 9.6kbps • Maximum size of each deck: 1.4 Kbytes • Only text and monochrome images (.wbmp) are supported GIF format on web WBMP format on WAP
Future of WAP • Recently, WAP(version 1.2) is based on GSM, CDMA or TDMA networks (2G) • General Packet Radio Service (GPRS) • Uses packet switched data transmission • Faster speed (115 kbps) and better application can be developed. E.g. Multimedia applications • Universal Mobile Telecommunications System (UMTS) • Internet-based packet data, up to 2 Mbps • It will make video conferencing possible
Project Objectives and Aims • Our project is to explore the world of e-commerce in it's beginning age of moving to the wireless world • Design and Develop a WAP-based E-Commerce application on the Web • Accessible with WAP-enabled device such as mobile phone and PDAs
Project Details • A Second hand market application is to be built for real-time interaction, purchasing and transaction with payment • Posting products for sell or to request for • Real-time buyer-seller interaction to bargain for the price • Real-time purchasing and transaction by credit card
Project Implementations • Hardware Platform • Windows NT Server 4.0 with IIS 4 • Programming Language • PHP • Database • MySQL
Browsing Products • Products are categorized by type
User Registration • Users should register for an account before selling and requesting products
Login • Session ID is generated for each user login session, propagates through pages
Profile Management • Modify personal profile (e.g. password, bank account, credit card number)
Giving Response • When users are attracted by a product or request, they response with giving price and leaving a message
Check Status • Check to see if anyone response to the users’ posting
Problems Encountered • Department Firewall • WAP simulator (used to test WML pages) cannot connect to WAP gateway • Online simulator is used instead • Perl with Oracle • Many efforts put into installing Perl to connect to Department Oracle server, but without success • Switch to use open source PHP and MySQL
Future Plans • Current implementation use two sets of programs to generate HTML and WML pages • XML and XSL can help to reduce duplication of programming efforts
XML and XSL • eXtensible Markup Language (XML) • A meta language used to define other domain- or industry-specific languages • No fixed set of elements • eXtensible Stylesheet Language (XSL) • A language for transforming XML documents • A description of how to present the transformed information • eXtensible Stylesheet Language Transformations (XSLT) describes a transformation vocabulary
Application of XML and XSL • Separate interface design from content development • Program query database only once and present the data in XML format • One XSL document is used to transform the XML data into HTML document • Another XSL document is used to transform the XML data into WML document
How XML and XSL Works • More “views” can be added by providing more XSL documents
Summary • E-Commerce development is now shifting from wired computers to wireless mobile devices • WAP will take major role in future E-Commerce applications • Familiar with traditional means of building a E-Commerce site • Explore alternative method in supporting interface of both Web and WAP. • XML and XSL will be one of the approaches suitable for this kind of application