Home  >  Q&A  >  body text

Should UI designers touch the View layer in the MVC framework?

Should UI designers touch the View layer in the MVC framework?
The problem is this. I am developing a web application with a friend. I, who is responsible for the UI, provide him with HTML static pages and CSS, but sometimes the structure of the HTML needs to be changed. Is there any good way to reduce this duplication? Workload.

高洛峰高洛峰2690 days ago695

reply all(3)I'll reply

  • 某草草

    某草草2017-05-16 17:08:50

    You mean, UI designers are not proficient in HTML/CSS, so you need to adjust the code they write, right?
    [Front-end engineer] This kind of position is used to make up for this regret.
    It depends on how your company positions UI designers. From my personal point of view, if there are no front-end engineers, front-end coding should be left to programmers.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-16 17:08:50

    I think that the profession of UI designer cannot come into contact with the view layer due to his professionalism. The view layer has a lot of view logic. These are not things that UI designers should care about and be responsible for. UI designers need to care about it. It is whether the appearance is "good-looking" and "reasonable", including "feeling" issues such as color and whether the layout is comfortable, as well as detailed issues such as special data including how to display too much text or how to display no data

    I don’t know if you actually mean front-end engineers. They should pay attention to views, not just html and css. The ultimate goal of mvc is to clarify the division of labor. If front-end engineers still need programmers to cover pages when creating pages, or if programmers need to accompany them when maintaining pages, this goal will not be achieved at all. The front-end engineer is the bridge between designers and programmers. He must know how to display the data given by the programmer as designed by the designer. Taking PHP as an example, given a timestamp data, he should be familiar with how to use date. Functions are displayed in the time format designed by the designer.

    Of course, in the current stage of web development in China (perhaps also abroad), because of the traditional way of working with pages, it is difficult to ask front-end engineers to do this. At this time, the best way is to need someone who understands HTML or even CSS as well as related languages. (The language here refers to both languages ​​like php and template languages ​​like smarty) to coordinate. Currently, this part of the work is the responsibility of programmers, so many companies require programmers to understand programs as well as html and css. In fact, if there is a clear concept of MVC division of labor, programmers can only focus on their own programs, which are c and m.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-16 17:08:50

    No contact with View
    View should use the template engine to load the corresponding HTML
    The designer concentrates on processing HTML files

    reply
    0
  • Cancelreply