Malaysia Official Top Blogs - MalaysiaOnTop.com

Articles For You

A June baby

I forsee we'll be having plenty of birthdays this month! We are starting off with Sharon's at Bangsar's La Bodega. It was also great meeting up with some of my ex-colleagues since our last CNY card [ ... ]


New Moon tonight!

You’re not asleep, and you’re not dead. I’m here, and I love you. I have always loved you, and I will always love you. I was thinking of you, seeing your face in my mind, every second that I was [ ... ]


Thailand for the Third Time

Don't jelus... 


More Articles

Please Log-In



JoomlaWatch Stats 1.2.7 by Matej Koval

Countries

19.1%UNITED STATES UNITED STATES
18.9%MALAYSIA MALAYSIA
8.6%AUSTRALIA AUSTRALIA
5.9%UNITED KINGDOM UNITED KINGDOM
3.5%NETHERLANDS NETHERLANDS
2.8%GERMANY GERMANY
2.7%BRAZIL BRAZIL
2.6%INDIA INDIA

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: