PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

CodeIgniter.com: A Quick Look at Sparks

Note: This article was originally published at PHPDeveloper on 15 March 2012.
PHPDeveloper

On CodeIgniter.com there's a new post looking at Sparks, reusable code components/packages for the CodeIgniter framework.

On the back of a CIConf in London last month, I would like to delve a little into a common theme amongst CodeIgniter developers. Speeding up development through simple automation. To do that we're going to take a look at the CodeIgniter Sparks project and how it can drastically speed up your development. To demonstrate, I will walk through building a little portfolio that leeches off the GitHub API.

They show you how to install it from the Getsparks website, finding Sparks to add to your application, the code to load in the component and configuring it on load. They include an example of loading in a REST client Spark and how to use it to make a request to Github and pull down a Markdown file.