Monday, November 26, 2018

1-2 pages. Include a title page and a reference page to cite your text. Adhere to APA formatting throughout, and cite any outside sources you may use

Choose two of the Nine provision of the Code of Ethics for Nurses and describe how you will personally apply each in the practice setting with your patients. Describe in detail the purpose of the provision and provide examples of theprovision applied in practice. Explain why it is important to uphold the provision in maximizing the quality of patient care, and identify how it enhances your own practice as a nurse.

Your paper should be 1-2 pages.

Include a title page and a reference page to cite your text. Adhere to APA formatting throughout, and cite any outside sources you may use.

    The nurse, in all professional relationships, practices with compassion and respect for the inherent dignity, worth, and uniqueness of every individual, unrestricted by considerations of social or economic status, personal attributes, or the nature of health problems.
    The nurse’s primary commitment is to the patient, whether an individual, family, group, or community.
    The nurse promotes, advocates for, and strives to protect the health, safety, and rights of the patient.
    The nurse is responsible and accountable for individual nursing practice and determines the appropriate delegation of tasks consistent with the nurse’s obligation to provide optimum patient care.
    The nurse owes the same duties to self as to others, including the responsibility to preserve integrity and safety, to maintain competence, and to continue personal and professional growth.
    The nurse participates in establishing, maintaining, and improving health care environments and conditions of employment conducive to the provision of quality health care and consistent with the values of the profession through individual and collective action.
    The nurse participates in the advancement of the profession through contributions to practice, education, administration, and knowledge development.
    The nurse collaborates with other health professionals and the public in promoting community, national, and international efforts to meet health needs.
    The profession of nursing, as represented by associations and their members, is responsible for articulating nursing values, for maintaining the integrity of the profession and its practice, and for shaping social policy.

Guidelines on Screening Procedures

The goal of health promotion and education is to help prevent disease in patients. However, this is not always successful, and disease it not always preventable. With disease, early detection is ideal, often making screening procedures a routine part of clinical care. Unfortunately, many patients do not utilize these health services. This can be attributed to lack of awareness or access to care, financial concerns, or even levels of comfort with health care providers. In your role as the advanced practice nurse, you must be aware of potential obstacles for patients and implement strategies to ensure patients receive necessary screenings. Although a variety of screening procedures are recommended for women at various stages of life, not all screenings are appropriate for all patients. Understanding the strengths and limitations of each screening, as well as current guidelines for use is essential to effectively facilitate patient care. For this Discussion, the course Instructor will assign a specific topic for you to research.

To prepare:

Review this week’s media presentation, as well as Chapter 6 of the Tharpe et al. text and the U.S. Department of Health and Human Services article in the Learning Resources.
Research guidelines on screening procedures for heart disease
Reflect on strengths and limitations of the screening guidelines.
Consider how the guidelines might support your clinical decision making.

Post on or before Day 3 an explanation of the guidelines on screening procedures for the topic assigned to you. Include an explanation of strengths and limitations of the guidelines. Then , explain how the guidelines might support your clinical decision making.

Write a 2 page paper addressing the following elements in your paper

Espoused Reality vs Actual Reality

Discuss the difference between espoused reality versus actual reality.

In your discussion be sure to include why it is sometimes difficult for organizations to assess themselves honestly.

·        Espoused Reality vs Actuality

In the first lecture for the week, the idea of espoused reality versus actuality was discussed.

