<p>The rich presentational capabilities of WPF and Silverlight mean developers like me will be working closely with graphic designers more often these days, as is the case in my next project.  </p>

<p>Does anyone out there have any tips and experience (from both points of view) on making this go more smoothly?  </p>

<p>For example, when I mentioned source control to a designer recently, I was quickly told you can't source control graphics, images etc, so it is a waste of time.  So I responded: ok but, what about XAML files in WPF/Silverlight?   </p>

<p>Scott Hanselman spoke about this topic in a <a href="http://www.hanselminutes.com/default.aspx?showID=138" rel="noreferrer">podcast</a>, but he focused more on the tools, while I'm more interested in the communication issues/aspects.</p>

[{'answer_id': 51642, 'author': 'hasseg', 'author_id': 4111, 'author_profile': 'https://Stackoverflow.com/users/4111', 'pm_score': 3, 'selected': False, 'text': "<p>This may be a bit off topic (I'm replying specifically to your question about source control and graphics), but you <em>can</em> put binary data (images etc.) into source control (and in my opinion in a lot of cases should) -- they just take up more disk space and you can't use a diff view to analyze what has changed in any meaningful way, but what you do gain is a history of commit messages documenting each revision, rollback ability and the ability to easily archive (<em>tagging a revision</em> in SVN terms) all files (be they visual assets, documentation, source code, whatever) belonging to a specific release/version together. It's also easier for your build system to just fetch everything required for building a specific version of your software from the source control.</p>\n"}, {'answer_id': 51651, 'author': 'Ed Guiness', 'author_id': 4200, 'author_profile': 'https://Stackoverflow.com/users/4200', 'pm_score': 3, 'selected': False, 'text': '<p>Involve the graphic designer in early design and architecture sessions.</p>\n\n<p>You want to involve them to reveal misaligned assumptions and to establish a pattern of working together rather than throwing things back and forth over the wall.</p>\n'}, {'answer_id': 51659, 'author': 'David McLaughlin', 'author_id': 3404, 'author_profile': 'https://Stackoverflow.com/users/3404', 'pm_score': 5, 'selected': True, 'text': "<p>I have spent 4 months on a project working extremely closely with a designer and he has still not picked up the basic idea of CVS (which is not my choice of source control system). I'm talking template files, JavaScript and CSS here. He's not stupid, it's just one of these things that makes his job harder so he resists fully commiting himself to it.</p>\n\n<p>In my case I had to really hammer home the point that almost all of my JavaScript depended on the mark-up and when he changed his pure CSS, DIV-based layout into a table-based one without telling me then all my JS is going to break.</p>\n\n<p>Often during the course of the project myself and the designer, who I get on with quite well and play soccer with outside of work, had very heated exchanges about our respective responsibilities. If I didn't know him well enough to just get past these exchanges then I think it would have created an unbearable working environment. So I think it's important you establish between you both and with some sort of manager or project supervisor exactly what is expected of both parties during the project. </p>\n\n<p>In my case there have been very few problems lately, because the situation with CVS has been sorted out as well as the idea that he can't just go and change the mark-up whenever he feels like it. Rather than try and create template files and work on them directly, the designer only works on static files and its my responsibility to plug them into my template files.</p>\n\n<p>It's all about communication and a little bit of compromise on both sides.</p>\n"}, {'answer_id': 51669, 'author': 'DaveK', 'author_id': 4244, 'author_profile': 'https://Stackoverflow.com/users/4244', 'pm_score': 0, 'selected': False, 'text': '<p>Quite frankly you should tell the designer that images can, should and "will be put in source control mister!" :)  </p>\n\n<p>It may be slightly non-conventional and you wont be able to do a merge or anything of that nature, but there will be revisions and a history, etc .. Images can also be embedded in a resource file which goes into source control as well. </p>\n\n<p>XAML can (and should) be put in source control and as its a markup file it will benefit from all of the features. </p>\n\n<p>As far as tips from working with a designer, the one you are working with scares the heck outta me just by that comment alone, so it may all boil down to WHO you are working with. I would explain basic best practices in a nice manner and proceed from there.</p>\n'}, {'answer_id': 52991, 'author': 'Jonas Follesø', 'author_id': 1199387, 'author_profile': 'https://Stackoverflow.com/users/1199387', 'pm_score': 5, 'selected': False, 'text': '<p>One of the things I\'ve discovered is that how you as a developer design your code greatly affects what the designer can do with it. Often you download a Silverlight or WPF sample application from the web and open it up in Blend, just to have Blend crash on you because the code doesn\'t run well inside the designer. If it doesn\'t crash, it seldom look anything like the running application.</p>\n\n<p>I recently gave a talk at Tech Ed Australia and New Zealand about techniques you can apply to "design for designability". A short bulled list is included:</p>\n\n<ol>\n<li><p>Write code that can take advantage of data binding. The Model-View-ViewModel or the presentation pattern is a good fit for this.</p></li>\n<li><p>Supply "design time" stubs for your service dependencies. If the class you are binding against makes web service calls be sure to replace the web service client with a stub class that returns "dummy data" that the designer consumes inside blend. This can easily be done through IoC and Dependency Injection, injecting one implementation if HtmlPage.IsEnabled == false.</p></li>\n<li><p>By using data binding you can limit the number of "named elements" you have in your XAML file. If you write allot of code behind you end up coupling your C# code against named elements such as txtName or txtAddress, making it easy for the designer to "screw up".</p></li>\n<li><p>Use a command pattern instead of code behind click event handlers. By loosely couple the invoker of an event from the handler you can have less named elements, and you give the designer the freedom to choose between a Button or a Menu Item to invoke a specific command.</p></li>\n<li><p>Test your code in Blend! Even if you consider your self a pure developer you should test that your code is consumable by a tool, and strive to get a best possible experience at design time. Some would argue that a tool shouldn\'t effect your software design, just as some one complains about "design for testability", and making software design decisions just to make the code more testable. I think it\'s a smart thing to do, and the only way you can get some real designer-developer work flow going.</p></li>\n</ol>\n\n<p>Other tips would be to start small. If your designer is new to XAML, WPF and Silverlight, start by introducing them to the project team, and have them do some basic designs in the tools they know. Let them do some buttons and illustrations in Adobe Illustrator, and export it to XAML, and show them how you can leverage their design assets directly. Continue by introducing more and more, and hopefully they get interested and want to make the switch to Blend. It\'s quite a learning curve, but it sure is worth it!</p>\n\n<p>Good luck!</p>\n\n<p>PS: I have written allot about patterns and making designer friendly code on my blog at <a href="http://jonas.follesoe.no" rel="noreferrer">http://jonas.follesoe.no</a>. You can also find links to a video recording of my Tech Ed talk, as well as lots of links to further reading on the topic.</p>\n'}, {'answer_id': 69922, 'author': 'AndyL', 'author_id': 9944, 'author_profile': 'https://Stackoverflow.com/users/9944', 'pm_score': 3, 'selected': False, 'text': '<p>Originally, it was envisioned that professional designers would work in Expression Blend, and developers would work in Visual Studio, making changes to a single shared set of source files. While it is certainly possible to do that (so long as you are careful to check regularly that you haven\'t broken something expected by the other dev. or design tool), many members of the developer community, including some inside Microsoft, have discovered benefits in keeping Blend and Visual Studio project activity SEPARATE -- even to the point of manually cutting and pasting carefully-refactored versions of Blend-generated Xaml into the "official" VStudio project source, rather than allowing designers and developers operate directly on a single shared code base. Microsoft\'s User Experience Team in the UK published a video describing the problems they ran into trying to coordinate designer and developer efforts on actual projects.</p>\n\n<p><a href="http://channel9.msdn.com/posts/Charles/Real-World-WPF--Designers-and-Developers-working-together/" rel="nofollow noreferrer">Real_World_WPF_DesignersAndDevelopersWorkingTogether</a></p>\n\n<p>One of the main lessons learned is that you can\'t staff a project with designers and developers who are completely ignorant of each other\'s domains.  Developers need to be familiar enough with Blend that they can provide designers with useful UI shells for the designer to decorate, and useful data "stubs" the designer can design interactivity against, and the designer needs to have enough understanding of development issues that they don\'t do things like delete controls and replace them with custom visual elements - not realizing that they broke all the functionality tied to the original control.</p>\n'}, {'answer_id': 162846, 'author': 'cplotts', 'author_id': 22294, 'author_profile': 'https://Stackoverflow.com/users/22294', 'pm_score': 2, 'selected': False, 'text': '<p>I\'m a big believer in the Integrator approach which is really the role I have had to perform to make our WPF efforts successful.</p>\n<p>Laurent Bugnion has a <a href="https://web.archive.org/web/20210118073001/http://geekswithblogs.net/lbugnion/archive/2007/05/13/WPF-The-integrator.aspx" rel="nofollow noreferrer">post</a> on this that describes what I\'m talking about. <a href="https://nerdplusart.com/" rel="nofollow noreferrer">Robby Ingebretsen</a> is also a big believer in this approach.</p>\n<p>But basically, someone has to cover the \'gap\' that exists between the developer world and designer world. What usually happens is that this person comes from either the developer world or the designer world. If they come from the developer world, then they are probably a developer with designer tendencies (they\'re responsible for look and feel, the visuals in the application, the layout of the screens, etc.). If they come from the designer world, then they aren\'t afraid of code and the enjoy diving down every now and then to code to get that animation or whatever sparkling.</p>\n<p>However, regardless of what world they come from, they usually have to build skills that they never have had before. In my case, I am developer that loves the user interface layer and therefore I would say that I am a developer with designer tendencies. In order to cover that gap and have productive conversations with our graphics designer, I have had to pick up a whole bunch of designer type skills like: learning to use Expression Design, XAM 3D, etc.</p>\n<p>Shannon Braun recently gave a presentation at a local developer conference about the developer/designer relationship and the workflows that the community is discovering works for them. I didn\'t attend the conference, but I thought his <a href="http://www.sysknowlogy.com/2008/09/09/UI+Designer+And+Developer+Workflow.aspx" rel="nofollow noreferrer">slides</a> were a great discussion on the matter.</p>\n'}, {'answer_id': 533597, 'author': 'helifreak', 'author_id': 52565, 'author_profile': 'https://Stackoverflow.com/users/52565', 'pm_score': 2, 'selected': False, 'text': "<p>Microsoft's vision of the designer/developer workflow marriage definitely seems to break down in real life. I have experience working on a fairly large scale WPF project which involved 2 dedicated design resources for about 4 months. Here are some facts that Microsoft seems to often forget.</p>\n\n<ul>\n<li>Designers often prefer to use Macs (designers at my company are 100% Mac - 0% Windows)</li>\n<li>Blend doesn't run on a Mac (as far as VM solutions - designers typically don't like geeky solutions like running weird applications in a foreign OS).</li>\n<li>Designers use their tools of the trade - Photoshop and Illustrator. Period.</li>\n<li>The aggressiveness of today's schedules usually don't provide ample time for designers to learn a totally new application / design environment (like Blend).</li>\n</ul>\n\n<p>So given the above, what I noticed was that this creates a new job type - either a very techy designer or a graphically enlightened programmer. Basically, someone who can take the design assets in raw form - usually .psd or illustrator format and apply these as needed to the application process.</p>\n\n<p>I turned out to be that guy (graphically enlightened programmer). I spent a lot of time exporting XAML from Illustrator files, cleaning them up by hand when necessary, and making these assets easily usable display objects in Blend or VS. There were also times where I would take a a design element and re-draw it using blend ( usually when  the original asset was bitmap based and it made more sense to convert it to vector).</p>\n\n<p>My application may not have been typical - as it was extremely graphically rich and resolution independence was one of the main objectives as it needed to look good on multiple resolutions and aspect ratios (think of the difficulties in designing for TV in todays landscape - things have to look good in both low-res SD and scale well up to hi-res  HD).</p>\n\n<p>In summary, I think WPF is an awesome technology and absolutely a step in the right direction for Microsoft. It however is not the end-all be-all solution for integrating the designer in the development process - unless you redefine the role of designer.</p>\n"}, {'answer_id': 730888, 'author': 'Brent Schooley', 'author_id': 51746, 'author_profile': 'https://Stackoverflow.com/users/51746', 'pm_score': 1, 'selected': False, 'text': '<p>In my experience, the integrator or "devsigner" role really needs to be involved in this process unless everyone on the (small) team are able to perform this role.  This is a very rare circumstance.  Usually you will find that developers are very good at developing but aren\'t so great with design/usability and designers are great with aesthetics/usability but don\'t want to or are not educated enough to code.  Having someone that can crossover into both worlds and "speak the language" is very important.</p>\n\n<p>The integrator needs to coordinate the controls that are being developed with the design assets that are being created by the designers.  In our current project, we have 6 active developers and 2 designers from an outside shop.  I am the integrator for this project and I spend most of my day in Expression Blend.  The developers work primarily in VS creating controls that meet our product spec and the design shop is designing what the end product will look like.  The designers are working in Illustrator.  My job is to take the Illustrator files and create control styles from them and then apply them to the controls developed by our development team.  As we move towards Blend 3 with native support for PSD and AI files, this task becomes much easier.</p>\n\n<p>It is very helpful to create the "look" for your application in a separate solution from the main trunk of the application and then merge your ResourceDictionaries into the main app later.  You can get the look and feel correct without getting too caught up in what could still be incomplete controls.</p>\n'}, {'answer_id': 2109210, 'author': 'ThomPete', 'author_id': 247196, 'author_profile': 'https://Stackoverflow.com/users/247196', 'pm_score': 1, 'selected': False, 'text': "<p>I am going to assume that you refer to RIA projects since your mention of SL.</p>\n\n<p>I have worked one quite a few RIA projects with Adobe designing and developing applications and services.</p>\n\n<p>The best advice I can give you based on based on my 14 years experience as an UX and Visual designer with some programming experience although pathetic compared to you guys.</p>\n\n<p><strong>Accept that you wont understand each other.</strong></p>\n\n<p>The programmer thinks in <strong>what</strong> functionality should be done, the designer think in <strong>how</strong> the functionality should behave. </p>\n\n<p>For the developer a button is mostly generic, for the designer it's not the case. Designers think in composition, developers think in frameworks.</p>\n\n<p>So learn to understand that your responsibility is different. </p>\n\n<p>You the developer DO need to think about how generic your code is and can't afford to treat everything as being unique and a hardcoded composition. That is unless you can automate that uniqueness somehow.</p>\n\n<p>The designer DO need to think about the application or service as somehow unique. It might mean that a button is not a button. There might be different sizes or colors or other annoyances.</p>\n\n<p>So make sure you develop a good relationship with the designer by acknowledging that you understand the designers responsibility and make sure he understands yours. </p>\n\n<p>It's not that you are not interested in making the best application in the world. It's just that some of these design decisions takes quite a lot of time.</p>\n\n<p>Make sure that you get very clear on how the designer should deliver to you so you don't waste his or your own time. What format, assets? Naming?</p>\n\n<p>All things that are involved in delivery from one paradigme to another.</p>\n\n<p>And most importantly communicate and respect that they don't know how to do JavaScript or how understand the basic ideas of CVS. </p>\n\n<p>Most developers you wouldn't know how to kern to save their life, what a widow is, how to best layer FireWorks or create a photo-realistic icon, come up with a good tagline or make something understandable to average Joe in 4 words. You don't know what a grid or alignment is and you tend to make things green and purple on black.</p>\n\n<p>And the designer should understand that just because you deal with programming does not mean you are a robot, that you can't have creative ideas and solutions. He should also try to learn how to program at least pseudo program so that he understands what's involved in making your project.</p>\n\n<p>And most importantly. Don't start to debate Mac vs. PC :) Projects have been canceled because of this.</p>\n"}, {'answer_id': 2282555, 'author': 'felixthehat', 'author_id': 30727, 'author_profile': 'https://Stackoverflow.com/users/30727', 'pm_score': 2, 'selected': False, 'text': '<p>I\'m Felix Corke, the designer from the hanselman podcast you mentioned, so here are a couple of points from a genuine creative as opposed to a developer.</p>\n\n<p>It took a long time to become used to developer tools - I\'d never heard of Visual Studio, C# or any type of source control when I first started doing xaml work a few years ago. They were as alien to me as maybe Illustrator or 3DsMax would be to you.</p>\n\n<p>My biggest single point is that the designer can\'t be expected to know developer practices - please be prepared to do a great deal of hand-holding. You won\'t have to learn anything new whereas the designer will be launched into a whole new scary side of app development. I made a right mess of a few solutions and checkins (and still do).</p>\n\n<p>Happily, I\'ve learned to become more of an design focussed integrator than a straight creative, and maybe this is a role you need to include in your project. This is the illustration I made for our beauty and the geek - designer/developer session at Mix - if either of you is at too far at either end of the spectrum it can be difficult understand how the other works and what their role should be.</p>\n\n<p><img src="https://blackspike.com/permanent/dev-designer.png" alt="alt text"></p>\n\n<p>Happy to answer any specific questions!</p>\n\n<p>ps you do NOT want 100Mb+ .psd files in source control ;)</p>\n'}, {'answer_id': 3420063, 'author': 'Scott Bellware', 'author_id': 96443, 'author_profile': 'https://Stackoverflow.com/users/96443', 'pm_score': 2, 'selected': False, 'text': "<p>The extent to which designers have come to feel entitled to be distant from the whole of the work involved in building a software product is a much bigger problem that needs to be solved. Don't pander to any designer's expressed right to not have to know how their work gets integrated into the whole.</p>\n\n<p>The kind of stark specialization that has grown up in the designer community is one of the biggest industrial maturity problems that faces the software development industry. It's an extent of specialization that predictably creates more rework and longer cycle times.</p>\n\n<p>This is also true of developers' sense of entitlement to go blissfully unaware of interaction design and implementation.</p>\n\n<p>Extreme specialization is always an exponential multiplier in productivity problems. Solve it organizationally by adopting processes that promote learning cultures. This is the level of maturity that most other production industries have already realized, and that software drags woefully behind.</p>\n\n<p>At every place in a development workflow where handoffs occur between over-specialization, work queues and buffers form. Software remains one of the few industries that doesn't recognize this as one of the biggest problems we face. This is even more exacerbated in the Microsoft community as over-specialization seems ever-more normal due to Microsoft's perpetuation of over-specialization through its tools and guidance. Unless you can afford to waste as much money as Microsoft does in development efforts, you should look to methodologies that are much better informed on questions of flow and productivity.</p>\n\n<p>Consequently, the developer who cannot test and the tester who cannot code is a symptom of the same industrial immaturity.</p>\n\n<p>You won't learn any of this from the Scrum template for TFS. Microsoft was years behind the curve in getting agile thinking in-play even in its most rudimentary forms, and now that we're progressing into Lean thinking, Microsoft will be another three to five years away from trying to incorporate Lean thinking into its product lines. Don't wait for Microsoft to tell you how to shape a team and a workflow. You can learn right now from the people that Microsoft will ultimately pay attention to in a few years.</p>\n"}]
['https://Stackoverflow.com/questions/51624', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5023/']