Create the database using your existing sql skills

Assignment Help Other Subject
Reference no: EM132371368

Assignment - Dancing Event Organiser

A system for social catchups focused for Dancing Event Organiser

Overview

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.

Learning Outcomes Assessed
The following course learning outcomes are assessed by completing this assessment:

K2. Contrast the capabilities and limitations of client-side and server-side web code K3. Detect opportunities for increasing security and privacy of web applications S1. 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
S3. Design and implement a RESTful web application programming interface (API)
S4. Implement a client-side web application which uses a client-side programming language to access a web API
A1. Design, develop, test, and debug client/server web applications to provided specifications

Assessment Details

Introduction
Dancing Event Organiser is a single-page web app that allows users to build community around dancing online, and vote to other people's suggested times for events relating to dancing.

Users can post new time suggestions with an option to display their name in association to the time suggestion or remain private. Times submitted without a name are labelled "anonymous" and should have distinct formatting.

Users can additionally "save" other times for later review.

Database

A simple database with three tables is sufficient to model the database requirements for this assignment, however you may if you wish extend and/or normalize this database.

The database has the following structure:

DancingEvent ( id, name, time, post_date, poster_name(

Votes( event_id, user_id, private)

User ( id, name)

Each record in the DancingEvent table represents a single event time suggestion.

The post_date field should be a MySQL TIMESTAMP field, and contains the date and time that the post was created. You may achieve this using the DEFAULT CURRENT_TIMESTAMP declaration in your CREATE TABLE statement.

A voters field is an integer value indicating how many people have "voted" for the timeslot. This can be done by a select statment counting the voters given the event id.

301_figure.jpg

Each record in the Votes table represents a single vote for a Dancing Event with the private as a boolean to remain anonymous.

The assignment tasks are closely associated with the lab work of topics 7 to 10. Code and examples from lectures and labs should be a useful guide throughout this assignment. The assignment requires a number of files and a report to be produced. The report should respond to written tasks that are included below

Initial task
Create the above database using your existing SQL skills. You will need at least 5 times suggested for dancing event organisers. At least three times should be saved.

At least one of the times should be submitted by somebody called useryour student number.

Invent or discover your own data. Cite data sources appropriately in your report, or alternatively include a source field in your database.

Submit your SQL file as part of your assignment.

JSON markup
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.

Submit this file as part of your assignment.

Back-end API
Create a RESTful JSON API using PHP, implementing at least the following functionality: List all top-level events (GET)
Should include id, name, time, voters
Use an optional querystring/GET parameter to allow sorting by post_date and voters.
Retrieve all details for a particular post (GET)
including voters Create a new event (POST)

Follow HATEOAS (Hypermedia as the Engine of Application State) practices. Include a note in your report about how you have followed HATEOAS.

Under Apache, this step will require configuring a .htaccess file to allow using clean URLs (without a .php extension)
Front-end

Create an HTML/CSS/JS page which uses JavaScript, AJAX, the DOM and your back-end API to:

Display a global timeline of all dancing events. Sort the list by date, with the most recent first. Allow the user to submit a new events, which will be displayed immediately in the review list. Display the details of an individual post when clicked, including all voters.

Allow the user to add a voter. The voter should be displayed immediately. Allow the user to "vote" 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.

The last requirement can be tested by opening your site in multiple browser tabs at the same time

All functionality should be implemented using JavaScript, the DOM and the backend API, without reloading/refreshing the browser page.

Further details
Please note that there are no marks for aesthetics, so please spend your time appropriately. It is acceptable to use third-party CSS frameworks such as Bootstrap, Skeleton, Bourbon or similar if you wish, as long as you reference appropriately in your report. Third-party JavaScript is not acceptable, nor is code obtained through online Q&A sites such as StackOver?ow.

Documentation

Include a written report containing: A statement of completion;

Details of specific assistance you received from people other than your lecturer or tutor, and the names of those assisting;

References to any third-party CSS frameworks if applicable;

Anything interesting or cool you'd like to draw to your marker's attention.

Reference no: EM132371368

Questions Cloud

Explain why health promotion and prevention are important : IHP 501 Small Group Discussion: Millennium Development Goals (MDG). Explain why health promotion, community health, and prevention are important
Explain why overall Bayes risk must be concave down : Probability Problems - Explain why overall Bayes risk must be concave down as a function of the prior P(?1) as shown in Fig. 2.4
Analysis of the bond market : ECON1239 - Principles of Finance - RMIT University - Prepare a report which sets out an analysis of the bond market in two selected countries using real-world.
System for social catchups for dancing event organiser : A system for social catchups focused for Dancing Event Organiser - Contrast the capabilities and limitations of client-side and server-side web code
Create the database using your existing sql skills : ITECH3108 - Dynamic Web Programming - Federation University - Dancing Event Organiser - Create the database using your existing SQL skills
Writing pros of the use of cellphones : Organize with the use of topic sentences that illustrate the main idea of each paragraph.Offering a brief explanation of the history or recent developments.
Calculate the GST exclusive and GST inclusive sales price : BUMAN201A Business Maths and Statistics Assignment - Business Problem Scenario, TAFE NSW Higher Education, Australia. Calculate the sales price
Explain educational need that will be focus of the project : Evidence-based practice proposal topic for this capstone project is Drug Induced Mental Disorders. Consider the clinical environment in which you are currently.
Are healthcare patients knowledgeable enough to participate : Are healthcare patients and unlicensed personnel(e.g., nurse aides, housekeepers, orderlies) knowledgeable enough to participate on quality improvement teams?

Reviews

len2371368

9/16/2019 12:18:16 AM

Front-end Global list of events 1 Details page, including voters 2 Submit a new voter 1 Submit a vote for existing timeslot 1 Automatic data reload on interval 2 Documentation Description of JSON validation approaches 1 Description of HATEOAS approach 1 Completion of tasks, Assistance statement (lose 1 mark each if not included) (-2) Quality of code (lose marks if criteria not met) Layout, structure, indentation (-1) Appropriate and consistent naming scheme (-1) Appropriate use of comments, including quality and accuracy. Comments do not simply narrate code but illuminate intent and design decisions. No commented-out code. (-1) Valid HTML5 (-1) Total: 20

len2371368

9/16/2019 12:18:07 AM

Marking Guide: Assignment 2 Feature Criteria Maximum Obtained SQL file Requirements satisfied 1 Data Interchange JSON is accurate, well-structured and syntactically valid 1 Back-end API RESTful (resource-based) design 2 Uses HATEOAS approach 1 List and details (GET) 2 New event (POST) 2 Vote and Unvote 1 Sort based on query parameter 1

len2371368

9/16/2019 12:17:50 AM

please read the specification carefully and it must match my requirements given in the attachment and also provide related database file for running my codes. Include a written report containing: A statement of completion; Details of specific assistance you received from people other than your lecturer or tutor, and the names of those assisting; References to any third-party CSS frameworks if applicable; Anything interesting or cool you'd like to draw to your marker's attention.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd