4

Want to Convert Design To Code? Here's A Better Way

 3 years ago
source link: https://www.uxpin.com/studio/blog/convert-design-to-code-better-way/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Want to Convert Design To Code? Here’s A Better Way

Want to Convert Design To Code Heres A Better Way

Whether creating a web page, Android app, or iOS app, most traditional designers start their work by creating static images with tools like Adobe XD, Figma, Invision, and Photoshop. The designs might look aesthetically pleasing but they are not even close to being production-ready. 

ikyx_T71ie3UaD46pF-fL9Op9ZBcYMnhjPYBNyFWFyHTeWcLvyKb2HaubhBCyzPjM_EJ9jVevlu4bdUMNeT6Sm8FKBWwOC9Z8NxH3T003ZffPXTlv2ILaEF1u8xeCMdXfDuP5UE8

After the designing phase, you need to add interactions that will show the developers and testers how components correspond with one another. Then, you handle the static images or time-consuming interactive prototypes to developers who turn designs into code.

h3RYDx6p6H_TghJRo9qCeNUT7FYUouKcIec_M-Ru-ugIcoLCiWv2PuLnEIkT02bgsnohI1VHVafmpa99YLLuCafbbOg3ls8eT2eNx149Xm8YR65VQySCSTp7RVZBmcQC8TceBFz_

It’s time to move beyond this tedious process by taking a code-based approach to design. Once you think about the challenges of image-based design and then adding just interactions, it quickly becomes obvious that your team needs a better way to create products that users will love. 

Recommended reading: Why It’s Time for Designers to Switch From Image-Based to Code-Based Design

Challenges of design-first prototyping

Design-first prototyping creates more steps than you need to create a popular digital product. The process probably includes:

  • Coming up with ideas to be turned into products or features.
  • Communicating ideas to the design team.
  • Reviewing the work of the design team and giving some feedback.
  • Designers struggling with the limited possibilities of adding advanced interactions in their design tool. 
  • A lot of back-and-forth in the designer-dev communication, trying to smoothen some prototype inconsistencies.
    D_-z4xJ8or4X_Q-9Avyrz5uXcggE50VQnvdH1Yubw0jzfH6VFhp61pg61hMIgq1Bxcs_oSvHPqQQUb2WzO9ClVhlpWFM5W3NNqDu7kM1RZLAG0p2VW-mm5OR6rofLwLSJQlGnwAo
  • Adding some tweaks until the product fulfills the original vision.

These steps can take weeks or months to complete. Even when you use a tool like Avocode and Anima to turn PSD, Figma, and others that turn designs into code, you still need relentless prototype and product testing to ensure that all interactions work as they were designed. 

You still need to deal with unnecessary steps because Avocode and Anima can only convert designs into code. They do not offer a designing environment that can use code components on the prototyping phase to start with the code approach first. 

Design to code handoff wastes time and money

Not surprisingly, the serpentine process of passing work between product managers, designers, and developers quickly becomes expensive. In the United States, website developers with associate’s degrees can expect to earn about $35.46 per hour (€ 29.5). The longer development and prototyping take, the more it costs to bring the product to market.

Without code-based design, though, the process will always involve backtracking and repeating steps. It’s clear that the design to code handoff process wastes time and money.

Popular website designer Matthew Strom found that he could streamline his process by designing with code instead of starting with static images. While building a new homepage for WSJ. Magazine, he found that working with code was often more straightforward and rewarding than taking a vector-first approach. He discovered that the old process became sluggish as he created more images.

Thankfully, Strom knows enough code to build a complicated homepage without relying on design tools for every step. Unfortunately, few designers have the experience to create digital products from code.

Prototype functionality suffers without code-based design

You can improve the design to development process slightly by encouraging your designers to learn basic code. Knowing the fundamentals of HTML and CSS gives designers a shared understanding that helps them anticipate the needs of developers. It makes the process even better when designers know some front-end JavaScript and Ajax because it gives them insight into how much work it will take developers to turn their static designs into interactive components.

_ZYhhQ8J4lCiAChzhIyHlgC7S4DK-MX67k_6h4KkzxloC8081KaQZ_T_q3pXVYMUaxhKRiFRmTHN5H7bwOT2lXzY7Rbe4qRs92FJVLT2gpQzwhTYDYZcakxc1z3Hf-k7_tcEKEdq

Some coding experience also helps designers understand the limitations of development. It can make a huge difference when graphic designers have a baseline understanding of what developers can and cannot do.

However, the code to design approach doesn’t mean that a designer must know all of that. It’s enough to sync developers’ repo where they store UI code components with the design tool editor to empower designers to use the production-ready parts in their designs. Not only is it faster but also much more consistent with the design standards. Thanks to this you can avoid all the reviewing and repetition stages in the whole product development process. 

Without a code-based approach to design, you end up with prototypes that don’t function as anticipated, which inevitably means you end up wasting even more resources. 

Recommended reading: Why Your Team Needs to Take a Code-Based Approach to Design

Make designing and prototyping easier with a design tool based on code generation

A tool that enables having your UI code components imported to a design library is much more efficient than the one that converts an image to code. UXPin Merge bridges the gap between designers and developers by giving everyone a common language. A simple tutorial shows how designers can import existing React components into UXPin’s editor through Merge technology. 

zDUk4XU5GChkXXpnS5GcnyS0pTBXurrHpsAods0Yj67dKRffFTkr0S-oQDGGGAtyBivS-_ohMN5c--Q70U4sxKTIDmOqu8gybVEIKRh-KfaWx7QWOIWXr67Xych74PeF9hioXbnU

Improve workflow with UI code components

Instead of interpreting image-based designs and turning the ideas into code, developers just take the components that were used in a design from their library to build ready products. 

As the code-powered prototypes already behave like a final product, there’s no need for additional reviewing steps – the result of developers’ work will be pixel-perfect to the designers’ work. 

Recommended reading: You Can Become a Code-Based Designer Without Learning Code

Test user interfaces and interactive design elements with fully functional prototypes

You need to meet the project manager’s specifications before you embark on turning a prototype into a product you can release. UXPin Merge gives your team members an opportunity to test the functionality of interactive components before committing to a development process. With UXPin Merge, though, it’s often difficult to tell the difference between the prototype and the finalized product. That’s how strong initial testing becomes when you build digital products with code and use real data to test interactions.

Request access to UXPin Merge for code-based designing and prototyping

You don’t have to continue the tedious process of building products from a design-first perspective. Shorten your go-to-market process, improve collaboration between departments, and take control of your designs by requesting access to UXPin with Merge technology.

MergeAccess_wide_Blog-1024x326.png.webp

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK