Malaysia Official Top Blogs - MalaysiaOnTop.com

Articles For You

Oh no. Is it dead?

I have experienced that feeling of panic and helplessness when my mobile accidentally got wet  (read thrown into the pool). If only I got this forwarded email at that time. I could  [ ... ]


You're Invited!

Peeps, if you have nothing to do this weekend and if you have a couple of million (RM) to spare, head down to the Bukit Jelutong Garden Party. Take advantage of the savings that Sime Darby Property  [ ... ]


A Piece of Serendah

The Barkers have been back for a few weeks now and will leave us for UK this Saturday. It has been a long time since Mils and I had a vacation. The last in Hong Kong 5 years ago. I thought it would be [ ... ]


More Articles

Please Log-In



JoomlaWatch Stats 1.2.7 by Matej Koval

Countries

18.6%UNITED STATES UNITED STATES
16.7%MALAYSIA MALAYSIA
9%AUSTRALIA AUSTRALIA
5%UNITED KINGDOM UNITED KINGDOM
3.9%NETHERLANDS NETHERLANDS
3.7%GERMANY GERMANY
3.4%SPAIN SPAIN
2.8%BRAZIL BRAZIL

User Management for CodeIgniter Print E-mail
Written by Chip   
Monday, 04 January 2010 21:38

CodeIgniter LogoI've been developing many web applications using the CodeIgniter framework for some time now and I find it to be the best suited framework for me thus far. Besides the obvious advantages that's already listed on CodeIgniter's official website, it is its ease-of-use and relatively large following (with many user contributions) that has won me over from other frameworks like symfony.

Being true to my OO programming background, I've always re-used my existing code base built on the CodeIgniter framework version 1.5.x. Recently I have started on a new web application and decided to download the latest version of CodeIgniter (currently 1.7.x). Another "must have" component within my code base is a User Management / Access control library called FreakAuth which I planned on using again. A good user mgmt or access control library saves me alot of time re-writing the basics and it allows me to start customizing right off the bat. As I read through the new changes of the CI framework, I noticed that some functions were deprecated (validation). Much to my disappointment the FreakAuth library has not been updated since 2007 and still uses some deprecated functions. Although it still works and does not break on the new framework, it still bugs me that it is not using the improved functionalities of version 1.7.x.

So I decided to recode the FreakAuth library to run better on the CI framework 1.7.x. I also took the liberty to replace the original captcha function with a new captcha system from recaptcha.net. I am by no means trying to take credit for the entire FreakAuth library as it is already a great piece of code done by those guys on 4webby.com. I merely improved it a little by recoding it to run on version 1.7.x, added a new captcha system and fixed a few minor bugs.

I wish to share this new library with everyone and I hope it will save you as much time as it has for me. Please bear in mind that this work is done based on the exisiting FreakAuth_light v.1.1.

I renamed the library to FreakAuth_recoded in order to avoid its getting mixed up with the original FreakAuth_light. Click here to download.


Digg! Reddit! Del.icio.us! Free and Open Source Software News Google! Facebook! Technorati! StumbleUpon! Mister-Wong! Free Joomla PHP extensions, software, information and tutorials.
 

Add your comment

Your name:
Your email:
Comment (you may use HTML tags here):
  The word for verification. Lowercase letters only with no spaces.
Word verification: