Question

In: Computer Science

4. Give three examples of items that would be included in the Interface Tier. 5. Give...

4. Give three examples of items that would be included in the Interface Tier.

5. Give three examples of items that would not be included in the Interface Tier.

6. Can some program code exist in the Interface Tier? If so, what tasks does this code provide?

7. What tasks can Business Rule Tier code accomplish that is similar to a task accomplished by code in the Interface Tier? Why is this code possibility duplicated in both tiers?

8. How does the Business Rules Tier pass and receive data (information)?

13. When must you convert numbers to a numeric form (such as Integer) for storage within a database?

14. Why use datasets to pass information between tiers?

15. What items have been missed or ignored in the case example?

Solutions

Expert Solution

4. Give three examples of items that would be included in the Interface Tier

Ans: In the interface tier-three things must be used That is:
1) Displaying content that can be done using HTML, there different versions of HTML like HTMl5(latest)
2) How that content should be displayed to the user or how it should look at the end for this we can use CSS(Cascading style sheet)
3) How the interface should behave and it can be done using JAVASCRIPT

And Interface tier can communicate between other tiers through API(Application program Interface) calls

5. Give three examples of items that would not be included in the Interface Tier.
Ans: On the interface tier you can not include the following items;
1). You can not include business logic in your interface tier which can be written in your backend with some programming language such as JAVA, Python, PHP,
2). Data which you will get from your user should not be stored in on the interface.
3). Should not include your core functions that have the logic written in it, middleware function and Some security-related components.


6. Can some program code exist in the Interface Tier? If so, what tasks does this code provide?

Ans: Yes, Some program code can exist in the Interface tier when you have manipulated the data on the front, for example, you have to calculate the final amount based on the input provided by the user and show him instantly.


7). What tasks can Business Rule Tier code accomplish that is similar to a task accomplished by code in the Interface Tier? Why is this code possibility duplicated in both tiers?

Ans: When the information is passed between business rule tier and interface tier there a possibility that it can be manipulated by some hacker, so to verify or validate the data that it the proper format that was supposed to receive, so this is just a duplicacy but validation should be done.

8. How does the Business Rules Tier pass and receive data (information)?
Ans: Business rule pass information with the help of datasets which is just like a data table in databases, and used to transfer data between tiers.
And these datasets can be sent or received to interface tier through GET or POST request.


13. When must you convert numbers to a numeric form (such as Integer) for storage within a database?
Ans: When we are about to store data in the database we should convert that data or number in the numeric form

14. Why use datasets to pass information between tiers?

Ans: Dataset is a structure that can hold many data a table in a database, it can be set to pass information between tiers.

Transfer data between tiers is not that easy if you use data entities for every single data you need to transfer.
It will take time as every entity will be identified and then used. Have to make too many calls for every entity of the data. and there is too much data in our databases nowadays.
To solve this kind of problems there is something called Datasets.
In a dataset, there can be lots of data, and that can be fetched and use as a set.
for example, if you need whole information related to an organization that is stored in a table.
So, you can fetch whole data or a particular row and store it in a dataset and use it anywhere.
And that dataset can be transferred anywhere between any tier to use and it will be easy and less time consuming as it is a whole data that is stored in one variable.


Related Solutions

what is a three tier framework? what tiers are included in this framework? what are the functions of each tier
what is a three tier framework? what tiers are included in this framework? what are the functions of each tier
summary of one-tier, two-tier, three tier with the managerial implication. What would they tell their parents...
summary of one-tier, two-tier, three tier with the managerial implication. What would they tell their parents about what they have learnt??
1. Classify each of the following items as included or not included in GDP. Give an...
1. Classify each of the following items as included or not included in GDP. Give an explanation for those that you judge as not included. State when applicable, the expenditure category in which each good is included. a. The purchase of copy paper by PepsiCo, which is used by the company staff. b. The purchase of an electronic handheld organizer by a sales manager to keep track of clients. c. The purchase of a new helicopter by the Canadian military....
Provide some examples of items that would be adjusted directly against equity, rather than being included...
Provide some examples of items that would be adjusted directly against equity, rather than being included as part of profit or loss. (10 marks, maximum 650 words)
a) Give the definition of GDP and explain what items are not included in its calculation?
  a) Give the definition of GDP and explain what items are not included in its calculation? b) How is GDP calculated using the expenditure approach? c) How is GDP calculated using the income approach?  
Describe the items that would be included on a spreadsheet if you were to conduct a...
Describe the items that would be included on a spreadsheet if you were to conduct a multinational capital budgeting analysis of investing dollars to expand your existing language business in a different location. Assume that you recognize your limitations in predicting the future exchange rate of the invoice currency for your expanded business. You think that there are several possible exchange rate scenarios, each with equal probability of occurrence. Explain how you could use this information to estimate the future...
Give examples of a “Line Item” and an “Object of Expense” that may be included in...
Give examples of a “Line Item” and an “Object of Expense” that may be included in a budget?
Detection Risk explain and give 5 examples? Define Brainstorming session and give 5 examples ?
Detection Risk explain and give 5 examples? Define Brainstorming session and give 5 examples ?
1) List 5 items excluded from Gross Income. 2) List 5 items included in Gross Income....
1) List 5 items excluded from Gross Income. 2) List 5 items included in Gross Income. 3) List the five filing statuses taxpayers may use when filing a return. 4) List the requirements to meet the Head-of-Household filing status. 5) List the components of the Individual Tax Formula (Hint: Starts with Income and ends with Tax Due (or refund)
Give 5 examples of Rectal Gels and 5 examples of Ophthalmic Gels
Give 5 examples of Rectal Gels and 5 examples of Ophthalmic Gels
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT