Raised This Month: $51 Target: $400
 12% 

View Poll Results: Do you prefer a single plugin or multiple plugins? (see the thread below for info)
Single Plugin 4 30.77%
Multiple Plugins 7 53.85%
No Preference 2 15.38%
Voters: 13. You may not vote on this poll

Single Plugin v Multiple Plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-27-2009 , 10:41   Single Plugin v Multiple Plugins
Reply With Quote #1

Generally speaking, would you rather have a single feature-packed plugin or the same plugin that has a core plugin and then child plugins that provide the features above the core functionality? Please indicate why you'd prefer one over the other.

Obviously with the single plugin approach, you may have any number of features that you don't use or even want. With the multiple plugins approach, you pick which features to have but you ultimately end up with a large number of individual plugins loaded.


Single Plugin, named "Sexy"
--------------------------
sexy.amxx
* bring sexy back
* disco lights
* ants in the pants
* chatastic
* dun dun dun


Multiple Plugins for the "Sexy" System
------------------------------------
sexy.amxx
* core functionality

sexy_bringitback.amxx
* bring sexy back

sexy_discolights.amxx
* disco lights

sexy_antspants.amxx
* ants in the pants

sexy_chatastic.amxx
* chatastic

sexy_dundundun.amxx
* dun dun dun
__________________

Last edited by Brad; 02-27-2009 at 10:46.
Brad is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 02-27-2009 , 10:45   Re: Single Plugin v Multiple Plugins
Reply With Quote #2

Quote:
Obviously with the single plugin approach, you may have any number of features that you don't use or even
That's the reason why i'd like to have a plugin for each or more commands. If want to, i can do 2 or more in 1.
An example is Amx Super: a lot of commands wich people rarely uses.
__________________

anakin_cstrike is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 02-27-2009 , 10:52   Re: Single Plugin v Multiple Plugins
Reply With Quote #3

I prefer the single plugins seeing as though theres less set-up to do
Makes it easier
=]
__________________
minimiller is offline
Send a message via MSN to minimiller
C.H.U.D.
BANNED
Join Date: Apr 2008
Location: Long Island, NY
Old 02-27-2009 , 10:58   Re: Single Plugin v Multiple Plugins
Reply With Quote #4

Multiple plugins because I use a lot of per map config and ini files and I don't think that you can do that having 1 big plugin.

Last edited by C.H.U.D.; 02-27-2009 at 11:07.
C.H.U.D. is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-27-2009 , 10:59   Re: Single Plugin v Multiple Plugins
Reply With Quote #5

I'm just talking out loud right now...

Assuming good programming practices are observed, having a single plugin with many features wouldn't necessarily be very CPU intensive, compared the multiple plugin approach, as the various features not being used shouldn't ever be run. You do run into the increased memory footprint though.

Having multiple plugins would probably increase CPU activity if you utilize most (really depends on where the breaking point is) features of a plugin, as compared to using a single plugin.

I'm not sure how much impact either of those two statements would really have in practice. Both might be negligible in terms of impact and thus, shouldn't be entered into the debate. I'll leave this decision to someone more knowledgeable than I about the costs of both approaches.
__________________
Brad is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-27-2009 , 11:00   Re: Single Plugin v Multiple Plugins
Reply With Quote #6

If it's coded intelligently ( meaning each feature are modular and doesn't need extra cpu/memory if not used ), I would prefer one plugin. Otherwise severals plugins don't hurt and can be in specific case more appropriate. So, depending how the plugin is coded and how are the importance of this feature.

[Edit] I don't want to vote 'no preference' because it's depending the situation.

Last edited by Arkshine; 02-27-2009 at 11:11.
Arkshine is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-27-2009 , 11:04   Re: Single Plugin v Multiple Plugins
Reply With Quote #7

Quote:
Originally Posted by minimiller View Post
I prefer the single plugins seeing as though theres less set-up to do
Makes it easier
=]
I would argue that it's not easier, just different. Assuming a multiple plugin approach, the plugin author should make it easy to enable or disable the various addon features, much like is done with the ATAC system. The ATAC system uses it's own plugins.ini file in which you can comment or uncomment any of the punishments (features in terms of this thread) easily enough.

Quote:
Originally Posted by C.H.U.D. View Post
Multiple plugins because I use a lot of per map config and ini files and I don't think that you can't do that having 1 big plugin.
Assuming the single plugin has been coded properly, you should be able to enable/disable individual features using per map config files right now.
__________________
Brad is offline
C.H.U.D.
BANNED
Join Date: Apr 2008
Location: Long Island, NY
Old 02-27-2009 , 11:15   Re: Single Plugin v Multiple Plugins
Reply With Quote #8

There will always be something/several things that someone wants that won't be in the "plugin" meaning there will always be multiple plugins being used.

I hope I got that right
C.H.U.D. is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-27-2009 , 11:30   Re: Single Plugin v Multiple Plugins
Reply With Quote #9

The reminded me that, in theory, it'd be easier for people with a little know-how to add their own feature plugins to the multiple plugin approach if the hooks in the core plugin are intelligently placed.
__________________
Brad is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 02-27-2009 , 16:43   Re: Single Plugin v Multiple Plugins
Reply With Quote #10

I Start creating with multi plugin all with native & Forwards and then I Start to put all in one.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode