FIT2076 Assignment

FIT2076 Assignment 2 Semester 2, 2019
This assignment is worth 25% of the total mark for the unit.
This is a group assignment and is to be completed by 2
students working together.
Title: Application Development and Implementation
Scenario
Harry Helper is the CEO of a charity called Famox and he‘s decided to embrace
modern technology and put his charity on the web so that people from all around the
world can make donations and purchase the ethical products that the charity sells.
Harry was impressed with your initial proposal and has decided to give you the job of
implementing his web-database application. However, limited finances mean that
Harr can only implement some functions at this stage. So he has decided to
concentrate on the Administrative aspects and will implement the Client facing
aspects at a later stage.
The expectation of this assignment is to develop a web/database application for
Harry that will allow him to administer his properties and clients
The database must be a MySQL database located on the Monash University MySQL
server and the web page "front-end" must use PHP (mysqli or PDO functions) and
be resident on the Triton Student Server. The connection between the web pages
and the database must be specified in ONLY ONE PLACE within your application.
Additionally, you must implement features which guard against SQL injection on all
pages.
If you have any questions regarding the requirements of this assignment, you MUST
discuss it with your tutor or lecturer.
DO NOT MAKE ASSUMPTIONS THAT MAY COST YOU MARKS.
It is intended that you implement the application that you described in Assignment 1.

