14 February 2011 Design, Html, MVC CI Team

imageThis blogpost is about my own experience in the fields of "How do I pass this cool Design into my cool MVC WebApp?". In little projects you are used to do it on your own but what happens, if this is not the case? (Beside you are used to be a talent in multitasking).

Entire developing process of a WebApp

Beware: It´s a developer speaking here. Maybe there are some other ways - but writing into and so on isn´t an option for me Zwinkerndes Smiley

A kind of esoteric subject but if you, or at least your customer, now what you want, you will find nice ideas about what your web application should do. Then there will be a designer who is painting around in Photoshop and now it´s getting difficult. Because who is going to put this into HTML? And who is writing the Code?

image

Web designer = Web developer

Like I said before, I´m a developer. Of course, I now some stuff about HTML and so on but in bigger or more professional projects I always try to get an HTML-guru (Web designer). The reason is, it´s not so easy to get perfect HTML (CSS structures. There are some stumbling blocks just like browser compatibility, semantic or recoverability. The HTML-guru builds HTML templates and the web developer takes these templates and connects them with this business logic.

Result of the web designer:

Easy and static HTML (with CSS and pictures and so on) sides with all side elements on them. But there are some thinks you should keep in mind:

- Are there some error messages and where are they shown?

- If you have used Javascript frameworks you should test if they render some standard element out like for example jQuery will pass out error messages into a specific structure

- Are there some areas where "loading icons" for AJAX should be?

- Elements should fit all the time. In the best case you should create a form-style which you can use as often as you want to

- And also you need to take a look on some overlays or implementation from extern services like for example Google Maps

It doesn´t matter with what the designer works but it could be an advantage to put his results under a version control.

The reason for the simple web site: I don´t know any web designer who is working with Visual Studio or the expression products to "produce" HTML. In fact, they don´t need to do so anyway. You can send the result to your boss or your customer because he will find any important elements on it. It´s also possible to create click dummies (with some work).

But for me more important: the web designer is never in touch with the ASP.NET MVC project. Also the markup would be much prettier with razor there is a lot of thought in the views about which areas are send out into the "partials" - maybe the web designer don´t know this.

But what happens, if you want to change the design?

In this case it is possible to send the statistic website to somebody and give him the order to send back something in the same form.

The awkward part of the work

As web developer you have to spread the HTML construct and put them into the fitting views in partials or masterpages and so on. For me I do not write into the CSS anymore and in the case of an error (like for example problems with the browser view) I inform the designer and he is able to look it up on the statistic HTML side, fix it without the help of foreign systems and send the CSS back to me.

Example

As a "little" example we created a statistic side with all elements at BizzBingo (Codeplex). The stripes in the background are from the CSS Grid Framework. To say the true, in this project I´m developer and designer in one person but it´s just for fun.

imageThe template isn´t that exiting but it´s quit helpful while discussing the several side elements. If we are going to find an HTML-guru he (or she) can start working without MVC magic or data base stuff. Just HTML.