TUTOR-MARKED ASSIGNMENT (TMA) This assignment is price 24 % of the closing stamp for ICT239 – Net Utility Pattern Designate to Students: You MUST articulate the offered resolution template accompanying this TMA. Reply all questions. (Total 100 marks) Fragment A Quiz 1 concerns the Staycation case leer. Quiz 1 (30 marks) Your acknowledge to parts (a) – (c) need to display conceal lovely figuring out of the many parts within the Staycation utility. In say to realize well in this share, you wish offer a thorough acknowledge besides as spotlight code by copying ONLY connected code to be ancient to your explanation. You wish to point out which file you extract the code from. Extract shrimp chunks of code on every occasion and accompany every shrimp chunk with explanation on how every chunk contributes to your acknowledge. Provide rationale moderately than merely tell what the code does. There would possibly be penalty for code with out an explanation and/or for inappropriate code incorporated to your acknowledge. (a) This demand phase refers again to the code within the frontend element, namely the house page of the Staycation utility. i) Which html files are ancient to formulate the house page? ii) Represent the house page in terms the three fundamental parts, e.g., navigation bar and tons others. and stamp how Bootstrap is applied to space every of the three fundamental parts. iii) Designate TWO custom styling applied to the house page. Title which parts the styling observe to, iv) Designate how Bootstrap and custom css are applied to develop the discover of dwelling page responsive to absolutely different tool sizes. Designate for all three fundamental parts. (10 marks) (b) This demand phase specializes in HTTP search files from and response, URL routing, Jinja, WTForm and Blueprint. i) Put in solutions ONE particular person circulate on the navigation bar of dwelling page, then hint from the point of the particular person circulate on the house page, and stamp how a certain HTML page discover displayed on the on-line browser. Your acknowledge need to encompass explanation on HTTP search files from and response, URL routing, Jinja, WTForm and Blueprint, the set acceptable, from the point of particular person circulate on the navigation bar of dwelling page to the point when a novel HTML page is displayed. ii) Enter particular person enter on the originate you discover from the particular person circulate in Quiz 1 (b) (i). Click on the Put up button. Hint from the point of clicking on the Put up button to the point when a response gets displayed on the on-line browser. Encompass explanations on HTTP search files from and response, URL routing, Jinja and WTForm and Blueprint the set acceptable. (14 stamp) (c) This demand phase specializes in Mongoengine and MongoDB. i) Designate how the Staycation app defines the enchancment of a Package story. ii) Designate how the Staycation app provides Package paperwork to the database. Designate the position off, the source of the files for the Package story, and the mechanics of the utilization of mongoengine to add the story. (6 stamp) Fragment B Questions 2 – 3 order the enchancment of a Net utility for an e-library. The utility scenario relies totally on ICT162 January 2025 semester TMA with some modifications, namely all books within the library are e-books. A book title would possibly even own a entire lot of copies available for loan. At any time, the number of loans for a book title can now not exceed the number of copies the book title has. The image for the side bar is obtained from SUSS webpage: https://library.suss.edu.sg/wp-command/uploads/2023/11/See-Space_High-desk-2-cropped300×200.png The connected shrimp print of books within the file accompanying the TMA, books.py are obtained from the discover web site: https://www.goodreads.com/?ref=nav_home The obligations to implement for the on-line utility comprises the following: Browse books, search books by category (Youth, Young of us, Grownup) and discover extra shrimp print on a chosen book for Quiz 2 (a). Quiz 2 (a) does now not articulate the MongoDB database. Moderately, it uses the checklist of dictionaries offered in books.py. Put up phase (a) as a separate utility. Level to the similar pages you own applied for Quiz 2 (a), but now the utilization of the Book paperwork you populate in Mongodb. Therefore, for Quiz 2 (b), you first elaborate the enchancment for a Book story after which originate a Mongodb story for every book in books.py. Manufacture an admin particular person fable (admin@lib.sg, password 12345, title Admin). Manufacture also a non-admin particular person fable (poh@lib.sg, password 12345, title Peter Oh). Allow the 2 sorts of particular person accounts to own completely different particular person capabilities (demand 3). You wish to offer explanations for ALL your implementations to display conceal your figuring out of the following objects the set acceptable, the model, inquire and controller parts to your implementation and the reason of the parts namely for the demand you is doubtless to be answering the utility of HTML and CSS the utility of Bootstrap the interactions amongst the frontend and backend parts that you just added. the utility of Blueprint the utility of WTForm the utility of jinja variables, template filters, statements, inheritance, macros and tons others any other explanation required for a explicit phase of a requirement Write My Project Hire a Knowledgeable Essay & Project Author for finishing your Academic Assessments Native Singapore Writers Group 100% Plagiarism-Free Essay Best doubtless Pleasure Rate Free Revision On-Time Transport Quiz 2 (30 marks) Learning targets: Bear a HTML/CSS and Python web framework program Apply programming the very best device to gift files in HTML Make articulate of web programming framework for rising web page (a) Book Titles and Book Info pages (i) Manufacture a Flask utility with a hyperlink Book Titles which ends within the page proven in Decide Q2(a) (i). The utility also opens on this page. Designate that books are listed, sorted by their titles, and ideally suited the fundamental and closing paragraphs of the book description are displayed. Decide Q2(a) (i): The dwelling page (ii) On the Book Titles page, a particular person can develop a book search primarily based totally on the listed classes to inquire books under a chosen category. For example, when the category teenagers is chosen and the Search button is clicked, then ideally suited teenagers books are displayed as proven in Decide Q2(a) (ii). Decide Q2(a) (ii) Book Titles page with ideally suited teenagers books (iii) When the Extra shrimp print button is clicked, a page exhibiting the major points of the chosen book is displayed. An instance page is proven in Decide Q2(a) (iii). Decide Q2(a) (iii) The Book Info page You wish to own a examine responsive web discover to your implementation of these pages so as that they can adapt to various display conceal conceal sizes. Make certain that that the image for the book duvet is sufficiently seen for completely different display conceal conceal sizes. Decide 2(a) (iv) displays the Book Titles page on a medium display conceal conceal. Decide 2(a) (v) displays the Book Titles page on a shrimp display conceal conceal with the side bar and high panel collapsed. Decide 2(a) (vi) display conceal the Book Titles when the side bar and high panel are expanded. Decide 2(a) (vii) display conceal the Book Titles on a the truth is shrimp display conceal conceal when the side bar and high panel are expanded. Decide 2 (a) (viii) – (x) display conceal the Book Info page on medium and shrimp display conceal conceal sizes. Decide 2 (a) (viii) displays the Book Info page on medium display conceal conceal. Decide 2 (a) (ix) displays the Book Info page on shrimp display conceal conceal with the side bar and high panel collapsed into a hamburger icon. Decide Q2(a) (x) displays the Book Info page when the side bar and high panel are expanded. Q2(a) (xi) displays the Book Info page on a the truth is shrimp display conceal conceal when the side bar and high panel are expanded. You wish to own a examine jinja and jinja inheritance to your implementation and articulate the files within the variables all_books offered within the file, books.py. Manufacture NOT hardcode the book files within the html pages. Bear in mind to point out the connected file(s) for the implementation and to extract shrimp chunk of code to offer explanation of your code discover and/or reason. Manufacture likewise to your entire implementations to lead clear of shedding marks awarded for explanation. (17 marks) (b) Manufacture a reproduction of your implementation for phase (a) so as that it is doubtless you’ll well also regulate the reproduction model for phase (b) and for the the rest of the TMA questions. Rename the reproduction model as Q2b and submit it in a one other folder, became independent from the utility for phase (a) which would possibly also silent be in a separate folder named Q2a. For phase (b), you now now not straight away articulate the variable all_books offered within the file, books.py to formulate the pages described in phase (a). As a substitute, you elaborate the enchancment of Book paperwork after which articulate the variable all_books to originate a chain of Book paperwork in MongoDB. Decide Q2(b) (i) displays your entire class design for the utility. (i) The connected class for phase (b) is the Book class. Clarify the Book class primarily based totally on the category design in Decide Q2b(i). Decide Q2(b) (i) Full class design Implement the Book class such that if the Book sequence within the database is empty, then study the files from the global variables, all_books • originate Book paperwork and retailer into MongoDB. You are free to think on the discover of suggestions for the Book class to discover the similar effects described in Quiz 2 (a). (ii) Manufacture adjustments to the utility to articulate the Book paperwork in MongoDB to formulate the Book Titles page, the search feature within the Book Titles page, and the Book Info page. Highlight and present causes for the adjustments you develop to phase (a) to implement phase (b) the utilization of MongoDB database. Encompass to your acknowledge the adjustments you made to the frontend and/or backend parts of your flask utility, along side code to position up the database. (11 marks) (c) Register, Login and Logout Add the Login and Register hyperlinks on the sidebar as proven in Decide Q2(c) (i). The hyperlinks display conceal on the on-line page ideally suited if there would possibly be not a authenticated particular person. Register the admin particular person fable (admin@lib.sg, password 12345, title Admin). Register also a non-admin particular person fable (poh@lib.sg, password 12345, title Peter Oh). Search advice from Decide Q2(c) (ii) for the Register page. The Login page is solely like the Staycation app, other than that that the Put up button is a green button, much like the Put up button within the Register page in Decide Q2(c) (ii). Decide Q2(c) (i) Login and Register hyperlinks in sidebar Decide Q2(c) (ii) Register page Login the utilization of both of the users, and if winning, stamp the Book Titles page. Log out the particular person and the utility can also silent stamp Book Titles page. The logout interface is solely like that within the Staycation utility. (2 marks) Aquire Custom Reply of This Review & Elevate Your Grades In discovering A Free Quote Quiz 3 (40 marks) Learning targets: Apply programming the very best device to gift files in HTML Make articulate of web programming framework for rising web page This demand specializes within the capabilities offered to every form of particular person fable: admin and nonadmin. (a) Add Contemporary Book feature for admin fable particular person Decide Q3(a) (i) displays how the on-line page appears to be like relish when the admin particular person logs in; there’s a hyperlink to provoke the Contemporary Book feature. When the Contemporary Book hyperlink is clicked, a originate as proven in Decide Q3(a) (ii) is displayed. Decide Q3(a) (i) Net page after admin particular person logs in Decide Q3(a) (ii) Net page for Contemporary Book Designate that the originate alter for genres enables for a entire lot of choice. You too can articulate this checklist of genres and add extra while you happen to want. genres = [“Animals”, “Business”, “Comics”, “Communication”, “Dark Academia”, “Emotion”, “Fantasy”, “Fiction”, “Friendship”, “Graphic Novels”, “Grief”, “Historical Fiction”, “Indigenous”, “Inspirational”, “Magic”, “Mental Health”, “Nonfiction”, “Personal Development”, “Philosophy”, “Picture Books”, “Poetry”, “Productivity”, “Psychology”, “Romance”, “School”, “Self Help”] Currently, there would possibly be an upper limit of 5 authors for this originate. Designate: For bonus of 10 marks, it is doubtless you’ll well also relish to realize an implementation to cater for any number of authors. You would possibly maybe redesign how the particular person interacts with the utility, but you is doubtless to be now not allowed to articulate any JavaScript code. The marks awarded will depend upon the discover of the interface and the particular person interaction. Essentially the most TMA score along side bonus is 100. Manufacture now not neglect that even while you happen to work on the bonus piece, you is doubtless to be silent required to implement Contemporary Book feature described in this phase. An instance files entry to add a novel book is as proven in Decide Q3(a) (iii). You would possibly maybe pick to articulate any book files similar to: https://www.goodreads.com/book/display conceal/6900.Tuesdays_with_Morrie. When the Put up button is clicked, a novel book can also silent be added to the database. Flash an appropriate message and remain on the similar page. Decide Q3(a) (iii) Net page for Contemporary Book (15 marks) (b) Changes to the Book Titles and Book Info pages and to the Book class For this phase, you are going to develop modifications to the Book Titles and Book Info pages besides as to the Book class in preparation for phase (c) while you happen to will implement the Manufacture a Loan feature. (i) Manufacture adjustments to the Book Titles page such that if there are available in copies, add a button for the Manufacture a Loan feature. Search advice from Decide Q3(b) (i) for how the page can also silent be relish. Decide Q3(b) (i) Modfified Book Titles page (ii) Manufacture adjustments to the Book Info page such that if there would possibly be not a available reproduction, point out that book title is now not available. Otherwise, present a button so as that the particular person is conscious of that he can develop a loan. Search advice from Decide Q3(b) (ii) – 1 and Decide Q3(b) (ii) -2 for how the page appears to be like relish under the 2 instances. Decide Q3(b) (ii) -1 Modfified Book Info page for an unavailable book title Decide Q3(b) (ii) -2 Modfified Book Info page for an available book title (iii) Add the very best device to the Book class to allow a book to be borrowed and returned. You too can silent encompass sanity exams e.g., develop obvious a book title that is being returned will need to had been previously borrowed. Amplify the available rely when a book title is returned and slice again the available rely when the book title is borrowed. Highlight and present causes for the adjustments or additions you develop to phase (a) to implement phase (b). Encompass to your acknowledge the adjustments or additions you develop to the frontend and/or backend parts of your flask utility, along side code to position up the database. (5 marks) (c) Loan-connected Functions for non-admin users This demand phase enables particular person to develop loan and to defend a watch on his loans. Originate by defining the Loan class. Loan class The construction of Loan paperwork relies totally on the category design in Decide Q2b(i). Clarify the Loan class and present the necessary device for the following actions: originate a Loan story A Loan story can also moreover be created for a particular person if he does now not already own an unreturned loan for the similar book title. The available rely for the book can also silent be up in the past if the loan is winning. The borrow date, the particular person making the loan and the book being borrowed can also silent be offered to this vogue. retrieve Loan paperwork Clarify retrieval suggestions so as that a particular person can inquire all his/her loans and would possibly maybe also retrieve a explicit loan. change Loan story either by means of a loan renew or a loan return A loan renew updates the renew rely and the borrow date for the loan. A loan return updates the return date. Besides to, the available rely for the book can also silent be up in the past. delete a Loan story Most efficient loans which were returned can also moreover be deleted. any other helper suggestions you imagine essential to enhance your discover. Manufacture a Loan feature An authenticated non-admin particular person can develop a loan either by means of the Manufacture a Loan button within the Book Titles page or the Manufacture a Loan button within the Book Info page. If the particular person is now not but authenticated, clicking on the button will consequence within the Login page with the message “Please login or register first to discover an fable”. The utility randomly generates a borrow date 10 to 20 days before at the moment’s date, and files the loan within the database. A Loan story is created ideally suited if the particular person does now not own an unreturned loan story for the similar book title. Besides to, the available rely for the book title need to now not be zero. Flash an appropriate message as a feedback to the particular person. Uncover Loan feature The sidebar incorporates a hyperlink to allow an authenticated non-admin particular person to inquire his/her loans, and to defend a watch on them. Search advice from Decide Q3(c) (ii) for a particular person with out loan files and Decide Q3(c) (ii) for a particular person with loan files. Decide Q3(c) (ii) Uncover loans for a non-admin particular person with out loan Ogle that loans are displayed in descending narrate of borrow date, and therefore, descending narrate of due date. The due date for a loan is 2 weeks after the borrow date. Loans which would be now not overdue own the selection to be renewed or returned. Loans which were returned can ideally suited be deleted. A particular person need to manually delete a loan story. This allows the particular person to defend story of previous loans and to delete of us who he does now not wish to defend a story of. Loans which would be overdue or if the renew rely is already 2 can ideally suited be returned. Decide Q3(c) (ii) Uncover loans for a non-admin particular person with loans When a loan is returned or renewed, randomly generate a return date or unique borrow date date which is 10 to 20 days after primarily the most popular borrow date. The return date or unique borrow date, alternatively, can now not be later than at the moment’s date. After going by means of a return, a delete or a renew, the utility re-displays the Loan page with the up in the past loans. Flash acceptable messages after going by means of every body search files from. (20 marks) Caught with a entire lot of homework assignments and feeling pressured ? Take respectable tutorial assistance & In discovering 100% Plagiarism free papers In discovering A Free Quote
- WE OFFER THE BEST CUSTOM PAPER WRITING SERVICES. WE HAVE DONE THIS QUESTION BEFORE, WE CAN ALSO DO IT FOR YOU.
- Assignment status: Already Solved By Our Experts
- (USA, AUS, UK & CA PhD. Writers)
- CLICK HERE TO GET A PROFESSIONAL WRITER TO WORK ON THIS PAPER AND OTHER SIMILAR PAPERS, GET A NON PLAGIARIZED PAPER FROM OUR EXPERTS
QUALITY: 100% ORIGINAL PAPER – NO ChatGPT.NO PLAGIARISM – CUSTOM PAPER