代写FIT2076留学生作业、代做SQL编程设计作业
However, if the functionality that you proposed in Assignment 1 does not suit the
business requirements, you will be expected to deliver additional functionality.
If you wish to implement the functionality that you have described in Assignment 1,
you will need to go through that functionality during the Week 5/6/7 tutorials and get
your tutors approval. Your tutor may add functionality to your assignment.
If you wish to abandon your Assignment 1 ideas and start from scratch, you can
download the table definitions from Moodle and implement the functionality
described below.
ALL DATABASE ACCESS, FILE ACCESS AND CODE DISPLAY FOR THIS
ASSIGNMENT MUST BE DONE USING PHP.
All students have had a MySQL database account created with a username of
s999999999 (student id) and a password of monash00. You can change the
password after logging onto MySQL using a GUI client of your choosing.
Requirements
Security
Security is a concern here and only Harry and his staff should have access to this
site. A valid username and password must be entered to achieve access to any of
the pages on the site (excluding the menu and the homepage).
Main Page
The main page must display a menu and the application home page. The menu must
be visible at all times when the user is using your application.
The menu must provide links to pages offering the following functionality:
Product Page
This page will allow Harry to view/add/edit/delete his Products, additionally, the page
will allow Harry to browse/search his Products by entering a Category keyword. The
keyword will be a Category (or part thereof). A suitably formatted and sorted list of
Products that match the entered search criteria will be displayed to Harry or a
message indicating that no Products matches the entered criteria. Harry may then
select a Product from the list and edit the Products details.
This page will also offer Harry the ability to enter a new Product or delete an existing
Product.
Harry must also be able to upload and display one or more images of the Product or
delete existing images. All uploaded images must be stored in a sub-folder of your
ass2 folder called product_images
• THIS PAGE MUST USE CLIENT-SIDE JAVASCRIPT OR HTML5 TO
PERFORM DATA ENTRY VALIDATION FOR ADD AND EDIT
FUNCTIONALITY
Ensure that any database errors on this page are captured and a "user-friendly" error
is displayed to the user.
Place this image at the bottom of the page. Make the image
clickable to open up a new copy of the browser, in which is displayed the code used
for the Product Page.
You must use PHP to dynamically read and display the code
Client Page
This page will allow Harry to view/add/edit/delete his client list. Harry would also like
to be able to send emails to one or more clients who have agreed to be on his
mailing list.
• THIS FACILITY MUST ACTUALLY SEND EMAILS.
Place this image at the bottom of the page. Make the image
clickable to open up a new copy of the browser, in which is displayed the code used
for the Client Page.
You must use PHP to read and display the code.
Catgeory Page
This page will allow Harry to view/add/edit/delete the (product) category list.
Ensure that any database errors on this page are captured and a "user-friendly" error
is displayed to the user.
Place this image at the bottom of the page. Make the image
clickable to open up a new copy of the browser, in which is displayed the code used
for the Make Page
You must use PHP to read and display the code
Optional Requirements – Distinction
Completing the requirements stated above may earn you up to a Credit grade for this
assignment. In order to earn up to a Distinction grade you must complete the
following three optional requirements.
Client Page
Harry would also like to be able to produce a nicely formatted PDF document
containing all his clients‘ details
Project Page
This page will allow Harry to view/add/edit/delete the Project table. Example
Ensure that any database errors on this page are captured and a "user-friendly" error
is displayed to the user.
Place this image at the bottom of the page. Make the
image clickable to open up a new copy of the browser, in which is displayed the code
used for the Project Page.
You must use PHP to read and display the code.
Product Multiple Edit Page
Harry would like the functionality to update the sale price of multiple products at
once. This page will display the name and price of all products currently in the
database, with the prices displayed in textboxes allowing all these values to be
updated at once.
This page must be reached via a separate menu option.
Ensure that any database errors on this page are captured and a "user-friendly" error
is displayed to the user.
Place this image at the bottom of the page.
Make the image clickable to open up a new copy of the browser, in which is
displayed the code used for the Product Multiple Edit Page.
You must use PHP to read and display the code
Optional Requirements – High Distinction
To earn up to a High Distinction you must complete the basic requirements, the 3
optional requirements for a Distinction grade and the following 3 optional
requirements.
ProductCategory Page
This page will allow Harry to add multiple categories to a product when he is
adding/editing. When editing, the product details will be displayed, along with a
checkbox for all current categories. This list must be generated from the database.
Any checkboxes representing categories that the product already possesses will be
checked. Harry will be able to select one or more categories to add/delete to/from
the ProductCatgeory table.
NOTE: Your page does not have to look EXACTLY like the image below, but
must offer the functionality for Harry to add/delete multiple categories for a
product.
Ensure that any database errors on this page are captured and a "user-friendly" error
is displayed to the user.
Place this image at the bottom of the page.
Make the image clickable to open up a new copy of the browser, in which is
displayed the code used for the Product Category Page.
Images Page
Harry would like to be able to delete one or more product_image files from his
server. This page will list all the images in Harry‘s "product_images" folder, the
details of the product currently assigned that image (if the image is assigned to a
product) and a checkbox for each image. The checked images will be deleted and
the product_image table updated for each affected product, if applicable.
Ensure that any errors on this page are captured and a "user-friendly" error is
displayed to the user.
NOTE: This page should be "driven" by the images in the folder, not by the
products in the database. In other words if an image is contained within the
product_images folder, that is not currently assigned to a product, the image
should still be displayed.
Place this image at the bottom of the page. Make the image
clickable to open up a new copy of the browser, in which is displayed the code used
for the Images Page.
You must use PHP to read and display the code
Documentation Page
This page will provide assignment documentation.
1. Details of the authors: name, student ID and date of submission.
2. The username and password for the MySQL database account used for the
assignment. Marks will be deducted for failing to include this.
3. A link to a document which contains your Create Table statements. These
must include Primary key, Foreign key and Column constraints.
4. A link to a document which contains the data currently (at the time of
submission) in the database. Up to 20 marks will be deducted if there is not
sufficient data in your tables to test the functionality of your site. DO NOT
INCLUDE THE INSERT STATEMENTS - YOU WILL LOSE MARKS FOR
THIS!!
NOTE: Do not dynamically retrieve this data from the database for
display.
5. A link to a document which contains details of which group member
completed which part(s) of the application
Submitting Assignment 2
Create a sub-directory in your home directory on the student server. This subdirectory
must be called "ass2". Store the HTML, PHP and any other associated files
that make up the site in this sub-directory. You can have sub-directories within
"ass2" to store various files of the assignment: e.g. a separate sub-directory for
connection files etc.
This sub-directory must also contain a file that details which student completed each
piece of functionality.
Failure to follow this directory structure will result in non-assessment of your
assignment.
To view your assignment after it has been transferred, point your browser to:
http://triton.infotech.monash.edu.au/99999999/ass2/index.html
Note: insert your ID number in place of 99999999.
The Triton server will be disabled at 12am Melbourne time, on the date that the
assignment is due. By this time the assignment must have been transferred to your
directory on the Triton server. At this time, an image is taken of student assignments
and this is used for correction purposes. So, although you may be able to transfer
files after that time, they will not be considered for correction. Consequently, do not
leave it to the last day to transfer files. No consideration will be given for failing to
transfer files before the required time.
You must test the transfer procedure well before time to make sure you know how it
works. After you have transferred your assignment, test it thoroughly. Do not assume
that just because the assignment works properly from your hard disk, that it will also
work properly from the student server. For example, if you have spaces in the names
of your files, they may not work properly from the Triton server, but may work from
your hard drive.
If you fail to transfer your assignment before the closing time you will be given zero
marks. The only exceptions will be in cases of sickness or other serious cause, for
which documentary evidence (e.g. a doctor‘s certificate) must be produced. Students
must request an extension prior to the submission date.
The authors must write all submitted web pages. Where there is evidence of
similarity with other assignments, students will be heavily penalised. Students may
be interviewed as part of the assessment requirements of the assignment. Students
will be asked question(s) to explain their submitted assignment. If a question is not
answered satisfactorily, up to two marks will be deducted and successive questions
asked until satisfactory answers are forthcoming or there are no more marks to
deduct.
Students must not transfer any documents containing viruses to the student server.
Any such document will be given zero marks and a further 20 marks will be deducted
from the assignment total. Additionally completion of the individual assignment tasks
will not automatically earn you full marks for that task. Site design and usability will
also be taken into account.
Further Information
An assignment discussion forum has been created and you are encouraged to use
this, posting and answering questions regarding the assignment. It is important to
remember that staff may not be available to answer questions at the last minute, so it
is important that you do not leave it to the last minute to attempt the assignment.

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected]

