JMelhuish wrote:I want to move from my current feature-bloated CMS to PunBB, and use PunBB as more than just a forum. I think PunBB should (must) be kept as fast & light as possible; this is a major competitive advantage. However, I think we can make it work as a (mini) CMS with very little code bloat. ...
I posted a topic a few days ago about modelling Pun's internal script structure after XHTML 1.1's module structure (XHTML 1.1 Parallelism - http://punbb.org/forums/viewtopic.php?id=4708).
I was thinking that the basic install of PunBB would include a minimal set of modules to run a forum. But using it for things like CMS also seems to fit with this.
Bear with me here: each module could be a folder containing a small handful of that module's php scripts...
Let's say that a basic PunBB 2.0 setup includes the following module-folders:
*Core (required: includes things like config, post, delete, edit, etc.)
*Admin (required)
*MySQL_to_PunXML (a something_to_PunXML would be required)
*PunXML_to_XHTML_Basic (a PunXML_to_something would be required)
*Lang_En (one lang module would be required)
*User (with user login, and post options)
That'd be the basic install which assumes you're using PunBB as a forum. But if you wanted to use it simply for CMS, you could take out the "User" module--so no one could log in or post except the admin and add "display:none;" in the CSS to turn off certain elements. Then, web surfers could browse the site and look at content without all of the usual forum trappings. It wouldn't be a full-featured CMS, but hey, it's made to be a forum.
And if you needed to, you could replace the Pun_to_XHTML_Basic module with Pun_to_XHTML_1.1, Pun_to_XHTML_Trans or whatever.
This type of setup would allow for a light version of CMS support with no code bloat at all... it'd be leaner than the full PunBB.
Anyway... I've taken a look at (and make a few mini-hacks to) PunBB's code so I know this idea isn't simply an add-on to PunBB as it stands now... although I am very pleased with PunBB 1.1.5. I like the module idea because I think it'll help PunBB stay lean and flexible in the long term future.