MidCOM is becoming the default API

cover image for MidCOM is becoming the default API

midcom.gif Looking at the recent developments in Midgard CMS space, it looks like the MidCOM, the Midgard Component Framework developed by Torben Nehmer has finally established itself as the default Midgard development framework for PHP.

While I already forecasted this in my April 2003 article Why MidCOM rocks, it is still not a surprise that this has taken so long. MidCOM requires very different and much stricter development style than “pure Midgard” applications have used to follow. However, the advantages are substantial:

  • MidCOM provides standardized services like authentication, localization, debugger, templating, caching and configurable object editors (via datamanager)

  • MidCOM’s filesystem oriented approach for code makes version control and distribution easy

  • MidCOM is a standardized way to build applications with midgard-php, meaning that it is much easier to get contributions to the code

  • MidCOM mandates using a strict coding and code documentation standard (although all code has not yet been ported to it)

  • MidCOM provides the indexing service that allows building interesting views to data

  • …and finally, MidCOM is always available with Midgard

In the most recent developments, OpenPSA 2.0 is being written using MidCOM, and similar plans are also around for a Aegir rewrite.

Of course, even if most application development has moved to MidCOM, this doesn’t yet force site maintainers to convert. But even for that, there are some attractive benefits:

Another point to consider here is that after “MidCOMizing”, your sites will no longer be custom-made, but instead using a shared and commonly maintained platform.

This means that ideally it will be the last conversion hassle you have to face as from then on you can live easily with future MidCOM versions, or even convert to other CMS using Exorcist if required. MidCOM’s content model is the defacto standard, so there will definitely be conversion tools for it, no matter how much Midgard’s structure will change.

Read more Midgard posts.