What are Frameworks and the Model-View-Controller?
• A framework is a reusable design of a program or part of a program that is expressed as a set of classes. • Ready made software building blocks that can be extended, used or customised for a particular problem. • The framework can then be built on for other pieces of software – there is no need to start from scratch each time you need to write another application. • Both code and design ideas can be reused. Frameworks are not a way of simplifying a problem, and can add to the complexity of the software produced. • The Model-View-Controller (MVC) framework is the separation of the user display from the control of user input and from the underlying data model or representation. • Definitions: • Display: the user interface, generally a GUI • User input control :the part of the system that handles the user input (ActionListeners etc) • Data model: the data being handled by the program, and which is entered by the user through the user interface. • Advantages • Resusability of the applica