• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading 3rd party libraries

#1
[eluser]mikegioia[/eluser]
Hi Guys -

I was wondering what the best way was to load 3rd party libraries. For example, say I wanted to use MagpieRSS, should that go into the libraries folder which could then be autoloaded? Or is it more of a plug-in and go in the plug-ins directory?

Any help on this would be greatly appreciated.

Thanks,
Mike

#2
[eluser]xwero[/eluser]
Most third party libraries can be used out of the box with CI. Drop them in the application/libraries directory and use them like you would use a CI library. If the library requires a init then you will have to change the construct of the library to take parameters or you could add an initialize method so you can autoload the library.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.