GUI 最佳实践:设计基于 Web 的管理界面时,最好使用详细视图还是使用以值作为主要视图的表单?

发布于 2024-09-16 01:55:02 字数 228 浏览 3 评论 0原文

为了澄清这个问题,想象一下有一个包含客户的分页列表。单击特定客户端时,系统将打开“查看客户端 x”视图以显示客户端详细信息。

现在,这个视图是一个显示客户详细信息的“简单”列表吗?

或者该视图是否是一个带有输入字段的表单,显示客户详细信息并允许立即更改详细信息?

请论证为什么以及何时我们应该使用选项 1 或选项 2。除了只读或读写权限之外,我想不出任何其他情况为什么不使用选项 2 作为标准。

To clarify the question, imagine having a paginated list with clients. When clicked on a specific client the system will open the 'view client x' view in order to show the client details.

Now, will this view be a 'simple' list which displays client details?

Or will this view be a form with input fields showing the client details and also allowing immediate changes to the details?

Please argument why and when we should use option 1 or option 2. Except for read-only or read-write permissions, I cant think of any other case why not to use option 2 as standard.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橪书 2024-09-23 01:55:02

对于用户要输入大量数据的情况,让表包含输入字段是最好的。

对于表中具有输入字段的内容会令人困惑(因为它会失去与其他分组项目的视觉语义相关性),那么它是迄今为止更糟糕的选择。

例如,在网站上编辑用户或文章应该使用另一个页面进行编辑。因为将会有多行输入,例如内容或描述。而每行代表杂货收据或借记/贷记交易上的一个项目的表,那么拥有一个简单的数据输入表是迄今为止最重要的。

因此,这完全取决于您想要实现的目标以及对用例有意义的内容。没有一种方法每次都能获胜,而是一种方法每次都能获胜。

For something where the user will be entering mass data, having the table contain input fields is the best.

For something which having input fields in the table would be confusing (as it would loose visual semantic relevance with the other items grouped) then it is by far a worse option.

For instance, editing a user or a article on a website should use another page to edit. As there are going to be multiline inputs such as content or descriptions. Whereas a table where each row represents a item on a grocery receipt or debit/credit transaction then having a easy data entry table is by far king.

So it all depends on what you are trying to achieve - and what makes sense for the use case. There is no general one way wins every time, but rather one way wins for each time.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文