Design three layer architecture

Assignment Help Computer Engineering
Reference no: EM132022186

Assignment - Three Layer Architecture

Description - In this assignment you are to design your 3-layer architecture. The top layer will consist of:

  • The console user interface which you already have.
  • A graphical user interface (GUI) which you will need to build.

The middle layer is the control layer where your business rules are placed. There will be little for you in this layer because we don't have a number of business rules. So most of the requirements for the control layer will be simply to ensure the command from the UI layer is valid under the current application state and pass the work on to the appropriate model (data) layer.

The third layer is the model (data) layer. This layer contains the code that is specifically designed for data manipulation. For example, you may write out the data for a surgeon as the "Person" portion in a personrec.txt file while the Doctor portion of the properties get written to a doctorrec.txt file. Finally the specific surgeon properties may get written to a surgeonrec.txt file. When a surgeon is selected for display on the user interface, the control layer may request the surgeon data from the model layer, but the model layer will need to reassemble the data from three different files. That is the responsibility of the model layer.

Deliverables -

GUI Layouts - The most dramatic design will be the GUI.

State Change Models (SCM) - Each GUI window or function group should have a SCM associated with it. These models will be very simple. What I want to see is the major events that require response.

GUI Behavior Descriptions - Each GUI window should have a text-based description (scenario) of how a typical use would look like. For example, in the above window, it might be:

  • Enter patient name in name field; health number in health number field
  • If patient doesn't exist, a panel will display "That patient not found" and fields will be cleared
  • Select doctor from the drop-down list
  • Press cancel to not save and exit screen
  • Press save to commit data and exit screen

Of course you need to provide your own specification.

Control Layer Class: The control layer behavior have no visual component. The control layer is responsible for how the model objects interact. For example, the model layer contains the classes which define the ward, bed, patient, doctor, etc. However it is the control layer that interacts with these model layer objects to get thing done. So the control layer contains the references to all wards, patients and doctors.

Model Layer Classes: The Model layer behavior have no visual component. The model layer is responsible for actual definition and creation of objects in the model. For example, the model layer contains the classes which define the ward, bed, patient, doctor, etc. The control layer will manipulate the model layer for purposes of creating a patient, obtaining an empty bed in a ward and assigning a doctor to the patient. The model layer contains the object classes but do not drive the application. The model layer is responsible for things like writing the persistent data of each model object to permanent storage and reading it back again when the app is restarted at some later time. NOTE: Except for the persistent data component, your class models from the previous assignment should work without any changes. If you find you are making major changes to the model classes, you may be incorrectly dividing the responsibilities of the layers.

Specifications for the Application -

We aren't going to change the behavior of the application at this point. So here is the basic menu from the previous assignment:

1. quit

2. add a new patient to the system

3. add a new doctor to the system

4. assign a doctor to a patient

5. display the empty beds of the ward as a list of bed labels with purpose

6. assign a patient a bed of a particular

7. release a patient

8. drop doctor-patient association

In your control and model layers, you will provide the functionality necessary for the application to perform correctly. We will quickly go through each option.

Attachment:- Assignment File.rar

Reference no: EM132022186

Questions Cloud

Consideration and personalization of theories : Describe which motivational theory, as described in Harell and Daim in the required readings for this unit, would be the most appropriate for your industry
What would be cost of equity from new stock : If the company issued new stock, it would incur a 19% flotation cost. What would be the cost of equity from new stock?
Organizational culture to employees and customers : Discuss how mission statement, stories & language, physical layout, rules & policies, and rituals, conveyed the organizational culture
Classification to higher nutritional standard : Do you believe that one restaurant classification has more responsibility than another classification to higher nutritional standard?
Design three layer architecture : CMPT 270 Assignment - Three Layer Architecture. In this assignment you are to design your 3-layer architecture. The third layer is the model (data) layer
Nutritional standards concerning calories : San Francisco recently enacted new legislation that does not allow a toy to be included in a child's meal that does not meet certain nutritional standards
What are the components of competitive strategy : What are the components of competitive strategy? Within competitive strategy what is the relevance of a value change framework?
Explain the expectancy and equity theory : Explain the expectancy and equity theory when it pertains to learned/personal motivation?
Describe how you plan to continue developing your knowledge : Describe how you plan to continue developing your knowledge and understanding of entrepreneurship and innovation.

Reviews

len2022186

6/19/2018 1:09:30 AM

Submission Deadline: 18 at 11:55pm – Submit via Moodle! In this assignment you are to design your 3-layer architecture. Marking (total 50) - (20) GUI design and descriptions:, (20) Control Layer design and (10) Model layer design. I will need a sketch (which can be hand-drawn) of each window you are planning for your application interface. NOTE: Except for the persistent data component, your class models from the previous assignment should work without any changes. If you find you are making major changes to the model classes, you may be incorrectly dividing the responsibilities of the layers.

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd