Stop it double-coding or 2-way communication between design and code

How to "make friends" between a designer and an engineer? How to let them work with the same data subject, without sacrificing productivity? How to store a design in a version control system. If you are interested in these questions, to the same extent as me, then welcome under the cut!



This article is a direct continuation of "Stop making it up, let's hit the layouts with automation" and is the result of my research on the problem I'm interested in.



In the first part, I briefly described the problems of both the layout itself and its automation. He also shared his research results on this topic. I dwelt on the issue of controllability of the automated layout.



In this article, I will expand on this concept in more detail and share the results of my research.

Want to play with something? Here's a proof of concept .



Controllability



And what kind of controllability are we talking about?

I have highlighted two main points:



  1. The ability to influence the process of generating HTML code.
  2. Direct editing of the result, which will be taken into account in the subsequent generation.


, , HTML . , .



, .





HTML , . HTML .



. . , . , β€” - .







β€” HTML , HTML CSS.



, HTML , .





HTML , , , ? β€” , , .

2 .



, - , , Unity 3D, .



Unity, .



, β€” HTML , .



, , , , , , . .





, - Unreal Engine, WEB. ?

:



  1. Drag&Drop ;
  2. ;
  3. - HTML , .


, .





, .



, api, , , , , , …





.





, , ?



HTML , - . β€” WebKit Blink, ().



-



. ( index.html), . .

3 :



  1. , ;
  2. ;
  3. .


, .



3, , .

, , , .



, , , 2.



:



  1. ;
  2. , .


.





, .





?



, 2 , .





, Adobe Illustrator , , 2 * N . , .



, . .



β€” HTML .



. HTML :



  1. ;
  2. .


.



, , β€” , .



.





?

:



  1. , ;
  2. DOM ;
  3. .


, DOM, .





:



  1. DOM, .
  2. , DOM.




.





DOM? , .



, , .





, , , , ( ).



, , … .

. 2 :



  1. ;
  2. .


, , .



, 2 :



  1. , ;
  2. , , .


Pagedraw .



, .





:



, . , .



, . . .





, , .



, , (-).



.



, .





  1. , ;
  2. ;
  3. , ;
  4. ;
  5. ;
  6. ;
  7. HTML .
  8. ""






, 2- , . .



, .



?



, "", . , , React, JSX + styled-components, .



, , twitter , , , β€” , " ".



What if someone had a desire to help, it would be super. Help is needed, first of all, with the visual editor, the part is important, but not targeted. Or suggest a module that is convenient for work and customization. And of course, drawing attention to my work and issues will be no less useful.



Of course, I will be very glad to see constructive criticism and discussion.



Peace for everyone!




All Articles