#Help to understand assignment requirements

7 messages · Page 1 of 1 (latest)

warped spoke
#

So I just need help wrapping my head around this assignment. I'm having a hard time deciphering what is needed. I've messaged my instructor but I'm still confused so I figured I would reach out here. I don't need help with the coding just what I need to code.

You will practice using a layered approach to building software.
Create an application that implements a business layer and a database access layer.
The application should have a GUI that displays customer data.
The GUI will use the business layer to perform its actions.
Create methods to return the number of customers and a list of customer names.
Create a database object that also returns the number of customers and a list of customer last names.
The object must have a constructor that accepts a connection string.
Remember that the methods return raw data, not a table structure.
Create a business layer object to do the actual interaction with the data access layer.
All of the interactions with the data layer are performed within the business layer.

hoary archBOT
#

This post has been reserved for your question.

Hey @warped spoke! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

prime otter
#

A number of customers and a list of customers' last names. That you have that must be observable through a GUI.
The data must come from a database, which may not be accessed by the GUI directly. The GUI must communicate with a business layer only. That business layer communicates with a database access layer, which is the one that talks to the database server.

warped spoke
#

Thank you. That helps a bit. I'm probably just over complicating due to the way it was phrased. So if I'm thinking of it in tiers it would be db>business>gui. It asks for methods and objects and I guess that's what was confusing me. If I just make a method to connect to the db and access the data then pass that data to a method that will then display it.

hoary archBOT
hoary archBOT
#

💤 Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.