Platform plugin archtecture
This presentation is the property of its rightful owner.
Sponsored Links
1 / 9

Platform-Plugin Archtecture PowerPoint PPT Presentation


  • 42 Views
  • Uploaded on
  • Presentation posted in: General

Platform-Plugin Archtecture. Tao Yongjing seg.nju.edu.cn. Platform and Plugin.

Download Presentation

Platform-Plugin Archtecture

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Platform plugin archtecture

Platform-Plugin Archtecture

Tao Yongjing

seg.nju.edu.cn


Platform and plugin

Platform and Plugin

  • PlatformIn computing, a platform describes some sort of hardware architecture or software framework (including application frameworks), that allows software to run. Typical platforms include a computer's architecture, operating system, programming languages and related runtime libraries or graphical user interface.

  • Plugin

  • In computing, a plug-in (also called plugin, addin, add-in, addon, add-on, snap-in or snapin) consists of a computer program that interacts with a host application (a web browser or an email client, for example) to provide a certain, usually very specific, function "on demand". Add-on is often considered the general term comprising plug-ins, extensions, and themes as subcategories.


Purpose

Purpose

  • To enable third-party developers to create capabilities to extend an application

  • To support features yet unforeseen

  • To reduce the size of an application

  • To separate source code from an application because of incompatible software licenses


Example

Example

  • Boost Extension, Boost C++ plug-in framework, available from boost sandbox.

  • Qt Plug-Ins, part of Nokia's Qt Framework.

  • Java Plug-in Framework(JPF), a plug-in mechanism adapted from Eclipse's plug-in mechanism from its pre-OSGi era.

  • OSGi, a standardized dynamic component system suited for plug-in programming, used in Eclipse, many commercial J2EE application servers, Spring Framework, and embedded applications.

  • Rich Client Platform (RCP), platform for applications adapted from Eclipse, applications are written as plug-ins and may themselves have further plug-ins


Typical structure

Typical Structure


A practical architecture

A Practical Architecture


Eclipse extension points

Eclipse Extension Points

  • actionSet

  • editor

  • popUpMenu

  • views

  • perspectives

  • propertyPages


Advantage disadvantage

Advantage & Disadvantage

  • Advantage

    • Extend Functions

    • Reusable

    • Responsibilities Clearly

    • Efficiently

    • Secondary Development

  • Disadvantage

    • Difficult in Developing Interface

    • Size of Basic Service


  • Login