Articles tagged #designpatterns


UMB.FYI
2024-12-11

📰 Island-inspired Architecture - React in Umbraco

In this article, Adam Prendergast explores integrating React into Umbraco using the Islands Architecture pattern, which enhances performance by loading interactive components selectively. This approach allows developers to create dynamic features within a traditional CMS setup, providing a solution for complex interactivity without fully separating the frontend and backend.

UMB.FYI
2024-11-13

📰 Catching the Bus? How a Service Bus and Azure Functions Can Help Your Integration Reliability

Simon Napper discusses the concept of a Service Bus as a reliable communication system for integrating APIs, emphasizing its role in preventing data loss during failures. By utilizing Azure Functions alongside the Service Bus, developers can enhance system resilience and ensure successful message delivery, improving overall integration reliability.

UMB.FYI
2024-10-30

📰 Learning TDD by doing: Dealing with Umbraco's published content

Dave Farley advises against mocking external dependencies, suggesting that abstractions should be created for systems like Umbraco. Dennis faced challenges while implementing this, ultimately opting to mock the published content model. Through several iterations, they developed a more readable and maintainable testing approach, emphasizing strong typing and clarity in code.

UMB.FYI
2024-10-09

📰 Learning TDD by doing: Tagging members in Umbraco's Rich Text Editor

Dennis continues his TDD series by developing an extension for Umbraco's TinyMCE Rich Text Editor to enable tagging members in content, similar to Slack's mention feature. He implements a MentionsManager class using TypeScript and Jest for testing, allowing for fetching and inserting mentions. He reflects on the simplicity and potential improvements of his code structure.

UMB.FYI
2024-10-02

📰 Learning TDD by doing: Business hours

In this article, Dennis discusses the implementation of a business hours feature using Test Driven Development (TDD). Initially, the existing system struggled with irregular hours, prompting a redesign. Through TDD, Dennis successfully defined and tested various use cases, ultimately achieving a functional solution while reflecting on potential improvements in test clarity and user focus.

UMB.FYI
Archive Polls Tips Firehose Privacy About

UMB.FYI is built with ❤ by the Umbraco community and is not affiliated with Umbraco HQ