what is the difference between plugin and library?

前端 未结 5 561
刺人心
刺人心 2021-02-07 03:26

i wonder what the difference between a library and a plugin is?

if a component creates a database (maybe comes with a .sql file or creates through a method) could it sti

相关标签:
5条回答
  • 2021-02-07 03:35

    Plugin is your third party classes. Library is your own classes that you have implemented for your project.

    0 讨论(0)
  • 2021-02-07 03:45

    This is a matter of opinion and of taste. Libraries tend to not do that much on their own but enable you ("the programmer") to do things. Though that could be said of many plugins as well...

    0 讨论(0)
  • 2021-02-07 03:55

    I guess that would be more of a plugin. A library generally provides some pragmatic function or something. Like a way to access a service, or provide a function set, but it generally does not create a database of its own.

    0 讨论(0)
  • 2021-02-07 03:59

    I vote for plugin.

    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.

    0 讨论(0)
  • 2021-02-07 04:02

    Library: Is a collection of bunch of methods used to perform more number of task.

    Plugin: Is a collection of few methods used to perform particular task.

    0 讨论(0)
提交回复
热议问题