breynolds Reply #1, 10 months, 2 weeks ago
Brief Background: I have a site that is driven by a DB but has not separation of design, code, logic...nothing. I'm trying to bring that site into ModX so there will be some content management and allow users to create content rather than me logging to duplicate the code and copy/paste the content.
Current Issue: This whole conversion hinges on being able to connect to the existing DB (MySQL) where the information is located (ModX is installed in it's own DB). I've been reading about the xPDO but I'm not sure if I'm on the right path. Is there a simple tutorial or post that outlines getting started with connecting to a database? I know it sounds rudimentary (which I'm new to this) but just making a simple connection to my DB is becoming an issue.
Current Issue: This whole conversion hinges on being able to connect to the existing DB (MySQL) where the information is located (ModX is installed in it's own DB). I've been reading about the xPDO but I'm not sure if I'm on the right path. Is there a simple tutorial or post that outlines getting started with connecting to a database? I know it sounds rudimentary (which I'm new to this) but just making a simple connection to my DB is becoming an issue.
