We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Integrating a CI app with EE2

Development and Programming

nathanpitman's avatar
nathanpitman
531 posts
15 years ago
nathanpitman's avatar nathanpitman

Hi all, we have a client that we’ve built a CI app for and they now want to manage content on their public site. Rather than create a half baked custom CMS using the CI install the app is built on I’m thinking about using EE2. Question is - can I simply drop my app into a new a new folder within /system or is it not that simple… do I need to maintain two copied of CI (one with my app, one with EE2) in order for this to work???

TIA!

Moved to Development and Programming by Moderator

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
15 years ago
Sue Crocker's avatar Sue Crocker

Hi, Nathan. No idea. 😊 Moving to the Development forum for additional community support.

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

Nathan, did you want a unified user / session management between the CI app and EE?

       
nathanpitman's avatar
nathanpitman
531 posts
15 years ago
nathanpitman's avatar nathanpitman

not at all though it’s something I might consider further down the line. I just want to be able to quickly and easily add content management to the public facing site, at present this is delivered as a bunch of mostly static view files from CI. Primarily CI is ised to deliver the app (an online training application) and associated web services and admin for the client so it would be nice to separate the two a little… if I need any integration I suspect I could deliver it with a bespoke plug-in or extension that does some kind of lookup on the CI DB tables.

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
15 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

Gotcha. Have you seen this regarding multiple apps on a single CI core? It may be worth testing this way:

http://ellislab.com/codeigniter/user-guide/general/managing_apps.html

       
nathanpitman's avatar
nathanpitman
531 posts
15 years ago
nathanpitman's avatar nathanpitman

Yea, that looks like what I need to do… I guess the question is… is EE2 a real CI application in this sense or is the base CI install hacked about in such a way that this simply wouldn’t work. Maybe someone from the Ellis Lab team can pitch in on this?

       
Mark Croxton's avatar
Mark Croxton
319 posts
15 years ago
Mark Croxton's avatar Mark Croxton

It’s a full version of CI.

The main issue I’ve had porting CI libraries to EE2 modules is the Session class which EE overloads. But if you’re not planning on using EE templates and modules as a wrapper for your application, and run the two applications side by side, then you won’t have that problem.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.