I am trying to code a web application in PHP which will dynamically generate web pages / html documents. I imagine that the functionality would work somewhat similar to wikipedia where each topic has it's own little web page.My question is that I'd like to know if there is a "best method or most efficient method of coding this functionality in PHP". So far, I am looking at PHP's DOMDocument to get this done, but I'm wondering if there is a better method of doing this.