Welcome Guest, Not a member yet? Register   Sign In
Sparks in 3.0 and/or migration?
#1

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
Reply
#2

I think 3.0 is not optimized for sparks.
It is optimized for composer.
Reply
#3

(08-18-2015, 02:23 AM)solidcodes Wrote: I think 3.0 is not optimized for sparks.
It is optimized for composer.

It is optimized for neither.
Reply
#4

(08-18-2015, 02:23 AM)solidcodes Wrote: I think 3.0 is not optimized for sparks.
It is optimized for composer.

Optimized meaning ... it doesn't work? Or that it's really fast?
Reply
#5

(This post was last modified: 08-18-2015, 12:46 PM by mwhitney.)

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.
Reply
#6

What would I migrate a spark too, a library?
Reply
#7

There is a file called composer.json in CodeIgniter 3.0
So it is ready for Composer not for Spark.
Reply
#8

(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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB