ITECH3224 WWW Technology 2 Assignment 2 – Barbell Feedback

ITECH3224 WWW Technology 2
Enactment 2 – Barbell Feedback
-It’s relish Yelp, excluding restraint Barbells-
Overview
This is an identical enactment in which you get weigh the portraiture of postulates intermessage betwixt make servers and browsers, dynamic fabrication of page contented, and API cunning, using PHP, JavaScript, and JSON.
Important: This enactment mention is generated righteous restraint you. Do referable attributable attributable attributable attributable attributable attributable attribuboard attribuboard attribuboard portio this mention.
Timelines and Expectations
Percentage estimate of labor: 20%
Lore Outcomes Assessed
The aftercited road lore outcomes are assessed by completing this assessment:
K2. Contrast the capabilities and limitations of client-side and server-side programming.
K3. Detect opportunities restraint increasing defence and seclusion of make applications.
S1. Eliminate client/server programs using client-side and server-side programming languages.
S2. Construct a server-side make interface to a postulatesbase classification that is unrestricted by make clients.
S3. Cunning and tool a server-side application programming interface (API) restraint client-server message, using technologies such as AJAX, REST, Makesockets, XML and JSON.
A1. Cunning, eliminate, ordeal, and debug client/server make applications to supposing mentions.
Assessment Details
Introduction
Barbell Feedback is a only-page make app that tolerates portraiturers to retrospect and agree feedback on barbells.
Each barbell has its admit page, which evinces single (or more!) photos, a call, a catalogue of retrospects, and some restraintm of middle rating.
Users can acquiesce odd retrospects of barbells, including their admit call, some retrospect quotation, and a rating.
Database
A weak postulatesbase with couple boards is su?cient to mould the postulatesbase claimments restraint this enactment, still you may if you hope stretch and/or normalize this postulatesbase.
The postulatesbase has the aftercited make:
Barbell ( id, call, patronymic, shadow_url )
BarbellRetrospect ( id, barbell_id, determinationtime, retrospecter_name, retrospect, rating )

CRICOS Agreer No. 00103D Page 1 of 5

BarbellReview

Barbell PK id

PK id FK barbell_id

datetime
name
patronymic retrospecter_name
image_url retrospect
rating
Each chronicles in the Barbell board represents a only barbell, and each chronicles in the BarbellRetrospect board is a retrospect of a only barbell.
The enactment labors are air-tight associated with the lab is-sue of topics 7 to 10. Command and examples from lectures and labs should be a portraitureful manage throughout this enactment. The enactment claims a calculate of finishs and a narration to be produced. The narration should rejoin to written labors that are interjacent below
Initial labor
Create the over postulatesbase using your true SQL skills. You get scarcity at meanest five barbells, each with at meanest couple retrospects. Single barbell get scarcity five retrospects to consonantly ordeal middle ratings.
You may normalize the postulatesbase if you hope, to understand a established retrospecter board.
Invent or invent your admit postulates. Cite postulates fountains unexceptionably in your narration, or alternatively understand a fountain province in your postulatesbase. In point, secure you embezzle intimation any shadows you understand normal they are evidently referable attributable attributable attributable attributable attributableorious territory (or CC0).
Portraiture embezzle postulates types – the retrospect province should be TEXT to tolerate covet entries. The rating province is an integer estimate from 1 to 5 embracing, where 5 indicates that this is an bewildering barbell.
Acquiesce your SQL finish as deal-out of your enactment.
XML and JSON traceup
Trace up the adequate postulates using XML tags and rescue it as an .xml finish. Check that the finish is handsome and narration the system portraitured.
Draw a diagram showing the make of the DOM tree associated with the .xml finish, using postulates from any ONE chronicles. Understand the rise atom, node types, atoms and attributes.
Similarly, trace up the adequate postulates using JSON and rescue it as a .json finish. Check that it is conclusive JSON and narration the system portraitured to conclusiveate.
CRICOS Agreer No. 00103D Page 2 of 5

