Sie sind auf Seite 1von 2

IS312 Week 11 Mini-Project Requirements

Essentially the goal is to create a simple dynamic website that stores data in a database and
allows users to see different views of that data in their web browser, as well as add, modify, and
delete data.

DO THIS PROJECT WITH YOUR DIWAI RESTRAUNT WEBSITE. This project should allow
clients to order. However, only members who are logged in will be allowed to provide feedback.
Requirements for mini Project:
 The relational schema of your underlying database must contain at least 6 tables
(preferably more)
 The relational schema models at least one Many-to-Many relationship.
 The relational schema is normalized to at least the 3rd Normal Form.
 Your project features an install script that is run by the marker before entering the main
website.
 This install script creates the database objects (all tables, views, etc) if they do not yet
exist, also creates test data for those tables. It should also do any other setup necessary to
use your software. Installation should be smooth and display appropriate feedback.
 The database stores login and password details of registered users of your web
information system. Registered users can do more things in your system than visiting
users who do not have login/password.
 The interface of your website must allow a simple search of products/items/... that your
database stores. The simple search typically involves just one database table.
 In addition to the very simple single-keyword search, your web interface should also
allow a more advanced search, possibly from another page. The advanced search should
query more than one table in the database and preferably involve the Many-to-Many
relationship required above.
 Both simple and advanced searches should be translated behind the scenes to SQL
queries on the database.
 The web interface allows registered users to change (add, delete, modify) most data
present in the database, in a user friendly way (ie, do not require nor allow users to type
in insert into SQL statements but use web forms instead).
 Form data must be validated, at least on the server side (client-side form data validation is
optional).

Directory Structure
The main directory must contain at least the following files:
 install.php the PHP script that is run first by the marker testing your project. See
requirements above.
 index.php the PHP script that is started after the marker has installed your software. It
should generate a clean front end of your web information system, with a log-in area for
registered users /ability to create a new user (if applicable).
 Other .php files that correspond to discrete web pages in your system.
 A directory called css. This should include one or more stylesheets that are used by your
webpages.
 A directory called images. Make sure that any images in it are small, and are not
copyright protected.
 libcommon.php the main PHP library file that contains the functions called by your
program. You may create more than one library file, but please call them lib*.php.
 It is strongly advised that you have only one function that creates access to the database
server; that this function is present in libcommon.php; and that all other functions that
access the database do so through the resource returned by your function.
 Note that almost all files in your repository should be text files (php, txt, sql, ...) and very
few binary files (a handful of small images only, really). The total size should be very
small.
 For the purpose of assessing your work, your repository will be checked-out and placed
in a
 subdirectory of the htdocs directory of the XAMPP software cleanly installed on the
 examiner/lecturer/marker's PC. Hence, you should test that such

Das könnte Ihnen auch gefallen