Git Product home page Git Product logo

delphi-framework-mybean's Introduction

#delphi-framework-MyBean

开源地址: https://git.oschina.net/ymofen/delphi-framework-MyBean

MyBean轻量级配置框架,插件交流群: 205486036

说明文档 http://www.cnblogs.com/DKSoft/category/608549.html

BLOG http://www.cnblogs.com/DKSoft/category/540328.html

[MyBean特性]

1.轻量级配置插件框架,一个开源的DLL,完成对插件的管理。

2.可以通过配置选择预加载配置文件,不直接加载DLL插件文件

3.可以通过配置选择是否使用DLL缓存目录,这样可以在运行时就可以覆盖更新插件DLL。

4.单个EXE可以通过注册插件工厂,使用插件功能。

5.方便的单实例模式。可以由框架接管插件的生命周期。

6.只要实现了IInterface都可以称为插件,可以注册到框架插件,整合简单。

7.可以读取多个插件配置文件,在主配置中进行如下配置即可 ;加载bean配置文件目录(相对路径(EXE目录的相对路径),绝对路径(c:\config*.) ;没有配置时,直接加载DLL,从DLL中获取PluginID ;时不加载任何DLL插件 beanConfigFiles=.plug-ins,plug-ins*.plug-ins,beanConfig*.plug-ins

8.使用json进行bean的配置,配置简单 { "id":"aboutForm", "pluginID":"aboutForm", //如果与id一致可以进行忽略 "lib":"plug-ins\mCore.dll", //文件名 "singleton":true, //是否单件模式 /// 配置单实例时,请注意要么对象有接口引用管理生命周期,要么实现IFreeObject接口 /// 不要手动释放释放对象. }

9.框架绿色而且全部开源(支持D7 - XE6)

delphi-framework-mybean's People

Contributors

ymofen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.