1 / 9

Platform-Plugin Archtecture

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

makani
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. 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. Platform-Plugin Archtecture Tao Yongjing seg.nju.edu.cn

  2. 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.

  3. 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

  4. 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

  5. Typical Structure

  6. A Practical Architecture

  7. Eclipse Extension Points • actionSet • editor • popUpMenu • views • perspectives • propertyPages

  8. Advantage & Disadvantage • Advantage • Extend Functions • Reusable • Responsibilities Clearly • Efficiently • Secondary Development • Disadvantage • Difficult in Developing Interface • Size of Basic Service

More Related