Re:Google Web Designer (2013)
by jasim on Friday December 16, 2016 @06:51AM
(#13192623)
Very well put. I've been tackling a similar problem with my product Protoship UIPad - "Find the optimal HTML and CSS for an image". By optimal I refer to code that a skilled developer would write themselves and will be happy to own and maintain themselves. We've seen terrible code generators - they make our lives harder and have no market.
I chose to solve this by using Sketch, which has rich layer information - is it a text, is it centered, is it a rectangle, what is its background color etc. Sketch also has layer names, which can be mapped to component oriented CSS. The difficulty is in finding the optimal positioning for this, which we solve a little algorithmically and also through user annotations. You can read more about my approach and its trade-offs here: https://medium.com/sketch-app-sources/protoship-uipad-design...
I chose to solve this by using Sketch, which has rich layer information - is it a text, is it centered, is it a rectangle, what is its background color etc. Sketch also has layer names, which can be mapped to component oriented CSS. The difficulty is in finding the optimal positioning for this, which we solve a little algorithmically and also through user annotations. You can read more about my approach and its trade-offs here: https://medium.com/sketch-app-sources/protoship-uipad-design...