Feature request, plugin management

4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: November 6   (RSS)

Hi Jeff,

Thanks for the thoughtful write-up and for sticking with CMS Builder all these years. I’ve been away from my desk the last few days, so thanks for your patience.

A built-in plugin management flow like you described would be great.  Big features like this can sometimes take a lot of time, though, so we try to work in small usable iterations and ship frequently.

Near-term, the first step is to standardize how plugins store their settings. Right now, many plugins store their own config in the plugin source, which makes upgrading harder.  One big step forward we'd like to take is a consistent format: either a simple config file in the plugin folder that the admin can edit in the UI, or storing settings in the database with import and export, would help right away.  We're exploring different ways to implement that.

In the medium term, we’re interested in using Composer to distribute CMSB and, potentially, plugins. That would let us add an in-app browser for installing and updating plugins, with version and compatibility checks handled for you.  I was also looking into some web-based composer management UI for CMSB.  Or perhaps something so users who don't have easy shell access can upload a script and have it download from composer.

Longer term, what you've outlined would be ideal: a central directory with clear metadata, compatibility flags, update notifications, one-click updates, and safe rollbacks. Lots of steps there, so we typically want to start with the first few and proceed from there.

Thanks again for laying this out. If you’re up for it, we're always happy to have your help testing when we add these features to the beta.

Dave Edis - Senior Developer
interactivetools.com

By kitsguru - November 3 - edited: November 9

Great to hear you are considering it. Just for reference piwigo plugins use 3 methods for storing config, much like you outlined. It depends on the age of the plugin and its complexity.

Some create their own table, some use piwigo’s config table with serialized data, some use php array config.php file.

Jeff Shields
yaadev.com

Hi Jeff, 

Okay, interesting and good to know, thanks!

Dave Edis - Senior Developer
interactivetools.com