Malaysia Official Top Blogs - MalaysiaOnTop.com

Articles For You

A Great Friend from Indonesia

I received my first international order from a neighbouring country, Indonesia via daydreymer.com YaY! Since it's her best friend's birthday today, our sender decided to send her a box of cupcakes as [ ... ]


Maximized

Trish and Gerry's birthday dinner at Max, Tengkat Tong Shin. More pics coming up soon... need to recover from my flu to properly blog this! Smile My favourite people together-gether:    Have a happy T [ ... ]


The Nice Mommie

Besides my own momma, I think my sis is a super mom too! She insisted that she would bake a cake and decorate it for her son's 3rd birthday. If I was her, I think I would have just gone to the bakery [ ... ]


More Articles

Please Log-In



JoomlaWatch Stats 1.2.7 by Matej Koval

Countries

19.1%MALAYSIA MALAYSIA
19.1%UNITED STATES UNITED STATES
8.7%AUSTRALIA AUSTRALIA
5.9%UNITED KINGDOM UNITED KINGDOM
3.5%NETHERLANDS NETHERLANDS
2.7%GERMANY GERMANY
2.7%INDIA INDIA
2.6%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: