Part of the EllisLab Network
   
 
common auth API for CI
Posted: 25 May 2007 12:25 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  492
Joined  02-21-2007

Considering this very clever idea, we could try to start something now.

What I suggest: a simple wiki page where anybody interested in clean software design and auth libraries could throw his ideas.

I started something, combining posts or emails from benlm and a&w. Please feel free to add your 2 cents or more… or even correct bad ideas if it’s somehow agreed on this thread.

What I wanted to do first is to create a CIforge project (I love Trac), but we’ll do this only if this thread grows too big.

Profile
 
 
Posted: 07 June 2007 04:31 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
RankRank
Total Posts:  124
Joined  04-05-2007

How about we make a core auth system with the ability to have extensions. Then the extensions using some sort of delegates will add their functionality. Such as captcha. And when new extensions come out and need new delegates we can just add them to the main auth lib. This would also mean it can be easily upgraded without breaking. Of course you would have to write your own view files for it and have alot of doc’s for the extensions but that would seperate the tasks out as not just one person could make the extensions.

We could even go as far as making an admin panel to activate or disable these extensions from the app itself. Of course the core would remain on to limit access to the admin. The you could just have an option to turn on or off captcha rather than the reams of config files to edit.

Profile
 
 
Posted: 07 June 2007 10:06 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  277
Joined  02-07-2007

BTW I thought an effective process for handling flashMessages would be to use PHP’s native $_SESSION super-global array…

Profile
 
 
Posted: 07 June 2007 11:32 AM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  20
Joined  04-25-2007

Ok, let me just suggest that there be some abstraction in access the database as not everyone uses mySQL…

I have to use FileMaker(via FX.php) and also authenticate via LDAP. I WISH I could use mySQL for this one project!

Thanks and good luck!

Profile
 
 
Posted: 23 August 2007 03:13 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
RankRankRank
Total Posts:  428
Joined  05-21-2007

you’ll be barely surprise to finish with FAL smile

it’s always just a question of presentation and modulation, that seem pretty hard to keep it simple, but in fact if we take fal as example, , myfal_validation, extend the validation core, the captcha is not just a library etc. etc.

But at the end, when you take time to read, with Auth and FAL, you have pretty whatever needed for a basic/mid Auth and ACL process.

no ?

 Signature 

-> None official irc channel [ irc.freenode.net #codeigniter ]

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 64459 Total Logged-in Users: 21
Total Topics: 80973 Total Anonymous Users: 0
Total Replies: 435719 Total Guests: 183
Total Posts: 516692    
Members ( View Memberlist )