Software Engineering Discusion
Software Engineering
Part 1: Persistence Framework
What is a persistence framework, and how are patterns applied to design the framework? What are the benefits of applying the patterns?
Software Engineering
Part 2: Respond to two peers discussion posts
Peer 1 Stephen
Persistence framework is the method of moving program data that is in its natural form to and from a permanent location in the database. The persistence framework manages the database and mapping between the database and objects that are linked. The framework will hide all database access functions from the business objects that are accessible by many. Design patterns are solutions to problems that can arise during the development process. Patterns can have many benefits, but must be used in certain circumstances. The solutions to the problem should recur more than once and require several steps.
Peer 2 Megan
The persistence frame work is used with databases and suppresses access from business objects. This is done to ensure that any impact the business objects could have on the database when it is modified is minimal. Each pattern is applied to the the system in such a way as to limit the direct interaction and the number of tasks each controller has. Each pattern has their own benefit as to why they should be applied. The bridge pattern decouples the client from the implementation which ensures changes to one doesn't result in massive changes to the other. The command, template, and prototype patterns help to reduce the amount of code needed to run the operation and reduces time for the developer. Finally the proxy template helps to ease remote access issues by hiding the remote implementations.