构建图形用户界面的规则
我喜欢服务和数据库层的后端编程。主要是因为我永远无法弄清楚如何构建像样的用户界面。我说的是 GWT 和 Swing。
是否有类似网站的网站,其中包含有关如何构建漂亮直观的 UI 的示例和良好规则可供遵循?
对我来说最大的痛苦是选择布局策略
,所以如果你能主要解决这个问题,那将会非常有帮助。
I like the back-end programming in service and database layers. Mainly because I was never able to figure out how to build decent user interface. I'm talking about GWT and Swing.
Is there something like a site with examples and good rules to follow on how to build nice intuitive UI?
The biggest pain for me is selecting the layout strategy
so if you could address mainly that, it would be really helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果团队中没有 UI/可用性专家,那么请尝试实现最低限度 - 让用户界面按预期运行,没有错误。有几种方法,我最喜欢的是使用 Martin Fowler 引入的演示模型。
将 UI 的所有状态保存在 POJO 中。这种解耦将使您能够测试 UI 逻辑,而无需显示 UI 本身。
你可能会因为用户界面的外观和感觉而受到批评,但功能将会执行得非常好。
If there's no UI/usability expert in the team then try to achieve the bare minimum - having the user interface behaving as expected without bugs. There are few approaches and my favorite is using the Presentation Model introduced by Martin Fowler.
Keep all the state of the UI in a POJO. This decoupling will enable you to have the UI logic testable without need of displaying the UI itself.
You are going to be criticized for the look and feel of the UI but the functions are going to be executed extremely well.
你可以研究一下人机交互原理,它们会很有帮助。关于这个问题,我推荐的一本非常好的书是史蒂文·海姆博士的《共振界面》。
You can look into HCI principles, they'll be VERY helpful. A really good book I recommend on the matter is "The Resonant Interface" by Dr. Steven Heim.
就“布局策略”而言。我的黄金法则是“当 嵌套布局是最好的选择”。
As far as 'layout strategies' go. My golden rule is "don't spend time figuring which one layout will suit a UI, when a nested layout is the best option".