Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment requires you to develop an application using TypeScript for Part 1, and Angular for Part 2, to demonstrate your knowledge of the TypeScript

image text in transcribed
image text in transcribed
This assignment requires you to develop an application using TypeScript for Part 1, and Angular for Part 2, to demonstrate your knowledge of the TypeScript language and Angular framework. Your apps should be stand- alone apps without server contact for data. The app will not save data after the browser window is closed, but you will need to maintain a JavaScript structure (e.g. JavaScript object) so that changes made remain while the browser window is open. Part 2 can be an expansion of Part 1 though you can start again from scratch if you wish. It is recommended that you save your Part 1 before you start modifying it for Part 2. For lesser marks, you can divide your assignment into several smaller HTML pages to demonstrate the different aspects without having everything working together. This is not the preferred method. Part 1 - Basic TypeScript App (18 marks) The aim is to develop a simple TypeScript app for a library to maintain a small database of book information while the browser window is open. You can initialise your app with hardcoded data, or you can start with an empty data structure. Types are important in your code; however, there is no need to type everything, and the general applicability of typing is as you have seen in Module 2 of the unit. For example, there is no need to define a function type in a function definition as TypeScript, and the reader can easily deduce the type from the function definition. You will have to type parameters and return values, though. Marks may be deducted for too few type definitions, ie. writing JavaScript instead of TypeScript. The book data has the following fields: ISBN Title Author Publisher Publication Date Number of Pages

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Writing For Hospitality

Authors: Peter Nyhiem, Vivienne J Wildes

1st Edition

0131715712, 9780131715714

More Books

Students also viewed these General Management questions