具有用户管理功能的网站的最佳起点
我即将开始创建一个具有标准用户管理(客户登录和处理(更改客户详细信息等)+我自己的功能)的新网站。我正在寻找最有效的方法来做到这一点。我了解 PHP/CSS/ Jquery 非常好,
我以 Drupal 为起点,发现它对于我的需求来说太麻烦了。 CodeIgniter 和 PHPcake 似乎效率不高,因为我会花时间学习平台而不是开发(我很乐意这样做,但目前不是)。
看来我需要的是一个简单处理用户功能的 PHP 网站的骨架。 令人惊讶的是我找不到一个。
您能否推荐一个起点,例如一个开源网站代码,我可以轻松地从中删除用户管理部分? 或者还有比学习新平台/框架更直接的选择?
I'm about to start creating a new website that has standard user management (customers login and handling (change customer details etc) + my own functionality. I'm looking for the most efficient way to do it. I know PHP/CSS/Jquery quite well.
I have looked into Drupal as a starting point and found it too cumbersome for my needs.
CodeIgniter and PHPcake seems not to be efficient because I'll spend time learning the platform instead of developing (which I would love to do, but not currently).
It seems that what I need is a skeleton of PHP site that simply handles users functionality. Surprisingly I couldn't find one.
Could you recommend a starting point such as an open source website code that I can easily cut the user management part from? Or another option which is more streightforward than learning a new platform/framework?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
老实说,要开始使用像 CodeIgniter 这样的框架,您不需要超过 5 到 15 分钟的学习时间(CI“骨架”非常容易做到)。
是的,它可能有很多工具/帮助器/库,但在大多数情况下,学习曲线非常浅。
至于用户功能,有一些用户制作的库可能会满足您的需求 - 可以在此处找到包含详细功能的综合列表:什么-code-igniter-authentication-library-is-best
To be honest, to get started in a framework like CodeIgniter you shouldn't need more than 5 to 15 minutes of learning time (a CI "skeleton" is extremely easy to do).
Yes, it may have plenty of tools/helpers/libraries but for the most part the learning curve is extremely shallow.
As to the users functionality, there are a couple of user-made libraries that may suit your needs - a comprehensive list with detailed functionality can be found here: what-code-igniter-authentication-library-is-best
老实说,如果您要使用现有的平台之一,您将必须努力学习它的架构,然后适应它以进一步开发。
此外,用户管理很痛苦,但实际上不应该花那么长时间来实施。 如果这就是你想要的,我会说你自己动手,因为这样你就会更加熟悉它。 别人写的任何东西你都必须学习。
Quite honestly, if you are going to use one of the existing platforms out there you are going to have to put the effort in to learning the architecture of it and then adapting to it to further develop on it.
Also, user management is a pain but really shouldn't take you THAT long to implement. If that's all you want, I'd say roll your own because then you are going to be that much more familiar with it. Anything that someone else has written you are going to have to learn about.
如果您想要的只是授权,请从 Pear::Auth 开始。 它可能比您想要的要少一点,但这可能比比您想要的更重的解决方案更可取。
If all you want is authorization, start with Pear::Auth. It's probably a little less than you're looking for, but that may be preferable to a solution that's heavier than you desire.