1 / 8

Platform-Plugin Architecture

Platform-Plugin Architecture. 发展趋势调 研 田 青 青 MF0933031. Platform-Plugin Architecture 概念.

katina
Download Presentation

Platform-Plugin Architecture

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 Architecture 发展趋势调研 田青青 MF0933031

  2. Platform-Plugin Architecture概念 • 插件的本质是在不修改程序主体的情况下对软件功能进行扩展和加强.对于采用了平台+插件”结构的应用程序,当插件的接口公开后,任何公司或个人都可以制作自己的插件来解决一些操作上的不便或增加新的功能,也就是实现真正意义上的“即插即用”软件开发.可见,具有这种结构的软件分为两部分,一部分为程序的主体或主框架,可定义为。平台(Platform)”,另一部分为功能扩展或补充模块,可定义为“插件(Plug-in)”。

  3. 为了实现“平台+插件”结构的软件设计,需要定义两个标准接口:为了实现“平台+插件”结构的软件设计,需要定义两个标准接口: • 1)由平台所实现的“平台扩展接口”: • 2)由插件所实现的“插件接口”。 平台扩展接口”完全由平台实现,插件只是调用和使用;“插件接口”完全由插件实现,平台也只是调用和使用。平台扩展接口实现插件向平台方向的单向通信,插件通过平台扩展接口可获取主框架的各种资源和数据,可包括各种系统句柄,程序内部数据以及内存分配等。插件接口为平台向插件方向的单向通信,平台通过插件接口调用插件所实现的功能,读取插件处理数据等。

  4. Platform-Plugin Architecture The framework of platform/plug-in software

  5. Platform plug-in Architecture应用现状 • Eclipse • Photoshop • Visual Studio • Office

  6. Eclipse 平台结构

  7. 发展趋势 • 平台/插件体系结构解决了大型软件开发过程中出现的协助、集成等一系列问题,运用这种体系结构,只需将目标软件分为若干功能部件,各部件遵循标准接口规定以插件的形式实现,开发完成后只需将这些部件进行组装就可以完成集成任务,而不需要集成源代码或链接库进行编译与链接。这样给大型软件开发和扩展带来了极大的便利,已经有很多应用软件使用这种体系结构。

  8. The end,Thx

More Related