About Spark... |
Greetings,
Can i asking will BCIT hosting spark as well? Or using composer as main package system? Thanks. (11-02-2014, 06:08 PM)ciadmin Wrote:(11-02-2014, 04:40 PM)musicalangel Wrote: Greetings, Is the composer autoload included in the main bootstrap file (index.php) in v3? I've always had to hack the index by including it just before the Codeigninter bootstrap.
In v3 there is a new config setting you can set to autoload Composer. It will load Composer's autoload after CodeIgniter's bootstrapping, but prior to running your controller.
http://www.codeigniter.com/userguide3/ge...oader.html mentions the config setting for enable the composer autoloader.
I haven't played with it myself, so can't help much beyond this, sorry!
Adding Composer to CI 2.X is trivial. It's very easy, there are many examples on the internet.
Even integrating modules that use namespaces into CI is also very easy. You dont really need to upgrade to CI 3.0.
The Sparks site has been serving up database errors for at least a few days now.
http://www.getsparks.org/ Code: A Database Error Occurred It's a shame because I thought it was a nice addition to CodeIgniter: good idea, nice implementation. But I guess the guys that did it lost interest and nobody else kept up with it. I am not yet familiar with Composer, but I am glad that there will be something like this for CodeIgniter in the future.
Are Sparks something that is worth keeping?
I have always wanted to integrate the code myself and I don't really like the magic, I have to maintain it, so I need to know what is where and how it works. I see how this could help, but if you are on shared hosting or have no command line, most of these package systems are more trouble than they are worth. Please don't think I am against them all, I use compass, node.js etc. in my development environment, but that is deployed on mass to the live server, so it is functionally useless on the live server anyway. |
Welcome Guest, Not a member yet? Register Sign In |