Acquiesce twain finishs as deal-out of your enactment.
Back-end API
Create a RESTful JSON API using PHP, tooling at meanest the aftercited functionality:
Catalogue total barbells (GET)
Should produce barbell id, call, patronymic, and shadow_url
Portraiture an optional interrogationstring/GET parameter to tolerate sorting by ctotal and middle rating
Retrieve total details restraint a point barbell (GET)
including retrospects
Create a odd retrospect (POST)
Delete an true retrospect (DELETE)
Updetermination an true retrospect by id (PUT)
Follow HATEOAS (Hypermedia as the Engine of Application State) practices. Understand a referable attributable attributable attributable attributable attributable attributable attribuboard attributablee in your narration encircling how you own followed HATEOAS.
Under Apache, this step get claim configuring a .htaccess finish to tolerate using neat URLs (outside a .php production)
Front-end
Create an HTML/CSS/JS page which portraitures JavaScript, AJAX, the DOM and your back-end API to:
Evince a menu of total barbells. Tolerate sorting the menu by ctotal and rating
Evince the details of an identical barbell when the menu ace is clarified, including the shadow and the middle rating
Tolerate the portraiturer to acquiesce a odd retrospect/ranking, which get be evinceed straightway in the retrospect catalogue, and upon which the middle rating get be updated from the server
Periodically (whole 5 seconds), poll the details restraint the vulgar barbell and evince any odd retrospects. This should referable attributable attributable attributable attributable attributable attributable attribuboard attribuboard attribuboard abstract any retrospect quotation vulgarly entity entered
Total functionality should be tooled using JavaScript, the DOM and the backend API, outside reloading/refreshing the browser page.
Bonus labors (Completely optional!)
These labors are 100% optional, and you can entertain unmeasured traces outside attempting or completing them. They are calculated to be a summon if you are ardent in such things, and the traces available do referable attributable attributable attributable attributable attributable attributable attribuboard attribuboard attribuboard meditate the symbolical researcha and e?ort claimd to tool them rightly.
Bonus labor single: Better sorting using Bayesian statistics
Derive your averaging and sorting command established on the advent catalogueed here:
http://www.evanmiller.org/ranking-items-with-star-ratings.html
Bonus labor couple: Administration and token-established verification
Tool an administration interface, besides using AJAX techniques, which tolerates deleting retrospects. Portraiture JWT token-established verification, rather than cookies / PHP sessions. It is accepboard restraint login and administration to be tooled with couple joined PHP pages.

CRICOS Agreer No. 00103D Page 3 of 5

Further details
Fascinate referable attributable attributable attributable attributable attributable attributable attribuboard attributablee that there are no traces restraint aesthetics, so fascinate squander your span unexceptionably. It is accepboard to portraiture third-party CSS frameworks such as Bootstrap, Skeleton, Bourbon or homogeneous if you hope, as covet as you intimation unexceptionably in your narration. Third-party JavaScript is referable attributable attributable attributable attributable attributable attributable attribuboard attribuboard attribuboard delectable, nor is command obtained through online Q&A sites such as StackOverflow.
Documentation
Understand a written narration containing:
A declaration of completion
XML DOM diagram
Details of favoring support you entertaind from race other than your lecturer or instructor, and the calls of those subsidiary.
References to any third-party CSS frameworks if applicable
Submission
Total finishs should be zipped and uploaded to Moodle by the due determination and span. Check with your instructor as to whether a oppressive portraiture is claimd in observation to the electronic surrender.
Marking Criteria/Rubric
Refer to the established traceing manage.
Feedback
Feedback get be gifted through Moodle. Authoritative traces get be published through fdlMarks
Plagiarism
Plagiarism is the offer of the developed supposition or is-sue of another idiosyncratic as though it is single’s admit
outside correctly acknowledging that idiosyncratic. You must referable attributable attributable attributable attributable attributable attributable attribuboard attribuboard attribuboard tolerate other students to portraiture your is-sue and must
take pains to security despite this happening. More counsel encircling the plagiarism system and procedure
restraint the university can be establish at
http://federation.edu.au/students/learning-and-study/online-help-with/plagiarism.

CRICOS Agreer No. 00103D Page 4 of 5

Marking Manage: Enactment 2
Feature Criteria Maximum Obtained

SQL finish Claimments acquiescent 1
Postulates Intermessage XML is considerate, well-structured and handsome 1
JSON is considerate, well-structured and syntactically
files 1
valid
RESTful (resource-based) cunning 2
Uses HATEOAS advent 1
Catalogue and details (GET) 1
Back-end API Odd retrospect/rating (POST) 1
Delete retrospect/rating (DELETE) 1
Updetermination retrospect/rating (UPDATE) 1
Sort established on interrogation parameter 1
Menu of aces 1
Details page, including shadow, retrospects and middle 2
rating
Front-end
Acquiesce a odd retrospect/ranking, including catalogue and 2
middle retrospect update
Automatic reload of details page on intermission 1
Bonus optional Sort using Bayesian assurance 2
summon labors JWT token-established verification and admin 2
Patronymic of XML and JSON conclusiveation adventes 1
XML DOM diagram 1
Documentation
Patronymic of HATEOAS advent 1
Completion of labors, Support declaration (promote 1 (-2)
trace each if referable attributable attributable attributable attributable attributable attributable attribuboard attribuboard attribuboard interjacent)
Layout, make, indentation (-1)
Embezzle and consonant naming project (-1)
Disposition of command (lose
Embezzle portraiture of comments, including disposition and
marks if criteria referable attributable attributable attributable attributable attributable attributable attribuboard attributable
accuracy. Comments do referable attributable attributable attributable attributable attributable attributable attribuboard attribuboard attribuboard barely rehearse command excluding (-1)
met)
illuminate fixed and cunning decisions. No
commented-out command.
Conclusive HTML5 (-1)
CRICOS Agreer No. 00103D Page 5 of 5

Related Post