Develop the Data Transfer Object
We will look at developing the UI in this lesson and also define the data transfer object.
We'll cover the following
The three significant tasks we scrutinize during the evolution of the mock user interface are:
- The creation of the data transfer object
- The mock service
- The mock user interface
Data transfer object
The Item
data transfer object has an identifier, name of the Item
, and a list of the String Feature
names. The identifier of the Feature
object is hidden from the caller interface since we wanted to make the API call simpler for the user interface team. The idea is not to expose the database design because of the complexity and not to get involved in managing the identifiers of the child object.
Get hands-on with 1400+ tech skills courses.