Codeigniter: Creating dynamic graphs using JQuery and FusionCharts
I recently upgraded some of my Codeigniter applications that used OpenFlashCharts to using FusionCharts Free, and at the same time incorporated some javascript to allow me to change the graphs dynamically at the client-side. This has greatly improved the usability of my charts and graphs that I pump out. As such, I thought I would [...]
In: PHP Tutorials · Tagged with: charts, codeigniter, jquery
Codeigniter: Handling errors
As coders, I’m sure we all know the value of good error handling. So I thought a quick post about how Codeigniter deals with those pesky errors would be a good post.
The way I see it, there are 2 types of errors we have to work with. The ones which are displayed out in [...]
In: PHP Tutorials · Tagged with: codeigniter, errors
Codeigniter: Intergrating OpenFlashCharts
Yes I know, it has been some time since I last posted anything on the site. Things have just been crazy at work, trying to get up to speed on using Pentaho for a major project. In fact, I might start posting some Pentaho related topics in the future. There’s definitely a need for more [...]
In: PHP Tutorials · Tagged with: charts, codeigniter, openflashcharts
Codeigniter: Setting up multiple sites on one install
It’s been awhile since I last posted about Codeigniter. In this post, I’m going to walkthrough how I setup a CI install that can support multiple sites. This is by no means the only way to do it, but it’s what works for me.
CI’s default folder structure is really geared towards one site domain, and [...]
In: PHP Tutorials · Tagged with: Apache, codeigniter, website
PHP’s alternative syntax and why it’s useful
PHP offers an alternative way to write their control structures for as long as I’ve remembered. It basically does away with the curly brackets and replaces the opening curly with a colon (:) and the closing with ‘end’-whatever. I have to be honest and say I’ve never really found a need to use the alternative [...]
In: PHP Tutorials · Tagged with: codeigniter, PHP, syntax
Codeigniter: Mixing segment-based URL with querystrings
Codeigniter, by default crafts it’s URL in a search engine friendly format. It uses a segment-based approach and does away with the all familiar querystring format that developers have been using for many years to pass parameters via the URL into their applications.
Codeigniter does allow you to turn on the querystring capability, but that [...]
In: PHP Tutorials · Tagged with: codeigniter, querystring, segments, url
Review: Professional Codeigniter
There are currently only two books published about Codeigniter available in the market, one is called CodeIgniter for Rapid PHP Application Development and the other is this one I’m reviewing.
Having being using Codeigniter for a few simple projects, and really consider myself a CI newbie, I scooped up this book when I saw in [...]
In: Book Review · Tagged with: codeigniter, reviews
Codeigniter: Helpers, Plugins and Libraries
Having used Codeigniter for a few months now, this framework is really turning out to be a joy. My last post, I talked about how to modify native CI Libraries.
With so many published PHP classes and functions, it would be a shame if we couldn’t use them in CI. Fortunately CI (like all good frameworks) [...]
In: PHP Tutorials · Tagged with: codeigniter, helpers, libraries, plugins
CodeIgniter: Extending the native ‘Model’ and make it your own.
Today I took advantage of CodeIgniter’s ability to extend the native libraries, and I was well satisfied that it just works.
Let me elaborate, I’m in the process of creating models for my CI project, and realized that certain functions within the models were getting repetitive. Using CI’s ability to create my own custom libraries, [...]
In: PHP Tutorials · Tagged with: codeigniter, models, PHP
CodeIgniter: Organizing views simply
Having been brought up developing PHP using templating systems like Smarty, I’m very used to segmenting my page elements into reusable block, and swapping out blocks of HTML codes, nesting blocks of code within other blocks and so on.
Trying my hands at using CodeIgniter, one of the first obstacles I had was how to organize [...]
In: PHP Tutorials · Tagged with: codeigniter, PHP, views
