Welcome Guest, Not a member yet? Register   Sign In
Loading libraries without front controler
#1

[eluser]bendog[/eluser]
Hi,

We've just started using codeigniter for some projects and it's a very cool development framework, fast, easy, nice.

We have however some cases where we would like to stir slightly away from the normal CI execution flow. In particular we're implementing a few side features using flash, and we're hoping to use SWX for that instance.

Is it possible at all to have access to the CI libraries (in particular DB functionalities) without going through the application front controler?

Basically we would like to have access to the CI functionalities from the SWX php services.

Not quite sure how this can be achieved, has anyone been in that situation and could shed some light on it?

Cheers
Ben
#2

[eluser]wiredesignz[/eluser]
Its been done for CakPHP (sic), although they still use controllers.
http://blog.aboutme.be/cakeswxphp/


I'm sure it's easily adapted to CI.
#3

[eluser]bendog[/eluser]
Hi,

Thanks for the quick reply. I did notice that adaptation before but I was hoping I wouldn't have learn Cake as well and write my own adaptation..

maybe someone's done it for CI already?

Ben
#4

[eluser]starbbs[/eluser]
I also would like to see that the db can be loaded at first run




Theme © iAndrew 2016 - Forum software by © MyBB