首页 | 站长免费中心 | 新手上路 | 网站运营 | 网页制作 | 图片设计 | 动画设计 | 网页编程 | 网页特效 | 本站专题 | 虚拟主机 | 域名注册 | 网站建设 | 程序下载
       免费空间资源 | 新闻咨询 | 免费域名 | 免费网盘 | 网站推广 | 网站策划 | 建站经验 | 网站优化 | 网页代码 | 源码下载 | 音乐小偷 | 网络赚钱 | 论坛交流
网站建设
网站建设
虚拟主机
虚拟主机
域名注册
域名注册
711网络首页
站长工具
站长工具
网站源码
网站源码
站长论坛
站长论坛

 711网络 网页制作心得技巧

程序员的用户界面设计技巧

来源: 互联网    日期:2008-12-21 11:10:48
 

Programming is an underappreciated art form. It is there, in the background, invisible to but a few people who usually are looking to fix it, copy it or simply understand it.

A successful human interface can make the most complex functionality work at the click of a button which in turn keeps the code hidden from the end user. Since the UI is the only way programmers can share their craft with most end users they have to come to terms with the fact it is immensely important to them.

Time and time again I’ve come across systems powered by very clever coding be criticized on first impressions because of the lack of proper “skinning”. That reaction is understandable. Indeed, most people shouldn’t have to understand the complexities (sweat and tears even) that go into building that modular 8 page data entry form, or the amount of database retooling developers have to go through every time they say “You know what, we need to store the XYZ and the ABC that goes with it”.

What people do understand is the way the buttons react, the layout of the tools, the clarity of messages. This is the finished product and the only way most users will get to determine whether a system can or cannot help them. The coding and design go hand in hand. When developers say “this is ready to demo” we should make sure that what we show is close to the final this. Developers have to take a step beyond just writing the code and get involved in the process of creating the human interface. Similarly, designers need to work with developers to create standards and guidelines that will bridge the two skill sets hopefully resulting in better applications (and far less arguments).

Being a space shared by developers and designers, Netymology has developed some ground rules that we mostly try to stick to:

Semantic for the people. While coding output templates try to add basic classes to elements. Give them standard names (possibly ones you have agreed with the rest of the team). No need to get too hung up on this, things can be changed but looking through code for something with the class “help” is easier than looking for some obscure code snippet, especially for a designer.

Make all messages in the UI meaningful. In the chaos of a project, small temporary fillers can be overlooked and can be embarrassing to have a customer call you after seeing a tooltip that says “Thing that makes the thingy work” 2 weeks after launching. It doesn’t take a lot more effort to put in “Please enter your phone number”.

Set a glossary of terms to use throughout the application. This will also help when you’re naming variables or database fields and prevent things like “items” and “products” being used to describe the same thing.

Do some usability testing. Obvious? We’re a small shop and don’t have a dedicated UI department, but we try to get as much feedback from people in the team to see if the layout makes sense, even in early barebones states. Sometimes when you’re busy coding, looking at the same screens everyday can make you miss the bleeding obvious like a missing link or logout button.

Make things look nice. Or at least decent. If you can’t get a final design working on time, go minimal with a base CSS. Make fonts and buttons clean (padding goes a long way) and try to put in customer logos whenever appropriate. Use white backgrounds and black and grey sans-serif fonts. Don’t use Comic Sans no matter how appropriate you think it is. Try to add small icons in buttons when you think a page looks bland. You can find a ton of fantastic free icons on FamFamFam or the Tango Project.

Visualise. If possible try to draw out how an application is going to look. Make an HTML mock-up, discuss it with others. Get a whiteboard, doodle, scribble, colour, whatever. In many instances a tangible representation will do a better job than the most detailed chart at spotting a flaw. Cut and paste elements from existing sites which you feel work. Get that image out of your head and share it with others.

Don’t $#^ing swear.$#%ing thing took me all day to do!”). Admittedly, code usually remains obscure but we have all come across instances where a server misconfiguration led to code being displayed instead of the generated page. Funny? Often. Embarrassing? Always. Never put something in a source comment that isn’t meant to be read publicly (this goes for things like “

Truthfully, I break these rules regularly but find that everything works out better when I don’t. If anything, thinking, even on a basic level, about style and design allows you to visualise outcome better which in turn helps the coding process.

While we’re on the subject, we are developing a very basic clean stylesheet for programmers to use while developing web applications. It will define some clean, basic classes for most circumstances such as error messages, forms fields, and buttons. If it’s good enough we might be inclined to release it together with links to free icons and tools. What would you like to see on your clean sheet?



更多的程序员的用户界面设计技巧请到论坛查看: http://BBS.TC711.COM



【 双击滚屏 】 【 评论 】 【 收藏 】 【 打印 】 【 关闭 】 来源: 互联网    日期:2008-12-21 11:10:48   

发 表 评 论
查看评论

  您的大名:
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
认证编码: 刷新验证码
点评内容: 字数0
  精品推荐  
  本月推荐  
  友情赞助  

关于我们 | 联系我们 | 广告投放 | 留言反馈 | 免费程序 | 虚拟主机 | 网站建设 |  网站推广 |  google_sitemap baidu_sitemap RSS订阅
本站所有资源均来自互联网,如有侵犯您的版权或其他问题,请通知管理员,我们会在最短的时间回复您
Copyright © 2005-2015 Tc711.Com All Rights Reserved 版权所有·711网络   蜀ICP备05021915号
110网监备案 信息产业备案 不良信息举报