"value":"\n <p>Today, I did a show-and-tell session with my team where I demonstrated an integration I've been working on for a few months and recently released to production.<\/p>\n\n<p>The simplified workflow is we collate some data, send it to a third-party system for translation, receive the translated file and import the translations into Drupal's translation system.<\/p>\n\n<h2 id=\"where-did-i-start%3F\">Where did I start?<\/h2>\n\n<p>The first thing I did was not to collate the data and generate the file but to send a minimal, hard-coded version of the contents to the third-party system.<\/p>\n\n<p>I'd have started with the code to import the translated strings if I hadn't already done this in an earlier spike.<\/p>\n\n<p>This allowed me to send the file, check the response from the third party and ensure they could work with that file type and my proposed content structure.<\/p>\n\n<p>If needed, I could have changed direction and avoided investing much time. This wouldn't have been the case if I'd left this until the end of the process.<\/p>\n\n<p>I also have a working end-to-end test, and I can send a file and get the response I need.<\/p>\n\n<p>What if I'd written all the code and discovered something wouldn't work?<\/p>\n\n<h2 id=\"what-next%3F\">What next?<\/h2>\n\n<p>Now, I can work backwards and start to make the content dynamic.<\/p>\n\n<p>I can introduce more authentic and complicated data, remove the hard-coded test data, and check that things still work.<\/p>\n\n<p>I still have the quick feedback loop, as I can always send the data to the third-party system and verify things work as I iterate on my implementation.<\/p>\n\n<p>With the main pieces of the puzzle in place, I can continue building and filling in the others.<\/p>\n\n<p>Once I have a complete feature with all the pieces in place, I can refactor as needed.<\/p>\n\n<p>I still have the same finished puzzle - I just built it in a different order.<\/p>\n\n ",
"format":"full_html",
"processed":"\n <p>Today, I did a show-and-tell session with my team where I demonstrated an integration I've been working on for a few months and recently released to production.<\/p>\n\n<p>The simplified workflow is we collate some data, send it to a third-party system for translation, receive the translated file and import the translations into Drupal's translation system.<\/p>\n\n<h2 id=\"where-did-i-start%3F\">Where did I start?<\/h2>\n\n<p>The first thing I did was not to collate the data and generate the file but to send a minimal, hard-coded version of the contents to the third-party system.<\/p>\n\n<p>I'd have started with the code to import the translated strings if I hadn't already done this in an earlier spike.<\/p>\n\n<p>This allowed me to send the file, check the response from the third party and ensure they could work with that file type and my proposed content structure.<\/p>\n\n<p>If needed, I could have changed direction and avoided investing much time. This wouldn't have been the case if I'd left this until the end of the process.<\/p>\n\n<p>I also have a working end-to-end test, and I can send a file and get the response I need.<\/p>\n\n<p>What if I'd written all the code and discovered something wouldn't work?<\/p>\n\n<h2 id=\"what-next%3F\">What next?<\/h2>\n\n<p>Now, I can work backwards and start to make the content dynamic.<\/p>\n\n<p>I can introduce more authentic and complicated data, remove the hard-coded test data, and check that things still work.<\/p>\n\n<p>I still have the quick feedback loop, as I can always send the data to the third-party system and verify things work as I iterate on my implementation.<\/p>\n\n<p>With the main pieces of the puzzle in place, I can continue building and filling in the others.<\/p>\n\n<p>Once I have a complete feature with all the pieces in place, I can refactor as needed.<\/p>\n\n<p>I still have the same finished puzzle - I just built it in a different order.<\/p>\n\n ",