Write a 2 page paper addressing the following elements in your paper:


    • Explain how a manager would avoid having espoused reality enter into his or her department.
    • Include a discussion on the tools they could use, would department meetings help – please be sure to support your position with peer reviewed references. Include a title page and 3-5 references. Only one reference may be from the internet (not Wikipedia). The other references must be from the Grantham University online library. Please adhere to the Publication Manual of the American Psychological Association (APA), (6th ed. 2nd printing) when writing and submitting assignments and papers.





    Health Effects of Acculturation
    The health status impacts of allostatic load relating to the acculturation process among the immigrant population. The health status of the immigrants are affected by the various factors includes the socioeconomic status levels, ethnicity, immigrant programs, and the length of stay in the U.S. The initial health coverage provided among the recent immigrants usually reduces with time they spent in the new country (Riosmena, Wong & Palloni, 2013). The decline in health advantage emerges from the acculturation process to the standards of the indigenous people.
    Barrera Jr, Toobert, Strycker and Osuna (2012) examines that there are inherent aspects of the native cultures that reduces stress, the likelihood of taking part in poor health actions and offering social support to reduce the impacts of unhealthy lifestyles and other threats. Acculturation to the traditional values and aspects in the United States could eradicate the protective factors and thus lead to the decline in the health of the immigrants (Barrera Jr, et al., 2012). However, the immigrants who can overcome the influences of the native cultures they could eliminate the impacts of acculturation.
    In terms of ethnicity, Andreeva and Unger (2015) explain that health declines due to the absence of information amongst the different ethnic groups in allostatic load. The model of the allostatic load can help in understanding the health differences. For example, the black and Hispanic individuals encounter discrimination, racism, and the challenges of reduced socioeconomic levels (Lawton & Gerdes, 2014). Such negative conditions could accumulate stressful environment which could increase the allostatic load, which eventually creates poor health outcomes.
    The socioeconomic status levels of the immigrants to the United States also impacts on their ability to maintain good health coverage. When the immigrants come into the United States, they might counter various health concerns due to the lack of quality housing and living standards (Cho, Holbrook & Johnson, 2013). It is difficult for the immigrants to get good jobs in the U.S and thus, it makes it difficult for them to get access to improved health care. They end up assimilating to reduced health care levels among the Native Americans.
         If there is a high level of an immigrant from the place of nativity, it could influence better health care. It is because there are numerous native immigrants, which provides support to the new immigrants in the United States. The nativity determines the degree of becoming a Native American and its impacts on the acculturation process. Riosmena, Wong, and Palloni (2013) notes that the immigrants come to the United States with good health, but mixing with the Native Americans reduces their health level with time. Such a situation leads to the immigrant assimilation to native health processes which could cause much stress.
    The length of stay in the United States has a significant influence on the success of the acculturation process. When the immigrants stay in the United States longer, they are unable to overcome the pressure of the acculturation process. The immigrants are forced to integrate with the Native Americans abandoning their cultural practices (Todorova et al., 2013). The allostatic load of the acculturation process depends on the immigrants staying longer to adopt the traditional cultures in the United States. Consequentially, staying longer in the United States makes it difficult for the immigrants to maintain their original health care coverage (Doamekpor & Dinwiddie, 2015).
     In summary, it is clear that the process of acculturation leads to the deterioration of the health status of the immigrant population. The immigration patterns, socioeconomic positions, ethnicity, and the length of stay in the United States are crucial factors, which influences the process of acculturation and decline in health. The assimilation of the native values and cultures usually reduces the health cover of the immigrants to align with the native health care. Therefore, health is adversely affected by the process of acculturation of the immigrant population.













    References
    Andreeva, V. A., & Unger, J. B. (2015). Determinants of host society acculturation and its relationship with health behaviors and outcomes: A new research and intervention framework. Journal of Immigrant and Minority Health, 17(5), 1420-1426.
    Barrera Jr, M., Toobert, D., Strycker, L., & Osuna, D. (2012). Effects of acculturation on a culturally adapted diabetes intervention for Latinas. Health Psychology, 31(1), 51.
    Cho, Y. I., Holbrook, A., & Johnson, T. P. (2013). Acculturation and health survey question comprehension among Latino respondents in the US. Journal of Immigrant and Minority Health, 15(3), 525-532.
    Doamekpor, L. A., & Dinwiddie, G. Y. (2015). Allostatic load in foreign-born and US-born blacks: evidence from the 2001–2010 National Health and Nutrition Examination Survey. American Journal of Public Health, 105(3), 591-597.
    Lawton, K. E., & Gerdes, A. C. (2014). Acculturation and Latino adolescent mental health: Integration of individual, environmental, and family influences. Clinical Child and Family Psychology Review, 17(4), 385-398.
    Riosmena, F., Wong, R., & Palloni, A. (2013). Migration selection, protection, and acculturation in health: a binational perspective on older adults. Demography, 50(3), 1039-1064.
    Todorova, I. L., Tucker, K. L., Jimenez, M. P., Lincoln, A. K., Arevalo, S., & Falcón, L. M. (2013). Determinants of self-rated health and the role of acculturation: implications for health inequalities. Ethnicity & Health, 18(6), 563-585.
     

Using two selections from the additional listenings (not the required listening), answer the following questions

Using two selections from the additional listenings (not the required listening), answer the following questions: While what it means to make “independent” music has become increasingly complicated over time, the term still carries specific and important connotations which emerging artists continue to call upon. Using two songs, explore the varying stakes involved in claiming music as “independent” (e.g. sound, instrumentation, fashion, politics, institutional affiliations, etc.).
Velvet t Underground – “I’m Waiting For My Man” Nazz – “Open My Eyes” Jobraith – “I’m A Man” David Bowie – “Moonage Daydream” T Rex – “Teenage Dream” The Modern Lovers – “Pablo Picasso” The Dictators – “Teengenerate” Dead Boys – “Sonic Reducer” Ramones – “Blitzkrieg Bop” Patti Smith – “Land” Television – “Little Johnny Jewel” The Talking Heads – Psycho Killer” Pere Ubu – “Breath” The Miamis – “We Deliver” Wayne County & The Backstreet Boys – “Max’s Kansas City 1976” B-52s – “Rock Lobster” Theoretical Girls – “Computer Dating” Roxy Music – “Ladytron” Gary Glitter – “Rock And Roll Pt. II” Rocky Horror Picture Show – “Hot Patootie, Bless My Soul” Suzi Quatro – “Can The Can” The Saints – “I’m Stranded” The Lurkers – “Shadow” The Heartbreakers – “Chinese Rocks” The Jam – “Going Underground” The Adverts – “Quickstep” The Clash – “White Riot” Mad

Write a formal essay of between four to five pages in length in which you address one of the topic questions listed below

Write a formal essay of between four to five pages in length in which you address one of the topic questions listed below. 1. Pick one of the civilizations from the 2nd wave period (500 B.C.E-500 C.E.) of world history. Discuss the political, social, economic, and cultural aspects of that civilization. You will need to describe the origin of the civilization and how and why it declined. or 2. Pick two civilizations from the first wave period of world history. If you select this option you will need to compare the two civilizations selected. You will need to discuss the similarities and differences between the two and whether or not there were any connections between the two. You will want to compare their political systems, economic ways of life, social structures and cultural patterns

Assessment 2 • Please ensure your answers are typed using Word. Your work should not be hand written

