New! Hire Essay Assignment Writer Online and Get Flat 20% Discount!!Order Now
ITECH3108
AU
Federation University
This is an individual assignment in which you will explore the use of data interchange between web servers and browsers, dynamic construction of page content, and API design, using PHP, JavaScript, and JSON. Important: This assignment specification is generated just for you. Do not distribute this specification.
The following course learning outcomes are assessed by completing this assessment:
1.Contrast the capabilities and limitations of client-side and server-side web code
2.Detect opportunities for increasing security and privacy of web applications
3.Develop client/server web applications using client-side and server-side code
S2. Connect to and manipulate a database management system programmatically using server-side code
4.Design and implement a RESTful web application programming interface (API)
5.Implement a client-side web application which uses a client-side programming language to access a web API
6.Design, develop, test, and debug client/server web applications to provided specifications
Movie Opinion is a single-page web app that allows users to post their opinions about movies online, and reply to other people's opinions.
Users can post new opinions, which include some review text and, optionally, their name. Opinions submitted without a name are labelled "anonymous" and should have distinct formatting. Users can additionally "like" other opinion posts.
Create the above database using your existing SQL skills. You will need at least eight opinions about movies. At least three posts should be replies. At least one of the posts should be written by somebody called user30345321. Invent or discover your own data. Cite data sources appropriately in your report, or alternatively include a source field in your database.
Mark up the complete data using JSON and save it as a .json file. Check that the file is valid JSON and report the method used to validate.
Create a RESTful JSON API using PHP, implementing at least the following functionality:
Create an HTML/CSS/JS page which uses JavaScript, AJAX, the DOM and your back-end API to: Display a global timeline of all top level movie opinion posts. Sort the list by date, with the most recent first.
Allow the user to submit a new top-level post, which will be displayed immediately in the review list.
Display the details of an individual post when clicked, including all direct replies.
Allow the user to reply to a top-level post. The reply should be displayed immediately.
Allow the user to "like" a post by clicking on a link or button.
Periodically (every 5 seconds), update the page with new posts or replies and updated "like" counts. This
should not remove any text currently being entered in any forms.
15,000+ happy customers and counting!