News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Hasin Hayder's Blog:
Using ActiveRecord Library Separately from CodeIgniter
June 13, 2007 @ 11:53:13

On his blog today, Hasin Hayder has a quick tutorial on using one of the features of the CodeIgniter framework outside of it - the ActiveRecord library.

CodeIgniters ActiveRecord library is a nice implementation (though modified) of ActiveRecord design pattern. It comes bundled with CodeIgniter. So if you want to use Just this library in your application individually instead of using full CodeIgniter framework, what to do?

His solution uses an abstraction layer (ActiveRecordFactory) to handle any issues with interfacing to CodeIgniter's class. He's also included the code (and a download

0 comments voice your opinion now!
codeigniter activerecord library factory designpattern codeigniter activerecord library factory designpattern


blog comments powered by Disqus

Similar Posts

DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online Forms

Web Mozarts: On Libraries and Dependencies

SitePoint PHP Blog: Where are you? Implementing geolocation with Geocoder PHP

Courtney Robinson's Blog: Apache Cassandra+PHPcassa+Code Igniter = large scale PHP app in 5 minutes

Matthijs Tempels\' Blog: ActiveRecord Bugfix and Hooktable Support


Community Events

Don't see your event here?
Let us know!


podcast version api php7 release application voicesoftheelephpant interview community performance example framework opinion conference symfony2 series introduction library laravel composer

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework