在 RIA 中编辑数据的最佳设计实践是什么?

发布于 2024-10-19 11:51:22 字数 296 浏览 6 评论 0原文

首先是一道UI设计问题!

在 RIA(例如 Flex 或 Silverlight)中编辑数据的最佳设计实践是什么?

我想显示客户的详细信息,但会有一个编辑窗口,客户的数据将是可编辑的。

我想展示一个可以编辑数据的新表单。展示这种形式的最简单方法是什么?我可以让我的 ui 选项卡式,这样我就可以在新选项卡中打开表单,或者可以在弹出/模式对话框中打开表单(保存-取消)。也许我可以在行编辑中使用。

Silverlight 或 Flex GUI 中最用户友好的解决方案是什么?你的意见是什么?

谢谢!

First of all it is a UI design question!

Which is the best design practice for edit data in RIA, for example in Flex or Silverlight?

I would like to show customer's details, but there will be an edit window, than the datas of customer will be editable.

I would like to show a new form where the data can be edited. What is the simplest way to show this form. I can make my ui tabbed, so I can open the form in a new tab, or I can open the form in a popup/modal dialog (Save-cancel). Maybe I can use in line editing.

What is the most user friendly solution in a Silverlight or Flex GUI? What is your opinion?

Thanks!

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

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

发布评论

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

评论(3

北城挽邺 2024-10-26 11:51:22

创建多个基于 Flex 的应用程序后,我个人更喜欢在模式弹出窗口中进行所有记录编辑,而不管记录大小如何,原因如下:

  1. 它可以保持用户体验一致。当用户看到包含他们可以编辑的记录的数据网格时,他们知道它将出现在模式弹出窗口中。

  2. 它使您可以更好地控制输入表单。您可以添加验证器、格式化程序、其他弹出窗口等。这也可以通过内联编辑实现,但可能会更加复杂和麻烦。

  3. 如果您使用 Mate 或 Cairngorm 或其他一些 MVC 框架,它允许您根据需要更加轻松和灵活地调度自定义事件并处理编辑的记录。

After creating several Flex based apps, I personally prefer to do all record editing in a modal popup regardless of the record size for a few reasons:

  1. It keeps the user experience consistent. When a user sees a datagrid with records they have the ability to edit, they know it's going to come up in a modal pop up.

  2. It gives you more control over the input form. You can add validators, formatters, other popups, etc. This is also possible with inline editing, but it can be more complicated and cumbersome.

  3. If you're using Mate or Cairngorm or some other MVC framework, it allows you to dispatch your custom events and handle the edited record however you need to with greater ease and flexibility.

傲鸠 2024-10-26 11:51:22

我是一名flex开发人员,所以在这种情况下我当然会使用flex,我不知道abt silverslight,在flex中你可以很容易地做到这一点,创建一个编辑按钮,然后单击该按钮,打开类似(flex中的模态窗口,它是一个容器),在这里你可以创建一个表单,并收集这个窗口中的所有数据,你想在主页中反映这些数据,我们还有[Bindable]东西,所以你还可以使两件事可反映,就像您一直在编辑一样,因此这些更改可以并排反映在您的主页上,

所以我想说 Flex 有能力(我的观点):-), (silverlight 可能会很好我也不知道)

有一个 gr8 时间

Ankur

I am a flex developer, so in this case i'd have used flex ofcourse, i don't know abt silverslight, in flex u can do this very easly, make an edit button, and then on the click of that button, open something like (modal window in flex, it's a container), in this you can create a form, and collect all the data in this window, which u want to reflect in the main page, we also have [Bindable] things, so you can also make two things refelctable, like if u have been editing , so those changes can b reflected side by side on your main page,

so i'd say Flex has the power(my opinion):-), (silverlight may b gud too, i don't know)

hav a gr8 time

Ankur

所有深爱都是秘密 2024-10-26 11:51:22

我们主要从内联编辑开始。当然,这意味着您的字段很少,而且它们是数字/文本/组合。任何更复杂的内容都最好在对话框中提供。

然而,我们现在只使用对话框,因为它们更干净,而且我们发现它对于普通用户来说更方便。高级用户总是更喜欢内联编辑,但他们只是少数。

所以这取决于您的数据、用户和更改/添加的频率。

We started with mostly inline editing. Of course it means that you have few fields and they are numeric/text/combo. Anything more complex is better served in a dialog.

However we now using only dialogs, since they are cleaner and we found it more convenient for regular users. Power users will always prefer inline editing but they are a minority.

So it depends on your data, users and frequency of changes/additions.

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