We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Custom Plugins Performance

Development and Programming

Marc Miller's avatar
Marc Miller
84 posts
12 years ago
Marc Miller's avatar Marc Miller

Question for developers who end up writing their own custom plugins for sites. Is it better to combine them all into 1 plugin and just call the sub-routine when you need that functionality regardless if they have any relationship to each other? Or better to separate those functions into their own plugin folders?

I assume part of that depends on your team size and the ease of maintainence, but I’m going on the assumption that having less files/folders equals better performance.

Example 1: Function 1: exp:function1 Function 2: exp:function2

Example 2: Function 1: exp:my_plugin:function1 Function 2: exp:my_plugin:function2

This is primarily for plugins only.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.