开发者

php based membership framework [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, refere开发者_如何学Pythonnces, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

I have seen a few things that look like part of what I want, but I don't feel like I have found the right thing. I am looking for a php based membership library/framework. It should do the following:

  • Allow members to join through a web form
  • Allow members to login and see secured pages
  • Lightweight library
  • No CMS module necessary

I have written these scripts in the past, but I feel like writing one from scratch right now is sort of like reinventing the wheel.


Perhaps Dingos':

  • User Authentication Library and
  • ACL Library

EDIT: Or the Flourish fAuthorization class.


I would suggest CodeIgniter (CI, free but you'll have to roll your own signup/authentication setup) or Expression Engine (EE) if you want to pay for it.

The reason I suggest CodeIgniter is that, unless you literally want something very simple, CI gives you a complete codebase to build on, and EE gives you a specific implementation almost exactly like what you seem to be suggesting you want. EE is built on CI.

Although it appears as if there are some CI authentication plugins available.


Framework

Just use any framework you like. I would probably advice you to use Codeigniter, because it is the framework which is not like most other frameworks which make your site slow as hell because they do to much work. You have to remember that PHP is a scripting language which can't do optimizations with a compiler. I advice you to read these articles:

  • http://www.sitepoint.com/rasmus-lerdorf-php-frameworks-think-again/
  • http://paul-m-jones.com/archives/421

Authentication(Membership).

just use openID to do authentication. LightOpenID is very simple library. I would advice you to read Jeff's (Stackoverflow author) post on his blog.


take a look at symfony. http://symfony.com/doc/current/book/security.html

are you already using any framework?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