我十分相信尽量简化用户界面,这样更少的选项和更少的控件可以减少混乱。
I'm a great believer in simplifying user interfaces down to the bone, leaving fewer options and fewer controls to reduce confusion.
例如,如果我需要向最终用户提供全世界所有的航空公司(大约650家),没有一种标准HTML控件能够处理这么大的数据量。
For example, if I need to present all of the world's approximately 650 airlines to the end user, none of the standard HTML controls are geared for handling that kind of volume.
我还介绍了如何构建类似于GoogleSuggest的自动完成控件,在用户输入时显示实时更新的建议列表。
I also describe how to build an auto-complete control, similar to Google suggest, that displays a suggestion list that is updated in real time as a user types.
现在我准备模拟用户在文本框控件中键入一种颜色,并从Combobox控件选择一种颜色。
Now I'm ready to simulate a user typing a color into the textbox control and selecting a color from the combobox control.
Swing窗口小控件的行为不象其本机同类,而且,在我的经验中,这会使用户感到困惑。
Swing widgets do not behave like their native counterparts, and, in my experience, this confuses users.
NET用户控件。但后来我意识到,没有选项。
NET user control. But then I realized that no options for moving, closing etc.
首先,我将谈谈用户控件示例代码。
我需要一个圆形的滑块控件来让用户输入一个角度。
Round slider control - I needed a round slider control to let my users enter an Angle.
(例如,考虑一下,设计1风格中的测试套件:要确保所有用户界面控件在更改后的测试中被涉及是一件多么困难的事情?)长期以来,这导致了我称为“测试套件变质”的问题,完整的测试套件仍旧在运行,但什么也测试不了。
Will the tester even know that's a goal of the suite?) Over time, this leads to what I call "test suite decay, " in which a suite full of tests runs but no longer tests much of anything at all.
(例如,考虑一下,设计1风格中的测试套件:要确保所有用户界面控件在更改后的测试中被涉及是一件多么困难的事情?)长期以来,这导致了我称为“测试套件变质”的问题,完整的测试套件仍旧在运行,但什么也测试不了。
Will the tester even know that's a goal of the suite?) Over time, this leads to what I call "test suite decay, " in which a suite full of tests runs but no longer tests much of anything at all.
应用推荐