CodeIgniter Forums

Full Version: Why use Spark with CI?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there, I'm new with CI 3, I've read some tutorials they recommend to use spark, and I don't important it is.
My question: 1/ Why Spark is useful in CI?  2/ When do we use Spark?  3/ Which website should use Spark (ex. Ecommerce, Web App, general websites). Thanks for your time.
Spark is long dead. Check the date of the tutorials that mention it.
If you want to handle dependencies, look at Composer instead.
(04-29-2016, 09:43 PM)ciadmin Wrote: [ -> ]Spark is long dead. Check the date of the tutorials that mention it.
If you want to handle dependencies, look at Composer instead.

Thank you. Can you tell me? What are situations I should need Composer? For example, Ecommerce, App, or for all websites? Huh
https://getcomposer.org/doc/00-intro.md

If you do not know what it is for, I doubt you will need it.

Paul
(04-30-2016, 11:29 PM)Phally Seng Wrote: [ -> ]
(04-29-2016, 09:43 PM)ciadmin Wrote: [ -> ]Spark is long dead. Check the date of the tutorials that mention it.
If you want to handle dependencies, look at Composer instead.

Thank you. Can you tell me? What are situations I should need Composer? For example, Ecommerce, App, or for all websites? Huh

Think of composer as a spark for all of php. You have access to a massive amount of libraries that aren't directly created for codeigniter, but for multiple platforms on php. You can uses libraries from other frameworks like Symphony, Cake, or Laravel in codeigniter or stand alone libraries like the Facebook SDK.