Category | Assignment | Subject | Programming |
---|---|---|---|
University | Singapore University of Social Science | Module Title | CET206 Full Stack Web Application Development |
Submit Questions 1, 2a, 2b and 3 as a single flask application in a folder labelled Solution 1 and Question 2c as another flask application in a folder labelled Solution 2
Explain your answer and supplement your explanation by lifting/commenting on the relevant source code in the Staycation application.
Question 1a
Using relevant code in the front-end and backend components, explain how WTForm is applied in the implementation of RegForm in the Staycation application. In particular, explain
Question 1b
Redefine RegForm to include fields for:
Re-implement the front-end and back-end components to use the new RegForm.
Test that all existing functions are working as before but that now, RegForm also includes a checkbox field and a submit button, and these fields should be used by the front-end and back-end components.
Show the relevant code segments before and after the changes you make, and explain what the changes achieve and why the change is required. You must indicate the name of the file from which the code segment is extracted.
Before working on this question, drop the collection booking.
Question 2a
For a past booking (check-in date is before or on today’s date), the status can either be completed or cancelled. For a future booking (after today’s date), the status can either be upcoming or cancelled.
When a Booking is created and if no status is provided, assign the status to completed when the check-in date is on or before today, and assign status to upcoming when the check-in date is after today.
accept an additional status as input parameter and
Return a list of bookings such that the status of bookings must also match the input status.
Submit Your Assignment Questions & Get Plagiarism Free Answers.
Order Non Plagiarized AssignmentQuestion 2b
Modify the Manage Booking function:
Show the relevant code segments before and after the changes you make, and explain what the changes achieve and why the change is required. You must indicate the name of the file from which the code segment is extracted.
Question 2c
Differentiate between a multi-page application and a single-page application. Re-implement Question 2b as a single-page application for these three buttons: Delete, Update and Cancel. Show the relevant code segments before and after the changes you make, and explain what the changes achieve and why the change is required. You must indicate the name of the file from which the code segment is extracted.
Submit Question 2b and Question 2c as separate flask applications in different folders.
For this question, you are to add a new chart for the admin user.
The bar chart is sorted according to the user email addresses and will display the number of bookings cancelled, completed and upcoming for each user.
Achieve Higher Grades with CET206 Assignment Solutions
Hire an Assignment Helper
Are you trying to find someone who can help with my CET206 Full Stack Web Application Development? Well! You're in the right place. our podium Workingment, provides Programming Assignment Help. Our well-researched and talented professors can also provide you with odd assignments. Suppose you're judging whether to Write My Assignment with our professors. No doubt! Our team can help with your assignment. We also provide Free Sample assignments for your guidance. Get in touch right now!
Let's Book Your Work with Our Expert and Get High-Quality Content