简体   繁体   English

登录,会话,用户管理,日志记录模块

[英]Modules for Login, Session, User Management, Logging

I am starting a web service which requires user logging in with Gmail/Facebook/Own or signing up and then cookies being setup so that the user can keep communicating with the server via sessions. 我正在启动一项Web服务,该服务要求用户使用Gmail / Facebook / Own登录或注册,然后设置Cookie,以便用户可以继续通过会话与服务器通信。 Is there a readymade module available either in PhP/Node.js which can take care of these routine things which every website requires ? PhP / Node.js中是否有可用的现成模块,可以处理每个网站需要的这些日常工作? If this what would be called a middleware or framework what are the popular middleware/framework for such routine things 如果这就是所谓的中间件或框架,那么对于此类常规事物而言,流行的中间件/框架是什么?

The framework should take care of all aspects like storing user details in Database, send forgot password emails, user session management, user activity analytics, etc ... 该框架应注意所有方面,例如将用户详细信息存储在数据库中,发送忘记密码的电子邮件,用户会话管理,用户活动分析等。

With these taken care of by readymade modules/framework/middleware I can concentrate on core functionality 通过现成的模块/框架/中间件解决这些问题,我可以专注于核心功能

Connect and express (which is based on connect) are popular node.js modules which offers web framework functionality. 连接表达 (基于连接)是流行的node.js模块,提供网络框架功能。 Connect has more lower level APIs whereas express include view engine and higher level abstraction. Connect具有更多较低级别的API,而Express包括视图引擎和较高级别的抽象。 Both also support database (apart from memory) backed session storage. 两者都支持数据库(除了内存)支持的会话存储。

尝试RPX

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM