Recently, I have been working on a PHP website with no SQL support (yeah, don’t ask), but needed to maintain a small database of pages and posts that could be updated via a WYSIWYG web interface. I ended up going with the following configuration:
- Store data in XML files.
- Handle XML data in PHP using the SimpleXMLElement class
- Allow WYSIWYG editing with CKEditor, an Javascript-based open-source text editor
This is a very simple set-up, but there are a few things to note:
Continue reading