微信:codehelp

原文地址:https://www.cnblogs.com/liipython/p/11631710.html

时间: 2024-11-07 20:41:55

FIT2076 Assignment的相关文章

Algorithm Part I:Programming Assignment(2)

问题描述: Programming Assignment 2: Randomized Queues and Deques Write a generic data type for a deque and a randomized queue. The goal of this assignment is to implement elementary data structures using arrays and linked lists, and to introduce you to g

RailsCast26 Hackers Love Mass Assignment rails中按params创建、更新model时存在的安全隐患

Mass assignment是rails中常用的将表单数据存储起来的一种方式.不幸的是,它的简洁性成了黑客攻击的目标.下面将解释为什么及如何解决. 上述表单为一个简单的注册表单.当用户填入name,点击提交时,一个新用户被创建.用户模型被如下定义: ruby create_table :users do |t| t.string :name t.boolean :admin, :default => false, :null => false end 当用户点击提交时,如下的action被执

hdu4781 Assignment For Princess(构造)

题目链接:hdu4781 Assignment For Princess 题意:n个点m条边,每条有向边的权值分别是1,2,3…m,一个点能到达任意一个点,没有重边和自环,没有任何两条边的权值相同,任意一个有向环的权值和必须是3的倍数,现在需要把这个图输出来. 题解:注意到题目给出的范围m >= n+3,所以一定是可以构造出一个1~n的回路使得权值和为3的倍数的,可以让前n-1条边权值为1~n-1,第n条边(n->1)可以为n, n+1, n+2从而满足题意,后面再连任意两条不相邻的边时,边权

<Effective C++>读书笔记--Ctors、Dtors and Assignment Operators

<Item 5> Know what functions C++ silently writes and calls 1.If you don't declare them yourself, compilers will declare their own versions of a copy constructor, a copy assignment operator, and a destructor. Furthermore, if you declare no constructo

POJ 3189 Steady Cow Assignment(最大流)

POJ 3189 Steady Cow Assignment 题目链接 题意:一些牛,每个牛心目中都有一个牛棚排名,然后给定每个牛棚容量,要求分配这些牛给牛棚,使得所有牛对牛棚的排名差距尽量小 思路:这种题的标准解法都是二分一个差值,枚举下界确定上界,然后建图判断,这题就利用最大流进行判断,值得一提的是dinic的效率加了减枝还是是卡着时间过的,这题理论上用sap或者二分图多重匹配会更好 代码: #include <cstdio> #include <cstring> #inclu

hdu 1845 Jimmy’s Assignment (二分图)

Jimmy's Assignment Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 896    Accepted Submission(s): 379 Problem Description Jimmy is studying Advanced Graph Algorithms at his university. His most

FreeRTOS的application assignment

Please follow the steps precisely in order to complete the objectives of the assignment. If you use the C++ FreeRTOS framework, it should make the assignment significantly easy. Create a producer task that takes 1 light sensor value every 1ms. Collec

用户无法进入SDSF,报NO GROUP ASSIGNMENT错误

注:命令行小写部分表出需要根据自己的情况改变!! a)激活SDSF资源类 SETROPTS CLASSACT(SDSF) b)查看SDSF资源类的PROFILE RLIST SDSF * c)如果不存在GROUP.ISFUSER.servername的PROFILE,则需要定义, RDEFINE SDSF (GROUP.ISFUSER.servername) OWNER(userid or group name) UACC(READ) 这样,所有用户都可以有读取权限,就都可以访问SDSF了 附1

遇到local variable &#39;e&#39; referenced before assignment这样的问题应该如何解决

问题:程序报错:local variable 'e' referenced before assignment 解决:遇到这样的问题,说明你在声明变量e之前就已经对其进行了调用,定位到错误的地方,对变量进行重新的声明 通常这样的问题对于python的程序员来说都是因为习惯了python2的语法,转移到python3中时,出现的错误.在Python3中,异常对象无法在异常块作用域外访问.(原因是在垃圾收集器运行且从内存中清理引用之前会在内存栈帧中保存一个引用周期)通常参考下面这个例子来做异常处理: