Article

Building Your First XMF Module — Step by Step

This tutorial walks you through creating a complete XOOPS module using the XMF framework. We will cover:

  1. Setting up the module structure and xoops_version.php
  2. Creating Data Objects with XMF traits
  3. Building Handlers with lifecycle hooks
  4. Admin pages with styled tables and forms
  5. Version history and content comparison

By the end, you will have a fully functional blog module that demonstrates all of XMF's architectural features.

Comments

NewbieDev February 27, 2025

This tutorial is exactly what I needed. Following along step by step and my first XMF module is almost working!
Reply

NewbieDev February 28, 2025

Update: Got it working! The version history feature is really impressive once you wire up the VersionableTrait.
Reply