Published by Mijingo

movie icon image

EE Insider Blog

Spend your time learning and developing sites with ExpressionEngine and we'll use this blog to keep you informed of all the news related to ExpressionEngine and CodeIgniter.

» Read more in the Archives.

» Have a tip? Send us your EE news.

Learn ExpressionEngine Today

Over a series of 8 videos, watch and learn as Ryan builds an entire ExpressionEngine website from beginning to end. Get started now.

Jesse Bunch on Harnessing CodeIgniter in EE2

Jesse Bunch wrote a nice tutorial on getting under the hood using CodeIgniter in ExpressionEngine 2.0. He describes his problem:

… [W]hen I needed to create a simple web service that would consume an XML post and update the ExpressionEngine database, I found myself in limbo—that is—not needing the control of a module, but needing more control than that offered by an accessory.… The idea here is to have the power of the CodeIgniter libraries and make use of the ExpressionEngine API. Choosing this method will prevent model redundancies and make for a much smoother upgrade day.

As always there are there are plenty of ways to do this. Some people would have just written a module or some sort of external script, but I like the idea of harnessing the EE API to do it without having to go all in with a module.

Read how he did it along with some code examples: Harnessing the Power of CodeIgniter in ExpressionEngine 2.0

Posted on Dec 06, 2010 by Brian Warren

Filed Under: CodeIgniter, ExpressionEngine 2