1 / 14

Unit -V

Unit -V. Component Frameworks and Development. Component Framework. Framework provides a basic system model for a particular application domain within which specialized applications can be developed

lara
Download Presentation

Unit -V

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Unit -V Component Frameworks and Development

  2. Component Framework • Framework provides a basic system model for a particular application domain within which specialized applications can be developed • Consists of already coded pieces of software that can be reused and flexible elements which allow the user to adjust the framework to the needs of the application. • It provides a skeletal support which serves as the basis for construction of an application.

  3. Object-Oriented Framework (OOFW) • Set of classes that embodies an abstract design for solutions to problem. • OOFW is a library (piece of code) • Readymade functionality that can be used repeatedly. • Provides the way to choose a design suitable for the application.

  4. For Example, Microsoft Foundation Classes (MFC) • Provides the basic framework to decide on the structure and the behaviour of the windows application. • Win32 APIs (class lib) which provides the essential windows functionality. • Modification/Additions – deriving subclass of MFC classes and overriding their virtual functions.

  5. Black Box Classes Composition Mechanism Application • Frameworks can be categorized based on the design: Black-Box Framework:

  6. White box classes Inheritance Mechanism Application White-Box Framework

  7. The issues to be considered while designing an OOFW • Application Domain • Scoping • Software Architecture • User • Encapsulation • Control Flow • Interaction between OOFWs • Development Process

  8. Based on the different aspects of framework, component and application development, developers and users • Framework developer who builds the framework • Component developer who uses the framework and adds components to the framework • Application developers who uses the component to build the application • End user who uses the application

  9. Component-Based Framework • Frameworks can be built to represent fully compiled application system at one end and fully interpreted application system. • Components in framework approach fall into three categories: • Frame work Backbone • Basic Component (BC) • Additional Components (AC)

  10. Customize AC Uses BC Customize Backbone BC AC Customize Framework Components

  11. Basic Component Development Application Domain Identification Backbone Development Additional Component Development Framework Development Process

  12. Black-Box Component Framework • Carrier-Rider- Mapper Pattern • Carriers: • Data carrying objects that can be accessed by position. • Direct interfaces (implementation interface) for reuse and extension • Riders: • Encapsulate access paths to data in carriers • Client can access the interface with riders • Mapper: • Data formatting filters which directs to the specific client

  13. 2. Directory Objects • New objects are created using factory objects • Eg File abstraction 3.Hierarchial Model View Separation (HMVC) • View – visual representation of data that can be Context-sensitive • Model – represents and manage data presented by views • Controllers- Interact with the user and interpret the user input.

  14. Container Model • Separate the design of the component and its usage. • Containers can be set in any mode: • Edit Mode • Layout mode • Browser Mode • Mask Mode • Frozen Model • Palette • Cascade Message Multicasting Services • Message objects are used to decouple to MVC

More Related