I have a CodeIgniter app that provides premium content to customers and I would like to fold it into my company’s EE website and build a commerce system around it there. I’ve already purchased Profile:Edit and intend to purchase CartThrob shortly, and I have come up with strategies to hide, and require payment for the content, but I just haven’t figured out the best way to load the actual content into EE itself.
At the moment, the CI app has URLs like this:
<a href="http://example.com/program/{program_name}/{sub">http://example.com/program/{program_name}/{sub</a> content}/{related content}/{etc}I then have CI “routes” that send those Segment to the relevant functions:
$route['program/([^/]+)/(phase(:num))?/?unit(:num)'] = 'controller/function/$1/$4/$3';I’d really like to maintain this very logical, easy-to-read URL scheme, but I’m not sure where to begin with something like that in EE. I obviously need to get the content into Channels and use Relationships. I’ve created a Template Group named “program” with just index. I was thinking of just having index call an Add-On which would parse all of the segments, and have its own views it could server up as needed, but I really want to keep all of the program content, sub content and related content in Channels so my production team can happily edit and extend the product without coding or delving into phpMyAdmin.
Can anyone give me a nudge in the right direction? I’m very familiar with CodeIgniter, mildly familiar with EE, and I have already written some of my own EE modules.
Thanks