插件和库有什么区别? [英] what is the difference between plugin and library?
问题描述
我想知道库和插件之间的区别是什么?
i wonder what the difference between a library and a plugin is?
如果某个组件创建了一个数据库(可能带有.sql文件或通过一种方法创建),那么它是否仍是一个库,还是被称为插件或模块?
if a component creates a database (maybe comes with a .sql file or creates through a method) could it still be a library or is it called a plugin or module?
因为我正在创建一个地址簿组件,它提供了在数据库中插入和读取记录的方法.我不知道该把它放在库文件夹还是插件文件夹中.
cause i am creating a address book component and it provides methods to insert and read records in database. i don't know if i should put it in library folder or plugin folder.
请对此予以说明.
谢谢
推荐答案
我为插件投票.
插件扩展了大型应用程序的功能.听起来就像您的通讯录正在做的事情.
A plugin extends the capabilities of a larger application. That sounds exactly like what your address book is doing.
库是用于开发软件的子例程或类的集合.我认为任何实例化其自身数据库的组件都不在库的范围之内.
A library is a collection of subroutines or classes used to develop software. I think any component that instantiates its own database falls outside the scope of a library.
这篇关于插件和库有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!