{"id":183413,"date":"2009-02-12T14:51:57","date_gmt":"2009-02-12T14:51:57","guid":{"rendered":"https:\/\/staging.rm.gfolkdev.net\/?p=183413"},"modified":"2022-09-27T17:17:27","modified_gmt":"2022-09-27T17:17:27","slug":"future-practice-interview-bill-scott","status":"publish","type":"post","link":"https:\/\/rosenfeldmedia.com\/future-practice-interview-bill-scott\/","title":{"rendered":"Future Practice Interview: Bill Scott"},"content":{"rendered":"
As part of our Future Practice webinar series<\/a>, we’re interviewing presenters to give you a preview of what they’ll cover. Next up is O’Reilly author and Netflix Director of UI Engineering Bill Scott<\/strong> on the topic of interface engineering.<\/em><\/p>\n <\/p>\n His webinar Bringing Design to Life: What Every Designer Should Know about Interface Engineering took place on February 26, 2009<\/strong> (7 minute preview here). Use code RMWBNR<\/strong> for a 20% discount off your purchase of the recording<\/a>.<\/em><\/p>\n<\/div>\n Lou Rosenfeld:<\/strong> Bill, what are some of the biggest disconnects between design and engineering?<\/p>\n Bill Scott:<\/strong> This depends on the role that design and interface engineering play within an organization. Sometimes the designer’s final product is an interface specification that might include wireframes, mockups, interface diagrams, and so on, with the engineers producing the HTML, CSS and other interface code. In other organizations designers actually produce HTML and CSS, and the engineers take this code and carve it up to work with various user interface technologies (like JSP\/ASP\/PHP\/Rails). Regardless of the actual split, there is a natural disconnect in the actual “product” that each team is responsible for.<\/cite><\/p>\n Design teams feel finished when they have produced a comp and the necessary graphical assets (or HTML\/CSS). But the interface engineering team is just starting their work. The trick is to get interface engineers involved much earlier in the process (through design reviews and prototyping) and to get designers to stay engaged throughout the full production cycle (by understanding what issues arise from their designs and by setting their goal to be the full delivery of the experience.) Engineers are production focused. Designers are often ideation focused.<\/p>\n Lou Rosenfeld:<\/strong> Don’t many of the problems come down to the lack of a shared vocabulary?<\/p>\n Bill Scott:<\/strong> Absolutely; a recent round table discussion at Netflix brought that to light. The terms “component,” “simplified visual framework,” and “lockups” were discussed and very quickly we realized that engineering had a different definition for components and visual framework, and had no clue what the design team meant by lockups. The term lockup comes from advertising and was used to describe the movie box shot, movie title, add buttons and the star rating. Component had a much more rigid meaning for engineers as an interface control that could be packaged as a reusable software module (like a carousel control). Designers thought of this as being modules on the page (titles, header, footer) as well as the carousel control. The “Simplified Visual Framework” is a term we use to describe the system of grids, tempates and common site elements on the design side and on the engineering side to include proper semantic markup, unobtrusive JavaScript as well as the Struts2\/Tiles2 page generation frameworks. In fact, despite 6 months of having this common terminology and numerous presentations there are still occassional disconnects that arise between the teams over just what the other means by this terminology.<\/p>\n Lou Rosenfeld:<\/strong> How do you get team members to start speaking the same language?<\/p>\n Bill Scott:<\/strong> Constant communication between the teams. What also works is adopting a common language to describe interactions. The use of design patterns is a powerful way to disseminate common thinking and approaches to common problems. I have been pleasantly surprised when language that design and engineering use to describe certain bad approaches (anti-patterns) gets in-grained even in our product managers vocabulary as well.<\/p>\n Lou Rosenfeld:<\/strong> What do engineers wish designers understood?<\/p>\n Bill Scott:<\/strong> I spent a good deal of time thinking about this question when preparing this talk. In fact I pinged a number of people I highly respect in both design and engineering. After listening to hundreds of comments and reflecting on my own experience I boiled it down to five simple ideas that developers wish designers understood.<\/p>\n Lou Rosenfeld:<\/strong> Give an example of something that is surprisingly difficult for user interface engineers to produce that designers would think should be easy.<\/p>\n Bill Scott:<\/strong> Almost anything on Internet Explorer 6 \ud83d\ude42 I joke, but any engineer worth his salt will have a list of things they hate about IE6. But more generally the DOM (document object model) was designed for documents\u2014not application development. So engineers are always “working against the flow”. The browser rendering engine is geared first and foremost to layout text and images, all the while marching down the page in a vertical flow. User interface layout is about modules with equalized height or items aligned vertically or items placed in a grid or side by side. Understanding this one fact that we are trying to do interface layout in a document rendering engine goes a long way to understanding why some things that should be easy turn out not to be trivial. Especially in light of making it work on IE6, IE7, Safari, Firefox, Opera and Chrome.<\/p>\n One example is vertically aligning interface elements. Now it is trivial to vertically align “inline” elements like spans of characters, etc. But attributes like “vertical-align” don’t work with “block” elements (e.g., divs). And if you aren’t resorting to the brittle technique of trying to force height on everything, you will find it to be particularly challenging. One solution is using display:inline-block. It allows block elements to be treated like inline elements. But alas this doesn’t exist for Firefox 2 (although a Mozilla proprietery property that sort of works like it does). And for IE it only works on elements that are naturally inline! So one has to trick IE into thinking the block element is inline and then set it to inline-block. And one has to trigger an internal IE flag for “hasLayout” to get the magic working completely. So yes it is possible. With the correct magic CSS formula (and for FF2 a little extra markup) you can get block elements to vertically align along an axis! Now if that sounds painful, imagine dozens of other seemingly simple tasks that require numerous hoops to make it work across browsers and you will begin to appreciate how frustrating this is for talented developers to spend their time figuring out.<\/p>\n Lou Rosenfeld:<\/strong> Bill, it does sound frustrating, but it’s good to know that problems like these might be alleviated when engineers and designers can talk and, ultimately, understand and value each other’s contributions. I know that both your webinar<\/a> and your forthcoming book<\/a> will get us one step closer to that happy outcome; thanks for sharing your wisdom!<\/p>\n\n