Assessment 2
• Please ensure your answers are typed using Word. Your work should not be hand written.
• A reference list with at least 10 different pieces of literature less than 5 years old must be included using APA style.
• You may want to use the table below as a way to structure your work. However, it is not compulsory. You can submit your work with a question number and answer as long as it is very clear which answer relates to which question.
• sThe purpose of the assessment is to assess whether you are able to review the presenting situation for a client and to prioritize their care, in terms of safety management first and less urgent issues later.
Case Study for Assessment 1 and 2 - Note: your student assessment work must focus on Chung, regardless of your status as a nursing or midwifery student.
Chung is a 35 years-old male who moved to Australia from China five years ago. His parents, older brother and younger sister still live in China. Chung visited his family in China once after a year of moving to Australia. He has not returned to China since, because of his long working hours and need to undertake additional study for promotion.
Chung is a doctor working in Accident and Emergency in a busy inner-city hospital. He is studying for promotion to ultimately become an emergency medicine consultant. Two years ago, Chung was under investigation by the hospital Human Resources department due to a drug error. He was very tired and had been on-call over-night with frequent call outs to see patients. The drug error resulted in an eight year-old boy being very sick, requiring intensive care admission. Chung used an intra-muscular medication to treat the boy but administered it intravenously. Chung was subjected to several work-place and medical board investigations and placed on practice supervision for 12 months.
Chung met his wife, Harriett, in Australia four years ago. Harriett is 30 years old. They married two years ago. Unfortunately, Chung’s parents and family could not attend the wedding due to the high costs of travel and his mother has severe arthritis in her hips, making travel very difficult. Chung found their wedding day emotionally difficult. He felt the ceremony lacked reference to his Chinese culture. On reflection, he feels that he wasn’t as involved in the wedding planning as he could have been, due to his long working hours. He simply agreed to the suggestions and plans made by Harriett and her family.
Chung and Harriett now have a three week-old baby girl, Charlotte. Charlotte was born by caesarean section, due to birth complications. Harriett has had an infection in the operation site since the birth, resulting in lots of pain, frequent dressings and difficulties moving around. Chung was off work for one week after the baby’s birth. However, he has now returned to working shifts, often working through the night, where he may go without sleep for 20 - 24 hours. Harriett’s parents are staying with them to support Harriett while Chung is at work. However, he finds that Harriett’s parents are very involved with baby care even when he is home. Given this, Chung finds he gets very little time and space to be with his new daughter.
You are visiting the family in your capacity as a community nurse supporting Harriett with the caesarean section wound care or as a midwife undertaking a post-natal visit. During your visit to the family, you notice Chung looks flat in mood and tearful. His affect is sad and restrictive. He is slumped in his chair, with rounded shoulders and starring at the floor for long periods. You inquire about his health. He has very limited eye to eye contact with you. His speech is slowed and purposeful. On occasions, you need to repeat your question several times to get a reply. However, you do manage to obtain the following information from Chung. He has been feeling increasingly anxious during the past two months, given his continuing long hours, shift work, the high pressure of an Accident and Emergency department, Charlotte’s birth and his wife’s health. He has been having palpitations, chest pains and breathlessness for six to seven weeks. He asked a colleague at work, another doctor, to assess him for cardiac issues several weeks ago as he had been experiencing thoughts that he was going to have a heart attack and die. Chung has been feeling very low in mood for the past six weeks, experiencing sleeplessness, particularly initial insomnia and early morning wakening at 3am. He has lost five kilos in weight during the past month, due to reduced appetite and missing meals. He feels he is worthless and a failure at work within his medical role and he is letting his wife and new daughter down. He has been experiencing fleeting thoughts of suicide for the last week. He is aware of high lethality medications which he could take to overdose. Currently, he is hopeless and helpless and wants to die. He states he feels his situation is self-imposed and that treatments will not be of help at this time.
Questions 1a and 1b - 200 words in total
1a) Using the case study provided, identify an urgent risk area. Ensure your answer details why you have identified this risk area including specific information about the client and current literature.
1b Identify one nursing INTERVENTION you would immediately undertake with your client to address the risk area noted in question 1a and include a rationale for the intervention.) (2 marks for the intervention and 2 marks for the rationale)
Ensure the intervention includes who and when you would actually carry out the intervention.
Your rationale should state how and why you would carry out the particular intervention. Ensure literature is included.
TIPS PLEASE READ THE THIS TIP SHEET BELOW BEFORE ANSWERING THE QUESTIONS.
• Before you answer questions 1 a and b, consider you are a health professional and have sat with your client to undertake a mental health assessment. You have gathered the information which is offered in the case study. What do you now see as the most urgent risk area to keep your client safe?
• Take care to ensure the risk area is focused on the client. You may identify risk areas for family members or members of the community, but this is not the immediate focus of your actual student assessment here.
• Identify the most urgent concern first in terms of immediate safety concerns.
• We want to see your understanding of the client’s issue, so avoid writing brief details about the client such as: ‘the client has self-harm thoughts’. Expand on the detail of the concern ie. the client has presented with daily self-harm thoughts for 3 months, with intermittent / regular thoughts to cut his wrists using a razor blade. The client reports family contact as a possible cause of distress triggering self-harm thoughts which last for one hour daily immediately after seeing his family.
• You should then add in some literature about self-harm which has relevance to the case study ie. males and self-harm, incidence of self-harm. Remember 1a is only 2 marks, so the literature here doesn’t need to be expansive, but do make sure you provide some literature and provide details of the client’s main concern ie. safety concern.
• Identify one nursing or midwifery which you would undertake to address the concern you have noted in answer 1a. The intervention must be suitable for the concern you note otherwise it will not be awarded marks. For example: building a therapeutic relationship with your client; maintaining a safe environment; risk assessment; observations. You need to state exactly what you would undertake and how to gain marks. Ie. how would you build a therapeutic relationship with your client exactly? What approach would you take? What kind of language might you use? Who would be undertaken the activity ie. nurse / midwife on duty? Ie. the nurse / midwife will build a positive relationship with the client by meeting with them daily for 30 minutes using positive and recovery-based language to establish trust and rapport.
• Another example of a nursing / midwifery intervention: primary nurse / midwife to undertake a self-harm / suicide risk assessment with the client on initial contact and review on a continuous basis as new information is obtained or the client’s presentation changes.
• It must be a direct health professionals and client intervention not a referral to another service or practitioner.
• You should include a rationale with your intervention using literature and making reference back to the case study. Ie. why would you use recovery-based language when building a relationship with your client? Why would you undertake a risk assessment with your client?
Questions 2a and 2b - 200 words in total
2a) Using the case study provided, identify a mental health concern. Ensure your answer details why this is an area of concern. Include specific information about the client and current literature. (2 marks)
2b) Identify one nursing INTERVENTION you would undertake with your client to address the mental health concern noted in question 2a and include a rationale for the intervention. (2 marks for the intervention and 2 marks for the rationale)
Ensure the interventions includes how, who and when you would actually carry out the intervention. Your rationale should state how and why you would carry out the particular intervention.
Ensure literature is included when you discuss the rationale.
TIPS PLEASE READ THE THIS TIP SHEET BELOW BEFORE ANSWERING THE QUESTIONS. 2 a & 2 b
• Question 2 a and b helps us to assess that you understand the difference between an urgent client concern ie. safety and a mental health concern. Question one was concerned with safety identification whereas question 2 is about mental health concerns ie. possibly low mood or anxiety.
• Again, avoid simply identifying the actual concern and writing in brief. You need to say something about the details of the client’s experiences using literature. Ie. the client has been experiencing low mood for one month, with thoughts of reduced self- esteem, worthlessness, hopelessness and suicide ideation. You should add in some literature in relation to low mood in males; anxiety in males
• Try to avoid highlighting depression in your answer to 1a, as depression is an actual diagnosis with a collection of experiences as opposed to one concern. Better to term this as low mood as opposed to depression.
• Next identify an intervention which is suitable for the mental health concern in your answer to question 2a. Ie if you have identified low mood, what intervention can you do directly with your client to help / support them with low mood. Again, when writing the intervention think about who would carry out the intervention, when, how often, how exactly with details, actually describe what you would do.
• Again, a referral to another professional is not a direct face to face intervention, so please avoid this.
• You should include a rationale for the intervention you have offered in 2b. ie. why have you decided to carry out the intervention making reference to literature and your client?
Question 3 - 100 words in total
3) Using current literature, identify and discuss (2) two legal, ethical or professional issues a nurse / midwife may need to consider when working with the client in the case study (4 marks).
TIP SHEET FOR 3 QUESTION
• Question 3 helps us to determine your understanding of some of the wider issues in relation to a person’s presentation and care.
• Re-read the case study to identify possible legal, ethical or professional issues.
• For example: you might want to discuss the client’s presentation in terms of
legal issues such as: Mental Health Act; Privacy Act; Health Records Act;
ethical issues such as: the ethical principles such as building a relationship while undertaking risk assessment which may result in a client being scheduled under the Mental Health Act; asking the client lots of questions for mental health assessment knowing the client may find the actual questions distressing;
professional issues such as: confidentiality and maintaining public safety; being involved with a clinical relationship with a fellow health professional who may work within your place of work ie. hospital.
• Clearly identify each issue in your work and then relate to the case study and use literature. If you are highlighting legal issues, you should relate to the Act directly and not secondary sourced literature.
• Make sure you refer back to the client in the case study and literature.

