I'm looking for a framework I can use in my new webproject.
The main concern for me is handling my users, therefore I'm on the lookout for a framwork that can handle them for me. I develop in PHP, so preferably that's the language it should use.
I would like the framework to take care of new users signing up and I would also like it to handle the sessions and authentication process.
What kind of options do I have, and what do people recommend?
If you don't want a full CMS, the Zend Framework is excellent for drop-in components.
You would be most interested in the Zend_Acl, Zend_Auth, and Zend_Session components.
I hope this is what you're looking for.
Is this a project that you could use Drupal for? I've always been impressed with the way that the Drupal framework handles user management/privileges, etc... Of course, it's php based, so you should feel right at home ;)
I don't know if you need a full-fledged CMS, but it may do the trick.
if the only thing you want to do is user management then you may use some libraries ( classes ) instead of full framework, because there is nothing ( as far as I know ) called framework for user management only.. I'm working now to make a framework called aiki, and it's gpl, so here is the class I wrote for user management it may help you
and here is a simple sql dump for that
now all you need is to add the db and create users inside it remember that you will have to md5 the password twice, like:
and to use this class: build a form then
$membership = new membership();
Login: $membership->login($_POST['username'], $_POST['password']);
and you can build groups inside the groups table then
$membership->getUserPermissions($username);
then you can do thing based on the returned $membership->permissions value like :
switch ($membership->permissions){
}