DMDavid Montesdeocaindavidmontesdeoca.dev·6d ago · 7 min readThe one about choosing where htmx logic belongsIn the previous post I talked about how to override htmx's default behavior on failure. The proposed solution relied on events to handle any server-side error directly from the view. Although I recomm00
DMDavid Montesdeocaindavidmontesdeoca.dev·May 31 · 11 min readThe one about overriding htmx's default behavior on failureThe project that I have been working on for the past few months is coming to an end. A few days ago, we even presented a demo of the new UI to the stakeholders, who have already started using it in pr30
DMDavid Montesdeocaindavidmontesdeoca.dev·Apr 28 · 15 min readThe one with the Ruby DSL for UI componentsIn a previous post I talked about the internal design system I have been working on recently, consisting of server-rendered UI components, using Ruby and ERB templates. Most of these components are si10
DMDavid Montesdeocaindavidmontesdeoca.dev·Mar 23 · 10 min readThe one about multi-API support in legacy codeIn a previous post I mentioned I had been working on replicating some functionality for collecting beneficiaries data in an old SPA. The code in that application was quite legacy and highly coupled to00
DMDavid Montesdeocaindavidmontesdeoca.dev·Feb 24 · 7 min readThe one about rendering and displaying code examples in ERBI have been building a component showcase page for an internal design system, using Sinatra and ERB templates. The page renders each UI component visually and, right below it, offers a toggle to revea00