Promoting Mental Health & Wellbeing 1
401013
Student name:
Student number:
Question
Answers – Ensure each answer contains relevant literature and relates back to the case study.
1a) Using the case study provided, identify an urgent risk area. Ensure your answer details why you have identified this risk area including specific information about the client and current literature. (2 marks)
1b) Identify one nursing / midwifery intervention you would undertake directly with your client to address the risk area noted in question 1a and include a rationale for the intervention. (2 marks for the intervention and 2 marks for the rationale)
Ensure the intervention includes how, who and when you would actually carry out the intervention. Your rationale should state why you would carry out the particular intervention. Ensure literature is included.
1a and 1b – 200 words in total
2a) Using the case study provided, identify a mental health concern. Ensure your answer details why you have identified this concern including specific information about the client and current literature. (2 marks)
2b) Identify one nursing / midwifery intervention you would undertake directly with your client to address the mental health concern noted in question 2a and include a rationale for the intervention. (2 marks for the intervention and 2 marks for the rationale)
Ensure the interventions includes how, who and when you would actually carry out the intervention. Your rationale should state why you would carry out the particular intervention. Ensure literature is included when you discuss the rationale.
2a and 2b – 200 words in total
3) Using current literature, identify and discuss (2) two legal, ethical or professional issues a nurse / midwife may need to consider when working with the client in the case study (4 marks).
Qu 3 – 100 words in total

