[Ilugc] PHP content management

  • From: arnstein87@xxxxxxxxx (Arnold Noronha)
  • Date: Tue Jun 10 23:41:18 2008

Hi,

We have a PHP app [1] which runs a programming contest judge. Now a
programming contest judge has a lot of data (problem statements,
testdata etc.)

The way we handle that currently is that we have a directory full of
the content on the filesystem itself... so to get a problem statement
for problem ABC, I'd access a file data/problems/ABC.html on the
filesystem.

Now, from what I've read, what I'm trying to achieve is something what
a content management system is supposed to do... right? My app is
fully functional right now, and I can't afford to remodel the entire
thing on top of some CMS.

What I would like is some content management system that allows me to
modify these contents, but I should be able to access these content
from my other PHP app using some APIs. For example, I should be able
to edit data/problems/ABC.html wiki style (I am ready to sacrifice my
dependence on the filesystem, I can always store the data in a
database if the solution requires it), and I should be able to
retrieve the contents using some API the CMS provides: like
get_contents("data/problems/A.html"); I should also be able to upload
files like images etc.

I also need concepts of ownership built in, within this CMS itself
there should be a root user, and each page needs to be owned by an
owner (or a set of owners). Even better (though not strictly
necessary), I should be able to use my existing usernames and
passwords.

I haven't used a CMS before, so I might have been wrong in my usage of
the term :)

Anyway, can anyone give me suggestions as to what I should be doing/using?

Thanks,
--Arnold

[1] http://opc.cmi.ac.in/iarcs

Other related posts:

  • » [Ilugc] PHP content management - Arnold Noronha