Looking for unparalleled custom paper writing services? Our team of experienced professionals at AcademicWritersBay.com is here to provide you with top-notch assistance that caters to your unique needs.
We understand the importance of producing original, high-quality papers that reflect your personal voice and meet the rigorous standards of academia. That’s why we assure you that our work is completely plagiarism-free—we craft bespoke solutions tailored exclusively for you.
Why Choose AcademicWritersBay.com?
- Our papers are 100% original, custom-written from scratch.
- We’re here to support you around the clock, any day of the year.
- You’ll find our prices competitive and reasonable.
- We handle papers across all subjects, regardless of urgency or difficulty.
- Need a paper urgently? We can deliver within 6 hours!
- Relax with our on-time delivery commitment.
- We offer money-back and privacy guarantees to ensure your satisfaction and confidentiality.
- Benefit from unlimited amendments upon request to get the paper you envisioned.
- We pledge our dedication to meeting your expectations and achieving the grade you deserve.
Our Process: Getting started with us is as simple as can be. Here’s how to do it:
- Click on the “Place Your Order” tab at the top or the “Order Now” button at the bottom. You’ll be directed to our order form.
- Provide the specifics of your paper in the “PAPER DETAILS” section.
- Select your academic level, the deadline, and the required number of pages.
- Click on “CREATE ACCOUNT & SIGN IN” to provide your registration details, then “PROCEED TO CHECKOUT.”
- Follow the simple payment instructions and soon, our writers will be hard at work on your paper.
AcademicWritersBay.com is dedicated to expediting the writing process without compromising on quality. Our roster of writers boasts individuals with advanced degrees—Masters and PhDs—in a myriad of disciplines, ensuring that no matter the complexity or field of your assignment, we have the expertise to tackle it with finesse. Our quick turnover doesn’t mean rushed work; it means efficiency and priority handling, ensuring your deadlines are met with the excellence your academics demand.
