![]() |
Sparks in 3.0 and/or migration? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Sparks in 3.0 and/or migration? (/showthread.php?tid=62709) |
Sparks in 3.0 and/or migration? - msteudel - 08-17-2015 I'm migrating a project from 2.1.3 to 3. I'm noticing that sparks aren't working. Are they supported in CI 3? If not any suggestions,documentation on how to migrate them? Thanks RE: Sparks in 3.0 and/or migration? - solidcodes - 08-18-2015 I think 3.0 is not optimized for sparks. It is optimized for composer. RE: Sparks in 3.0 and/or migration? - Narf - 08-18-2015 (08-18-2015, 02:23 AM)solidcodes Wrote: I think 3.0 is not optimized for sparks. It is optimized for neither. RE: Sparks in 3.0 and/or migration? - msteudel - 08-18-2015 (08-18-2015, 02:23 AM)solidcodes Wrote: I think 3.0 is not optimized for sparks. Optimized meaning ... it doesn't work? Or that it's really fast? RE: Sparks in 3.0 and/or migration? - mwhitney - 08-18-2015 I'm not 100% sure, but more than likely the Sparks aren't working because they're not compatible with CI3. Migrating any given Spark should be no different than migrating an application, it just depends on what's included in the Spark. Sparks in general are no longer supported, but it's quite possible that you could use any Spark which is compatible with CI3. RE: Sparks in 3.0 and/or migration? - msteudel - 08-18-2015 What would I migrate a spark too, a library? RE: Sparks in 3.0 and/or migration? - solidcodes - 08-18-2015 There is a file called composer.json in CodeIgniter 3.0 So it is ready for Composer not for Spark. RE: Sparks in 3.0 and/or migration? - mwhitney - 08-19-2015 (08-18-2015, 01:02 PM)msteudel Wrote: What would I migrate a spark too, a library? As far as I can tell, in most cases sparks is used to distribute libraries, so yes, though they can also include helpers, models, and config files. ...and in most cases it would probably be better to use code available via Composer, if you can use it in your environment, as @solidcodes suggests, though there is no optimization in CodeIgniter for either Sparks or Composer, and there are limitations in both cases. |