Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
introduction to the view layer and access layer
Posted

1 solution

The view layer is the layer that takes the data and shows it on the screen.

The view layer can be a web page or a windows form or some other sort of GUI presentation technology.

See the Wikipedia entry for Model View Controller design pattern.[^]

The view layer relies on their being a Model which contains the data and maybe a controller which can contain business logic. The view often observes the Model or is bound to it.

See the Observer_pattern too.[^]

The access layer is used to connect to the database. It allows reuse of database commands and can make it easier to move to different databases, like swappping from MySQL to Oracle or SQL Server.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900