Behind the Scenes of the Plugin Manager

Since the first public beta of the Plugin Manager should be released within a week or so, I thought I would take a moment to explain how it works.

  • Kristine's site, the MT Plugin Directory, maintains an XML listing of all the plugins it lists.
  • The Plugin Manager downloads that XML file and stores it locally.
  • The file is parsed, and the Plugin Manager presents a list of all the plugins avaialble.
  • Clicking on a particular plugin will bring up a page containing more information about it, as well as links to documentation, bug listings, etc.
  • If the plugin is chose for installation, the Plugin Manager will verify that the local install meets the requirements of the plugin (MT version and Perl modules).
  • If the requirements are met, a list of avaialble plugin download formats (.tar.gz, .zip, .pl, etc) is presented to the user
  • The selected plugin archive is downloaded by the Plugin Manager.
  • If the archive passed the MD5 test (to be certain that the archive has not been tampered with), the archive is unpacked (if necessary) and stored in memory.
  • The files from the archive are then placed into appropriate places in the plugins/ and extlib/ directories based on extension (.pl, .pm, and so forth).
  • The files installed are registered with the Plugin Manager (in MT::PluginData) and associated with the plugin, so if the plugin is later selected for uninstallation they can be removed.
  • And that is it. All in all, rather simple I think.

There are a few extras that I would like to implement, but they are by no means showstoppers. So, with any luck, the general MT community will get their first chance to play with it within a week. No more vaporware for me. :)

8 TrackBacks

I've spent a bit of time this afternoon working on stuff for the Plugin Manager, and I thought I'd point... Read More

Now that the testing releases look more and more promising (if you did not take part in beta testing, there... Read More

Plugin Mgr and Melissa from MT Plugins announcements on June 21, 2003 1:33 AM

The beta testing for the MT Plugin Manager is in full swing. You can read more about it on David's site. Special thanks to all of our beta testers as we get things working nicely! Melissa has come on board... Read More

Here's one I expect will spread like a wildfire through the daypop lists: David Raynes has just posted a teaser page about his web-interface Plugin Manager for MoveableType. What is it? In... Read More

Ik las dat er binnenkort een MT Plugin manager uitkomt waarmee je de database op MT-plugins.org makkelijk kunt ontsluiten. Nu zag ik wat screenshots en ik zag dat alles weer in HTML was! Waarom? Dus Flash maar even opgestart en... Read More

Discours de personnalités from ::. C'est quoi donc un Blog ? , un journal sur tout et rien à la fois .:: on November 12, 2003 1:47 PM

voici un travail colossale de Michael E. Eidenmuller qui recense les principaux discours de personnalité, c'est vraiment impressionnant aller voir ça vaut le détour. http://www.americanrhetoric.com/ Malcom X : http://www.uttyler.edu/meidenmuller/... Read More

Discours de personnalités from ::. C'est quoi donc un Blog ? , un journal sur tout et rien à la fois .:: on November 12, 2003 1:48 PM

voici un travail colossale de Michael E. Eidenmuller qui recense les principaux discours de personnalité, c'est vraiment impressionnant aller voir ça vaut le détour. http://www.americanrhetoric.com/ Malcom X : http://www.uttyler.edu/meidenmuller/... Read More

Discours de personnalités from ::. C'est quoi donc un Blog ? , un journal sur tout et rien à la fois .:: on November 12, 2003 1:48 PM

voici un travail colossale de Michael E. Eidenmuller qui recense les principaux discours de personnalité, c'est vraiment impressionnant aller voir ça vaut le détour. http://www.americanrhetoric.com/ Malcom X : http://www.uttyler.edu/meidenmuller/... Read More

4 Comments

I've been waiting a while for this. Hope it's as good as I think it will be.

And I'm sure it is...
:)

Very good news to hear indeed!

I've been waiting a while for this. too!

Let's hope it sounds as good as it is.

I recall seeing a plugin here some time ago which allowed you to rebuild all blogs on one installation. Now I cannot find it. help help! rebuilding 13 blog "categories."

Leave a comment

Recent Entries

  • Plugin Writing 101

    So, I’m planning on writing up some entries about various aspects of plugin development. While I have a couple topics already in mind, I thought...

  • The Olympics Make Me Want To Compete Again

    Every time the Olympics come around (most the summer ones) I always start to delude myself into thinking I could complete once again in the...

  • Minimalist plugins are fun!

    Last night I whipped up one of the smallest plugins I’ve ever written. It is so small in fact that I was able to stuff...

  • Feedburner Widget on MT News

    Movable Type News A WordPress 2.5 Upgrade Guide: And of course there are lots of third-party plugins for the MT dashboard, to integrate statistics and...

  • AD&D Monster Stats for the Presidential Canditates

    Charles Stross (scifi author, D&D nerd, and former perl columnist) posted Politics as she is Played with 3d6: The recent death of Gary Gygax, who...

Close