我应该为我的网站管理员创建一个单独的应用程序吗?
最好在网站内配置权限以进行管理访问、单独的网页或完全独立的应用程序来管理网站上的更改吗?
IS it best to configure permissions within a website for Administration access, separate webPages, or a completely separate application to administer changes on the site?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我通常在同一个网站内配置权限,并有单独的网页进行管理。
在某些情况下,在同一页面上包含更多控件也很有用,例如,如果您想要一个页面来批准/拒绝评论或类似的内容,则无需创建单独的界面,只需添加一些按钮即可登录用户的角色。
I usually configure permissions within the same website and have separate web pages for administration.
In some cases, having the same page with more controls can be useful as well, for instance, if you want a page to Approve/Reject comments, or something like that, instead of creating a separate interface you just add a few buttons depending on the role of the logged in user.
我经常发现,以“最好吗”开头的问题通常涉及某人和某个时间(一种实用主义类型的思维 - 谁以及在什么背景下)
不同的背景将为每个场景提供不同的优点和缺点您在此处介绍的内容以及谁需要什么功能也可能会影响您的选择。
关于“谁”部分,您可能会问自己有关您正在经历的过程的其他问题。 是我的用户需要管理员访问权限吗?是我的开发团队吗?是缺乏 IT 经验的总经理吗?等等。
有关所使用的媒介的问题也可能会影响您的决策。 “管理员”人员是否会使用 PC,销售代表是否会在路上使用可能适合其自己的软件应用程序的掌上电脑等?
I often find that with questions starting "Is it best to" that there's usually a someone and a sometime involved (a kind of pragmatics type thinking - whome and in what context)
Different contexts will offer up different pro's and con's for each of the scenarios you've presented here and depending on who requires what functionality may also sway your choice.
With regard to the "who" part there may be other questions you'll be asking yourself about the process you're going through. Is it my users that require admin access, is it my development team, is it the managing director with little I.T. experience etc etc.
Questions about the medium used may also play a role in the decision you make. Are the "admin" people going to be on a PC, sales reps on-the-road using a palmtop which might suit it's own software application etc.