|
Wanted & Available web
Application
This is to simulate the real online business application. The
application is aimed to link the sell side and buy side. Either buy
side or sell side can post a listing. In the main page, all
categorized goods are listed (Figure 1). The easiest way to implement
such a page is to generate a function to create HTML code for a line.
Figure 1: The Link Page
If the user clicks on the “View Listings” link under a type of
product, a new page will show up (Figure 2). This page displays all
the listings corresponding to a product type. The data is displayed
into a repeated pattern, but the pattern is not a real grid. So a
function is defined to create HTML code for a whole listing, with the
right side being created with a sub-function. The re-usable portion of
a page, such as header, left or right browsing bar, footer, etc., can
also be implemented by function calling. ASP .net also provides
features of user control, which is more straight-forward for most
cases.
Figure 2: The message page
If the user clicks the "Add Listings"
link, the add listing page is launched (Figure 3). If the use has
sufficient privilege through login, he is allowed to submit the
listing, otherwise he is prompted to the registration page.
Validation controls of the ASP .Net was
employed to ensure some required information is filled. A custom
control was implemented to handle the case that max. length is
reached.
The real strength for the .Net is that
a fully object-oriented programming language is used to implement a
web page, instead of a script language such as VB Script or Perl. .Net
framework has over 7000 fully implemented classes available for the
programming.
Figure 3: The add listing page
|