在RIA中编辑数据的最佳设计实践是哪种?(Which is the best design practice for edit data in RIA?)

编程入门 行业动态 更新时间:2024-10-23 01:59:00
在RIA中编辑数据的最佳设计实践是哪种?(Which is the best design practice for edit data in RIA?)

首先,它是一个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!

最满意答案

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

它使用户体验保持一致。 当用户看到带有记录的数据网格时,他们有能力进行编辑,他们知道它会出现在模式弹出窗口中。

它使您可以更好地控制输入表单。 您可以添加验证器,格式化程序,其他弹出窗口等。这也可以使用内联编辑,但它可能更复杂和繁琐。

如果您正在使用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:

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.

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.

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.

更多推荐

本文发布于:2023-08-07 09:39:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1463787.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:哪种   编辑   数据   RIA   data

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!