Welcome Guest, Not a member yet? Register   Sign In
can I have codeigniter be part, only part, of my online software?
#1

[eluser]webdevguy32[/eluser]
I am rebuilding my SaaS application and am looking for a way to slowly get into codeigniter without having to rebuild the entire thing. I first want to rebuild the login using a db and sessions.

Can I simply have it handle my login and initial sessions setting and my app take over from there?

If so, what would the directory structure look like? Would it be like:

/hdocs/application/
/hdocs/system/
/hdocs/myappfile1.php
/hdocs/myappfile2.php
....

If so, how would I force the login to go to /hdocs/application/index.php THEN go out of codeigniter into my app pages?

Many thanks!
#2

[eluser]Ckirk[/eluser]
You would have to replicate the codeigniter session handling library in your existing SaaS app, in order to maintain control of the session that codeigniter sets up --- messy!

Not sure it's worth the headache though. If your long term goal is to integrate the CI framework into your SaaS then why not just go ahead and start doing it in a development environment?

#3

[eluser]webdevguy32[/eluser]
I think you're right. Been rebuilding the login system from scratch in CI... and I love it! I think I will rebuild it in CI. Will likely have more posts along the way.

Thanks for your reply and insight.
#4

[eluser]Ckirk[/eluser]
any time.
Oh and welcome to CI Smile




Theme © iAndrew 2016 - Forum software by © MyBB