I'm new to php/mySQL and am trying to create a website which will allow users to register. In future, there will be a paid content area where content will be shown based on the payment status.
Is there a good opensource lightweight framework which takes care of the user management part? (Register, edit user info, retrieve lost password etc). I'm a flash platform developer and not aware of how to take care of stuff like session hijacking, XSS etc.
Should I go ahead and learn to do all this on my own, without using any framework? I thought of using Wordpress' user management system, but not sure how easy that would be. Any suggestion would be great.
check out Drupal
Though I have not used it, CakePHP offers user management and access control list functionality, backed by other helpers that take care of sanitizing input. I'm not sure if an MVC framework is ideal for your needs, though, as it would steepen your learning curve.
I'm sure other answers will recommend 'pluggable' user authentication and ACL classes, which will accrue votes based on how useful other people found them.
I rolled my own a long time ago and tend to use it in lighter MVC frameworks like Code Igniter, or in the absence of any framework at all. As you use ready made classes, you'll naturally and quickly begin developing your own to better suit your needs.
精彩评论