ITECH3224 WWW Technology 2 Assignment 2 - Recipe Ratings

ITECH3224 WWW Technology 2
Assignment 2 - Recipe Ratings
-It's like Yelp, but for Recipes-
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.
Important: This assignment specification is generated just for you. Do not distribute this specification.
Timelines and Expectations
Percentage value of task: 20%
Due: Sun, Oct 29, 2017 - 16:00 (Week 11)
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 programming.
K3. Detect opportunities for increasing security and privacy of web applications.
S1. Develop client/server programs using client-side and server-side programming languages.
S2. Construct a server-side web interface to a database system that is accessible by web clients. S3. Design and implement a server-side application programming interface (API) for client-server communication, using technologies such as AJAX, REST, Websockets, XML and JSON.
A1. Design, develop, test, and debug client/server web applications to provided specifications.
Assessment Details
Introduction
Recipe Ratings is a single-page web app that allows users to review and provide feedback on recipes.
Each recipe has its own page, which displays one (or more!) photos, a name, a list of reviews, and some form of average rating.
Users can submit new reviews of recipes, including their own name, some review text, and a rating.
Database
A simple database with two 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:
Recipe ( id, name, description, image_url )
RecipeReview ( id, recipe_id, datetime, reviewer_name, review, rating )

Each record in the Recipe table represents a single recipe, and each record in the RecipeReview table is a review of a single recipe.
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 five recipes, each with at least two reviews. One recipe will need five reviews to suitably test average ratings.
You may normalize the database if you wish, to include a dedicated reviewer table.
Invent or discover your own data. Cite data sources appropriately in your report, or alternatively include a source field in your database. In particular, ensure you appropriate reference any images you include unless they are explicitly public domain (or CC0).
Use appropriate data types – the review field should be TEXT to allow long entries. The rating field is an integer value from 1 to 5 inclusive, where 5 indicates that this is an amazing recipe.
Submit your SQL file as part of your assignment.
XML and JSON markup
Mark up the complete data using XML tags and save it as an .xml file. Check that the file is well-formed and report the method used.
Draw a diagram showing the structure of the DOM tree associated with the .xml file, using data from any ONE record. Include the root element, node types, elements and attributes.
Similarly, mark up the complete data using JSON and save it as a .json file. Check that it is valid JSON and report the method used to validate.
Submit both files as part of your assignment.
Back-end API
Create a RESTful JSON API using PHP, implementing at least the following functionality:
List all recipes (GET)
Should return recipe id, name, description, and image_url
Use an optional querystring/GET parameter to allow sorting by name and average rating
Retrieve all details for a particular recipe (GET) including reviews
Create a new review (POST)
Delete an existing review (DELETE)
Update an existing review by id (PUT)
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 menu of all recipes. Allow sorting the menu by name and rating
Display the details of an individual recipe when the menu item is selected, including the image and the average rating
Allow the user to submit a new review/ranking, which will be displayed immediately in the review list, and upon which the average rating will be updated from the server
Periodically (every 5 seconds), poll the details for the current recipe and display any new reviews. This should not remove any review text currently being entered
All functionality should be implemented using JavaScript, the DOM and the backend API, without reloading/refreshing the browser page.
Bonus tasks (Completely optional!)
These tasks are 100% optional, and you can receive full marks without attempting or completing them. They are intended to be a challenge if you are interested in such things, and the marks available do not reflect the significant research and effort required to implement them correctly.
Bonus task one: Better sorting using Bayesian statistics
Derive your averaging and sorting code based on the approach listed here: http://www.evanmiller.org/ranking-items-with-star-ratings.html
Bonus task two: Administration and token-based authentication
Implement an administration interface, also using AJAX techniques, which allows deleting reviews. Use JWT token-based authentication, rather than cookies / PHP sessions. It is acceptable for login and administration to be implemented with two additional PHP pages.
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 StackOverflow.
Documentation
Include a written report containing:
A statement of completion
XML DOM diagram
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
Submission
All files should be submitted to Moodle by the due date and time. Check with your tutor as to whether a hard copy is required in addition to the electronic submission.
Marking Criteria/Rubric
Refer to the attached marking guide.
Feedback
Feedback will be supplied through Moodle. Authoritative marks will be published through fdlMarks
Plagiarism
Plagiarism is the presentation of the expressed thought or work of another person as though it is one's own without properly acknowledging that person. You must not allow other students to copy your work and must take care to safeguard against this happening. More information about the plagiarism policy and procedure for the university can be found at http://federation.edu.au/students/learning-and-study/online-help-with/plagiarism.
Marking Guide: Assignment 2
Feature Criteria Maximum Obtained
SQL file Requirements satisfied 1
Data Interchange
files XML is accurate, well-structured and well-formed 1
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) 1
New review/rating (POST) 1
Delete review/rating (DELETE) 1
Update review/rating (UPDATE) 1
Sort based on query parameter 1
Front-end Menu of items 1
Details page, including image, reviews and average rating 2
Submit a new review/ranking, including list and average review update 2
Automatic reload of details page on interval 1
Bonus optional challenge tasks Sort using Bayesian confidence 2
JWT token-based authentication and admin 2
Documentation Description of XML and JSON validation approaches 1
XML DOM diagram 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)
Feature Criteria Maximum Obtained
Total: 24