<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Daniel Wild on Medium]]></title>
        <description><![CDATA[Stories by Daniel Wild on Medium]]></description>
        <link>https://medium.com/@danw1ld?source=rss-37fd195953cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yXNpivq0AZfASMdN3XD3MA@2x.jpeg</url>
            <title>Stories by Daniel Wild on Medium</title>
            <link>https://medium.com/@danw1ld?source=rss-37fd195953cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:50:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danw1ld/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Context Switching Used to Be the Devil. Now It’s Probably Your Job.]]></title>
            <link>https://levelup.gitconnected.com/context-switching-used-to-be-the-devil-now-its-probably-your-job-29336e6b64f2?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/29336e6b64f2</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-engineering]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 02:04:48 GMT</pubDate>
            <atom:updated>2026-01-28T15:20:24.457Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s 2pm. You’ve got the entire authentication logic mapped out in your skull. It’s a beautiful, fragile architecture of variable states and call stacks suspended in your working memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*UoN2mrv5dUpqAoLNkTewvw.png" /><figcaption>This Is Why You Shouldn’t Interrupt a Programmer. <a href="http://heeris.id.au/2013/this-is-why-you-shouldnt-interrupt-a-programmer/">Jason Heeris, 2013.</a></figcaption></figure><p>Then — <em>tap tap</em>.</p><p>“Hey mate, quick question about the button colour.”</p><p><strong>CRASH.</strong></p><p>For decades, that tap on the shoulder was the enemy. We all know the famous Jason Heeris comic; we printed it out and stuck it to our monitors as a warning sign.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k_u7Szfugbo0OKqyRecCWQ.png" /><figcaption>This Is Why You Shouldn’t Interrupt a Programmer. <a href="http://heeris.id.au/2013/this-is-why-you-shouldnt-interrupt-a-programmer/">Jason Heeris, 2013.</a></figcaption></figure><p><strong>The old math was simple:</strong></p><blockquote>High Concentration + Low Interruptions = High Output.</blockquote><p>But in 2026, the equation has broken. In fact, if you are sitting in silence, focusing deeply on a single function for hours, <strong>you might be the bottleneck.</strong></p><h3>The Shift: “State” Offloading</h3><p>The reason context switching was expensive was that <strong>State lived in your biological RAM</strong> (your brain). Your brain is volatile memory; it leaks easily.</p><p>In the GenAI age, the <strong>State</strong> lives in the Context Window of your LLM or Agent.</p><ul><li><strong>The AI</strong> holds the variable names, the syntax, and the intricate implementation details.</li><li><strong>The Human</strong> holds the <em>Intent</em>, the <em>Architecture</em>, and the <em>Acceptance Criteria (see also: </em><a href="https://github.com/github/spec-kit/blob/main/spec-driven.md"><em>Spec-Driven Development</em></a><em>)</em>.</li></ul><p>Because you no longer have to “load” the entire codebase into your head to be effective, the cost of switching projects drops precipitously. You aren’t losing the code; you’re just pausing the agent.</p><h3>From Bricklayer to Site Foreman</h3><p>This shift has fundamentally inverted the job description.</p><p>Previously, we were writers. We wrote code linearly, line by line. Now, we are Orchestrators.</p><p>In a typical 2026 workflow, you aren’t single-threading a problem. You likely have three to five streams of work running in parallel:</p><ol><li><strong>Agent A</strong> is refactoring that legacy auth module (boring, but necessary).</li><li><strong>Agent B</strong> is writing unit tests for the new feature.</li><li><strong>Agent C</strong> is scraping logs to find a race condition.</li></ol><p>Your job isn’t to <em>do all </em>the work. Your job is to <strong>unblock the workers.</strong></p><p>If you put your headphones on and tunnel-vision on Agent A until it finishes, you are leaving Agents B and C idle. Inefficient.</p><p>Your value today comes from your ability to rapidly shift context without losing quality. You look at Agent A’s output, spot a hallucination, correct it, and immediately pivot to Agent B to clarify a prompt. Then you jump to Agent C to make an architectural decision.</p><h3>The “Mental Agility” Gap</h3><p>This is going to hurt some egos, but we probably need to change how we hire.</p><p>We used to look for “Mental Depth” — the ability to hold immense complexity in one’s head and write perfect code without looking at documentation (or StackOverflow 🥺).</p><p>Now, we need <strong>“Mental Agility.”</strong></p><p>Some of the best engineers today operate like air traffic controllers.</p><p>They maintain a high-level “metadata map” of ten different active streams. They don’t know exactly <em>how</em> the sort function is being written in Stream 4, but they know <em>why</em> it’s being written and what the output needs to look like.</p><p>The danger is no longer “losing your place.” The danger is <strong>Decision Fatigue</strong>. You are making fewer implementation decisions (syntax) and far more executive decisions (logic/trade-offs).</p><h3>Embrace the Chaos</h3><p>We need to stop feeling guilty about “scattered” attention.</p><p>In an agentic workflow, scattered attention — if managed correctly — is actually just <strong>Parallel Processing</strong>.</p><p>So, take the headphones off. Let the Slack notifications roll in. Context switching is no longer a bug in the human operating system; it’s the primary feature required to scale yourself.</p><p><strong>A final thought:</strong></p><p>I’d love to write a longer conclusion.. but my frontend-agent just finished the UI for my second app, and my backend-agent is waiting for approval on the API docs for the third.</p><p>I shipped three features to prod while writing this.</p><p>You were probably reading it on the toilet 🚽</p><p>Welcome to the future 😄</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29336e6b64f2" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/context-switching-used-to-be-the-devil-now-its-probably-your-job-29336e6b64f2">Context Switching Used to Be the Devil. Now It’s Probably Your Job.</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ‘Internet of AI’ Begins: Model Context Protocol]]></title>
            <link>https://danw1ld.medium.com/the-internet-of-ai-begins-model-context-protocol-ba67e35374ca?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba67e35374ca</guid>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Wed, 18 Dec 2024 01:43:11 GMT</pubDate>
            <atom:updated>2024-12-18T02:04:38.501Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N_C2bEPOvmE4_D8q5eGGsw.png" /><figcaption>General architecture of Model Context Protocol (Image credit: <a href="https://modelcontextprotocol.io/introduction#general-architecture">modelcontextprotocol.io</a> 📸)</figcaption></figure><p>The AI landscape continues to evolve at an <em>extraordinary</em> pace. Every week, we see innovations that reshape the way we interact with large language models (LLMs), integrate tools, and make AI systems more effective. Amid this rapid progress, the need for a shared standard has become critical to ensure interoperability and ease of development across the ecosystem.</p><p>Enter: <strong>Model Context Protocol (MCP)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/0*9iKZ7nmndRPS-ZiA.gif" /><figcaption>Image credit: <a href="https://giphy.com/Mochimons">Mochimons</a></figcaption></figure><p>MCP, <a href="https://www.anthropic.com/news/model-context-protocol">recently announced</a> by Anthropic, is an open protocol designed to enable seamless interaction between <strong>AI clients</strong> (such as Claude Desktop or Zed IDE) and <strong>context servers</strong> (which provide tools, data, and capabilities).</p><p>Whether you are a developer, an AI enthusiast, or an organisation looking to extend LLM capabilities, <em>MCP offers a unified framework to get started quickly.</em></p><blockquote>Could MCP be the ‘Internet of AI’? Much like how the TCP/IP protocol transformed the internet into a global, interconnected network of information, MCP has the potential to unify the fragmented AI ecosystem.</blockquote><blockquote>By standardising how AI models interact with tools and data, MCP could enable a new era of seamless collaboration and innovation across the AI landscape.</blockquote><p>This guide will walk you through <strong>how &amp; where to get started</strong> with MCP, providing links and resources to get productive ASAP 🚀</p><h3>Step 1: Explore MCP Servers</h3><p>MCP servers are the foundation of the ecosystem. They provide tools, APIs, data, or other capabilities to extend what LLMs can do. Whether you want to use an existing server or build one of your own, here’s how to get started:</p><h4>1.1 Install and Use Existing MCP Servers</h4><p>Start by exploring prebuilt MCP servers that you can easily connect to your client</p><p>Visit the <a href="https://modelcontextprotocol.io/examples#getting-started">Getting Started Guide</a> for a quick overview.</p><p>Find existing servers here:</p><ul><li><a href="https://github.com/modelcontextprotocol/servers">Official Server Repository</a></li><li><a href="https://glama.ai/mcp/servers">Glama.ai MCP Servers</a></li><li><a href="https://mcp.so/">MCP.so</a></li></ul><h4>1.2 Build Your Own MCP Server</h4><p>Want to create a custom server that provides tools, integrates data, or connects to your unique systems? The MCP team has provided excellent resources to get you started.</p><p>Follow the <a href="https://modelcontextprotocol.io/quickstart">Quickstart Guide</a> for writing and deploying your own server.</p><p>MCP servers allow you to integrate:</p><ul><li>External APIs</li><li>Knowledge sources (e.g., Postgres databases)</li><li>Custom tools for unique workflows</li></ul><h3>Step 2: Connect Using MCP Clients</h3><p>MCP clients are the tools that interact with servers, enabling you to harness their capabilities. Here’s how to set up a client and start interacting with MCP servers:</p><h4>2.1 Use Prebuilt MCP Clients</h4><p>Several existing clients make it easy to get started without writing any code:</p><ul><li><strong>Claude Desktop</strong>: Anthropic’s powerful assistant now supports MCP.</li><li><strong>Glama</strong>: A user-friendly interface that connects to MCP servers (<a href="https://glama.ai/">Try Glama</a>).</li><li><strong>Zed IDE</strong>: A development environment with built-in support for MCP (<a href="https://zed.dev/docs/assistant/model-context-protocol">Learn more</a>).</li><li><strong>Continue</strong>: An open-source IDE extension that supports MCP (<a href="https://github.com/continuedev/continue">View on GitHub</a>).</li></ul><h4>2.2 Example Workflow</h4><p>Here’s a simple example of how to get started:</p><ol><li>Install an MCP client like <strong>Glama</strong> or <strong>Zed IDE</strong>.</li><li>Connect to a public server (e.g., Postgres Context Server or others from the repositories).</li><li>Start querying tools, data, or APIs exposed by the server.</li><li>Profit</li></ol><p>For developers, this enables <em>rapid</em> prototyping of advanced workflows using LLMs with external context.</p><h3>Step 3: Explore and Expand</h3><p>Once you are familiar with MCP servers and clients, you can expand your workflows:</p><ul><li>Integrate <strong>custom tools</strong> with your server.</li><li>Connect <strong>databases</strong> to provide real-time data for LLMs.</li><li>Share your server with others to grow the MCP ecosystem.</li></ul><h3>Useful Links to Get Started</h3><p>Here’s some key resources:</p><ul><li><a href="https://modelcontextprotocol.io/">Model Context Protocol Official Website</a></li><li><a href="https://modelcontextprotocol.io/examples#getting-started">Getting Started with MCP Servers</a></li><li><a href="https://github.com/modelcontextprotocol/servers">Find Servers on GitHub</a></li><li><a href="https://modelcontextprotocol.io/quickstart">Quickstart Guide for Building Servers</a></li><li><a href="https://modelcontextprotocol.io/clients">Prebuilt Clients</a></li></ul><h3>Conclusion</h3><p>IMO — MCP is going to pour rocket-fuel onto an already eye-wateringly fast moving AI ecosystem. A global network of AI + Tools + Data coming together, at speed.</p><h4>Good luck everyone… 💥</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba67e35374ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Micro Frontend Architectures: what are your options?]]></title>
            <link>https://danw1ld.medium.com/micro-frontend-architectures-what-are-your-options-adeae0829e53?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/adeae0829e53</guid>
            <category><![CDATA[micro-frontends]]></category>
            <category><![CDATA[micro-front-end]]></category>
            <category><![CDATA[microservice-architecture]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[implement-microfrontend]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Mon, 28 Oct 2024 23:21:46 GMT</pubDate>
            <atom:updated>2024-10-28T23:27:26.725Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sYCUtgMtIIQM49nAdcs6dA.png" /></figure><p>Micro-frontends are becoming increasingly popular as a way to break down monolithic frontends into manageable, independently deployable modules. This enables different teams to work on various parts of a larger application, speeding up development and improving maintainability.</p><p>However, with multiple ways to implement micro-frontends — it’s important to select the right approach for your project.</p><p>Here we’ll explore a few common strategies for implementing micro-frontends, their pros and cons, and introduce some lesser-known but viable alternatives.</p><h3>TLDR;</h3><p>When building micro-frontends, choosing the right architecture is crucial.</p><ul><li><strong>Federated Modules</strong> offer a solid, widely supported approach with dynamic module sharing.</li><li><strong>Import Maps</strong> and <strong>Native Federation</strong> provide lightweight alternatives that reduce tooling overhead</li><li><strong>Single-SPA</strong> and <strong>Web Components</strong> may be useful when you need to integrate multiple frameworks.</li><li><strong>Piral</strong> and <strong>FrintJS</strong> are options for modular, extensible setups with less complexity.</li></ul><h3>#1 Federated Modules (Webpack, Vite)</h3><p>Federated Modules allow dynamic module sharing between micro-frontends at runtime, reducing duplication and improving performance. This approach, popularised by Webpack’s Module Federation, is a solid choice for teams wanting to maintain independent deployments while still sharing common libraries between apps.</p><p><strong>Pros:</strong></p><ul><li>Dynamic module sharing: Reduces redundancy by sharing libraries across different parts of the app.</li><li>Independent deployment: Teams can develop and release their own micro-frontends independently.</li><li>Good support: Strong community backing, especially with Webpack.</li></ul><p><strong>Cons:</strong></p><ul><li>Complex setup: Webpack configuration can become complicated, especially as the number of micro-frontends increases.</li><li>Version conflicts: Shared dependencies, if not properly handled, can lead to version conflicts.</li></ul><h3>#2 Import Maps (Native Browser Feature)</h3><p>Import Maps leverage native browser functionality to map module imports, reducing the need for complex build tooling. They allow you to control which versions of a micro-frontend or shared libraries are loaded dynamically, making them a lightweight option for orchestrating micro-frontends.</p><p><strong>Pros:</strong></p><ul><li>No bundlers required: Uses native browser features, reducing the need for extra tools.</li><li>Independent versioning: Easily control which version of a micro-frontend is loaded at runtime.</li><li>Simple setup: Avoid the complexity of build systems like Webpack.</li></ul><p><strong>Cons:</strong></p><ul><li>Browser support limitations: Older browsers may require polyfills to support Import Maps.</li><li>Lack of optimisation: Without bundlers, you miss out on features like code splitting or tree-shaking.</li><li>Manual orchestration: Managing multiple Import Maps for large-scale projects can become tricky.</li></ul><h3>#3 Native Federation Packages</h3><p>“Native Federation” packages offer a modern approach by combining browser-native functionality (like Import Maps) with dynamic dependency sharing and runtime resolution. This allows for lightweight setups while still handling more complex requirements like version control of shared dependencies.</p><p><strong>Pros:</strong></p><ul><li>Minimal tooling: Relies on native browser features, reducing overhead.</li><li>Dynamic resolution: Dependencies and versions can be managed dynamically at runtime.</li><li>Extensible: Similar benefits to Webpack’s Module Federation but with less complexity.</li></ul><p><strong>Cons:</strong></p><ul><li>Newer technology: The ecosystem and community around these packages are still developing, so they may not be as mature as Webpack’s Federation.</li><li>Fewer advanced features: Lacks some of the more sophisticated features of Webpack, such as advanced caching strategies or optimisation techniques.</li></ul><h3>#4 Single-SPA</h3><p>Single-SPA is one of the more established frameworks for micro-frontends and allows multiple JavaScript frameworks (e.g., React, Angular, Vue) to coexist within a single application. It’s ideal if you’re dealing with a polyglot environment where different teams are working in different frameworks.</p><p><strong>Pros:</strong></p><ul><li>Framework-agnostic: Integrates different frameworks under one roof.</li><li>Customisable: Offers lifecycle hooks to manage the mounting and unmounting of micro-frontends.</li><li>Established: Backed by a large community and good documentation.</li></ul><p><strong>Cons:</strong></p><ul><li>Complexity: Managing multiple frameworks can add complexity to the application.</li><li>Learning curve: Requires a bit of time to get familiar with the framework’s lifecycle and orchestration methods.</li></ul><h3>#5 Piral</h3><p>A lesser-known option, designed to help build modular, independently deployable micro-frontends, with strong support for modern frameworks and extensibility through plugins.</p><p><strong>Pros:</strong></p><ul><li>Modular architecture: Ideal for independent module development.</li><li>Extensible: Built-in plugin system allows for high customisation.</li><li>Framework support: Works well out of the box with modern frameworks.</li></ul><p><strong>Cons:</strong></p><ul><li>Smaller ecosystem: Not as widely adopted, which may limit community support and resources.</li><li>Initial setup: There’s some complexity involved in setting up its modular architecture.</li></ul><h3>#6 Web Components</h3><p>Web Components are a standards-based way to build reusable, encapsulated components that work across different frameworks. This makes them a flexible option for micro-frontends, especially in a polyglot environment.</p><p><strong>Pros:</strong></p><ul><li>Framework-agnostic: Works with any frontend framework.</li><li>Native browser support: No need for additional libraries or frameworks.</li><li>Encapsulation: Strong isolation of styles and behaviour between micro-frontends.</li></ul><p><strong>Cons:</strong></p><ul><li>Complex integration: Web Components don’t always integrate seamlessly with popular frameworks.</li><li>Lack of tooling: Web Components don’t benefit from the same tooling that solutions like Webpack’s Module Federation offer.</li><li>Learning curve: For teams unfamiliar with Web Components, there’s a bit of a learning curve to implement them effectively.</li></ul><h3>#7 FrintJS</h3><p>FrintJS is a lightweight micro-frontend framework that provides built-in dependency injection and works well for modular development.</p><p><strong>Pros:</strong></p><ul><li>Lightweight: Minimal overhead compared to other solutions.</li><li>Dependency injection: Built-in support for sharing services and state between micro-frontends.</li><li>Framework support: Has first-class support for modern frameworks.</li></ul><p><strong>Cons:</strong></p><ul><li>Smaller community: FrintJS is less commonly used, which may limit available resources and support.</li><li>Unique architecture: Its dependency injection pattern may require a learning curve for teams used to traditional frontend frameworks.</li></ul><h3>Summary</h3><p>🥇 Federated Modules (Webpack or Vite) are a solid choice if you need dynamic module sharing and independent deployment at scale. For simpler setups, Import Maps or Native Federation offer lightweight alternatives with reduced tooling overhead.</p><p>If your project involves multiple frameworks, Single-SPA or Web Components may be the better fit, but they come with added complexity and learning curves. For teams focused on modularity and extensibility, Piral or FrintJS can be worth exploring.</p><p>By understanding the pros and cons of each approach, you can make an informed decision that best fits your team and project needs.</p><h3>Links</h3><p><strong>Federated Modules</strong></p><ul><li><a href="https://dev.to/abhi0498/react-micro-frontends-using-vite-30ah">https://dev.to/abhi0498/react-micro-frontends-using-vite-30ah</a></li><li><a href="https://alibek.dev/micro-frontends-with-nextjs-and-module-federation">h</a><a href="https://vercel.com/templates/next.js/microfrontends">ttps://vercel.com/templates/next.js/microfrontends</a></li><li><a href="https://github.com/vercel/examples/tree/main/solutions/microfrontends">https://github.com/vercel/examples/tree/main/solutions/microfrontends</a></li></ul><p><strong>Import Maps</strong></p><ul><li><a href="https://javascript.plainenglish.io/its-time-to-talk-about-import-map-micro-frontend-and-nx-monorepo-0b8e2c07568a">https://javascript.plainenglish.io/its-time-to-talk-about-import-map-micro-frontend-and-nx-monorepo-0b8e2c07568a</a></li><li><a href="https://www.mercedes-benz.io/blog/2023-01-05-you-might-not-need-module-federation-orchestrate-your-microfrontends-at-runtime-with-import-maps">https://www.mercedes-benz.io/blog/2023-01-05-you-might-not-need-module-federation-orchestrate-your-microfrontends-at-runtime-with-import-maps</a></li></ul><p><strong>Native Federation</strong></p><ul><li><a href="https://www.angulararchitects.io/en/blog/announcing-native-federation-1-0/">https://www.angulararchitects.io/en/blog/announcing-native-federation-1-0/</a></li><li><a href="https://www.npmjs.com/package/@softarc/native-federation">https://www.npmjs.com/package/@softarc/native-federation</a></li></ul><p><strong>Single-SPA</strong></p><ul><li><a href="https://github.com/single-spa/single-spa">https://github.com/single-spa/single-spa</a></li></ul><p><strong>Piral</strong></p><ul><li><a href="https://github.com/smapiot/piral">https://github.com/smapiot/piral</a></li></ul><p><strong>Web Components</strong></p><ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_components">https://developer.mozilla.org/en-US/docs/Web/API/Web_components</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adeae0829e53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rapid Prototyping: Build your v0 in 3m]]></title>
            <link>https://danw1ld.medium.com/rapid-prototyping-build-your-v0-in-3m-79d57e28dd2e?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/79d57e28dd2e</guid>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[prototyping]]></category>
            <category><![CDATA[rapid-prototyping]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Fri, 13 Sep 2024 05:04:20 GMT</pubDate>
            <atom:updated>2024-09-13T05:04:20.306Z</atom:updated>
            <content:encoded><![CDATA[<p>In the fast-paced world of software (and product) development, the ability to quickly prototype ideas is invaluable.</p><p>Enter v0 by Vercel, a tool that’s changed the game for UI prototyping. v0 allows developers to build React components in seconds, and prototypes in minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OkAGKPmeFbO_TBb3" /></figure><h3>What is v0?</h3><p>v0 is a new tool by Vercel that leverages the power of AI to streamline the process of creating UI components. It combines the flexibility of Tailwind CSS with the robustness of shadcn/ui, wrapped in an intuitive LLM (Large Language Model) interface.</p><h3>The 3-Minute Prototype Challenge</h3><p>I gave a recent demonstration which showed just how powerful v0 can be:</p><ul><li>Time: Approximately 3 minutes</li><li>Cost: Free (when built in public)</li><li>Engineering effort: Editing a single file</li></ul><p>This incredible speed and simplicity open up new possibilities for rapid iteration and experimentation in UI design.</p><h3>Step 1 — Develop</h3><p>Head to <a href="https://v0.dev/">https://v0.dev</a> and develop your UI component/s.</p><p>Here’s my toy example: <a href="https://v0.dev/r/bY4R4ekbQHj">https://v0.dev/r/bY4R4ekbQHj</a></p><h3>Step 2 — Integrate</h3><p>Integrate the components into your existing project, or create a new one: <a href="https://v0.dev/docs#integrating-generated-code-into-your-nextjs-app">https://v0.dev/docs#integrating-generated-code-into-your-nextjs-app</a></p><h3>Step 3 — Enhance (optional ✨)</h3><p>Use AI Agents to add more complex functionality. For my toy example — I had ChatGPT load some Dad Jokes from a live API (shoutout to <a href="https://icanhazdadjoke.com/">https://icanhazdadjoke.com</a> 😂).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nJWuyzGyABrk5rSM" /></figure><p>Bringing a static UI to life, with a little help from my friends (see: <a href="https://github.com/danwild/dadjokes).">https://github.com/danwild/dadjokes).</a></p><h3>Key Features and Capabilities of v0</h3><ol><li>AI-Powered Interface: v0 uses an LLM interface for Tailwind and shadcn/ui, adding some syntactic sugar to make component creation even easier.</li><li>Single Component Focus: The output is a single, well-crafted component, perfect for quick prototyping.</li><li>Rapid Custom UI Development: While it may not be suited for generating complex applications, v0 excels at quickly developing custom UI components.</li><li>Image-to-Code Generation: v0 includes a “generate from image” capability, though this feature is still being explored.</li><li>Future Data Integration: The next iteration of v0 is likely to include data-fetching capabilities, further expanding its utility.</li></ol><h3>Implications for UI/UX Design</h3><p>The emergence of tools like v0 is part of a larger trend in generative AI reshaping UI/UX design. As highlighted in a recent a16z article, these tools are changing the landscape of design, allowing for faster iteration and more creative exploration.</p><h3>Getting Started with v0</h3><p>If you’re interested in trying v0 for yourself, here are some helpful resources:</p><ul><li>v0 Homepage: <a href="https://v0.dev/">https://v0.dev</a></li><li>Integration Guide: <a href="https://v0.dev/docs#integrating-generated-code-into-your-nextjs-app">https://v0.dev/docs#integrating-generated-code-into-your-nextjs-app</a></li><li>shadcn/ui: <a href="https://ui.shadcn.com/">https://ui.shadcn.com</a></li><li>Radix UI: <a href="https://www.radix-ui.com/">https://www.radix-ui.com</a></li><li>Tailwind CSS: <a href="https://tailwindcss.com/">https://tailwindcss.com</a></li></ul><h3>Takeaways</h3><p>The ability to create React components in seconds, and prototypes in minutes 🚀 rather than hours represents a big leap forward for software and product development. Tools like v0 obviously do not replace the need for skilled developers and designers, but they provide an invaluable asset for (insanely) rapid ideation and experimentation.</p><p>As we continue to ride the rollercoaster of AI-assisted software development, it’s clear the future is becoming more accessible, efficient, and perhaps even more creative than ever before.</p><p>This article was also first posted on my LinkedIn: <a href="https://www.linkedin.com/pulse/rapid-prototyping-build-your-v0-3m-dan-wild-qt1df">https://www.linkedin.com/pulse/rapid-prototyping-build-your-v0-3m-dan-wild-qt1df</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79d57e28dd2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generative UI: Current Landscape]]></title>
            <link>https://danw1ld.medium.com/generative-ui-current-landscape-bc3738704e3d?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc3738704e3d</guid>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[user-experience]]></category>
            <category><![CDATA[user-interface]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Sun, 25 Aug 2024 09:56:09 GMT</pubDate>
            <atom:updated>2024-08-25T09:56:09.175Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Part one of a two part series on Generative User Interfaces.</blockquote><blockquote>Stay tuned for part two: <strong>Build a Prototype</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*PQP0zsifS0bCTOHx6WyUcw.png" /></figure><p>Generative UI is still an emerging field - so getting up to speed can feel a little convoluted.</p><p>This post offers a quick snapshot of the current landscape, we’ll cover:</p><ul><li><strong>What is Generative UI?</strong></li><li><strong>What libraries / tools do you need to build it?</strong></li><li><strong>Which products are using Generative UI successfully?</strong></li></ul><p>Plus: I threw in a few <a href="https://www.perplexity.ai/">Perplexity.ai</a> clones for good measure (if you’re interested in Generative UI for Web Search / Q&amp;A)</p><h3>What is Generative UI?</h3><p>Generative UI (often abbreviated to GenUI) is a relatively new and evolving field.</p><p>The terms “Generative UI” and “Generative Adaptive UI (GenAUI)” are sometimes used interchangeably. In essence, they refer to interfaces that <strong>automatically create and adapt UI elements in real-time</strong> based on user interactions, context, or data.</p><p><strong>Note:</strong> tools for building UIs using Generative AI might also be referred to as “Generative UI” in some contexts. However, this usage often lacks the <strong><em>‘real-time’ and ‘adaptive’</em></strong> qualities.</p><h3>Tools for Building Generative UI Applications</h3><p>What tools can you use today to build you own Generative UI products?</p><h4>Vercel’s AI SDK</h4><h4><strong>Description</strong></h4><blockquote>... gives you the tools you need to build AI-powered products <br>… stream React Components from LLMs to deliver richer user experiences.</blockquote><p>The more you look around, the more you will notice Vercel’s AI SDK is powering pretty much <em>all</em> Generative UI apps in the wild. Heck — even Perplexity has gone all in, <a href="https://www.linkedin.com/posts/rauchg_perplexity-activity-7230918584871370752-zC5-?utm_source=share&amp;utm_medium=member_desktop">their platform is also running on Vercel’s NextJS.</a></p><h4><strong>Links</strong></h4><ul><li><a href="https://sdk.vercel.ai/">Vercel AI SDK</a></li><li>GenUI Chat demo: <a href="https://chat.vercel.ai/">Vercel Chat</a></li><li>Release article: <a href="https://vercel.com/blog/ai-sdk-3-generative-ui">AI SDK Release</a></li></ul><h4><strong>Notable Features</strong></h4><ul><li>Provides templates with concrete GenUI examples like <a href="https://vercel.com/templates/next.js/gemini-ai-chatbot">Gemini AI Chatbot</a>.</li><li>“Unified API” for AI providers such as <a href="https://sdk.vercel.ai/providers/ai-sdk-providers/openai">OpenAI</a>, <a href="https://sdk.vercel.ai/providers/ai-sdk-providers/anthropic">Anthropic</a>, and <a href="https://sdk.vercel.ai/providers/ai-sdk-providers/google-generative-ai">Google</a>.</li></ul><h4><strong>License/Cost</strong></h4><p>Apache License, Version 2.0.</p><h4><strong>Notes/Comments</strong></h4><p>In my limited experience with Vercel, their docs tend to look shiny but are often out of date (e.g. page vs app router hell).</p><h3><strong>Langchain.js and Langchain Python (&amp; LangGraph)</strong></h3><h4><strong>Description</strong></h4><p>Develop applications powered by language models.</p><h4><strong>Links</strong></h4><ul><li><a href="https://js.langchain.com/v0.2/docs/how_to/generative_ui">Langchain.js Documentation</a></li><li><a href="https://github.com/bracesproul/gen-ui">Gen UI (JavaScript)</a></li><li><a href="https://github.com/bracesproul/gen-ui-python">Gen UI (Python)</a></li><li><a href="https://www.youtube.com/watch?v=mL_KuQgX9Oc">Demo Video</a></li></ul><h4><strong>Notable Features</strong></h4><p>Demos provide clear examples of tools that perform functions like loading data. Reduced reliance on Vercel might be considered a plus.</p><h4><strong>License/Cost</strong></h4><p>The MIT License.</p><h4><strong>Notes/Comments</strong></h4><p>Still uses Vercel’s AI SDK.</p><h3><strong>OpenV0</strong></h3><h4><strong>Description</strong></h4><p>An open-source clone of Vercel’s v0.</p><h4><strong>Links</strong></h4><p><a href="https://github.com/raidendotai/openv0">OpenV0 GitHub</a></p><h4><strong>Notable Features</strong></h4><p>Rapidly produce React UI code.</p><h4><strong>License/Cost</strong></h4><p>MIT License.</p><h4><strong>Notes/Comments</strong></h4><p>Project now appears to be abandoned, but still provides a concrete example of generating UI components in real-time.</p><h3>Examples of Generative UI as a Product</h3><p>Who is using Generative UI, and doing it well?</p><h3><strong>v0 by Vercel</strong></h3><h4><strong>Description</strong></h4><p>Build React UIs via chat.</p><h4><strong>Links</strong></h4><p><a href="https://v0.dev/">v0.dev</a></p><h4><strong>Notable Features</strong></h4><p>Rapidly produce UI code.</p><h4><strong>Notes/Comments</strong></h4><p>Results are quite good. <br>Pro tip: once you get a component you like, ask for a loading skeleton too.</p><h3><strong>Perplexity</strong></h3><h4><strong>Description</strong></h4><blockquote>AI-powered Swiss Army Knife for information discovery.</blockquote><h4><strong>Links</strong></h4><p><a href="https://www.perplexity.ai/">Perplexity</a></p><h4><strong>Notable Features</strong></h4><p>A leader in the use of Generative UI in commercial products.</p><h4><strong>Notes/Comments</strong></h4><p>Perplexity has invested heavily in the UX of Generative AI.</p><h3>Perplexity Clones</h3><p>Examples of how todevelop Generative UI’s for general web search / Q&amp;A capability.</p><h3><strong>Morphic</strong></h3><h4><strong>Links</strong></h4><ul><li><a href="https://github.com/miurla/morphic">GitHub</a></li><li><a href="https://www.morphic.sh/">Website</a> (Website was down when I visited on 23/8/24)</li></ul><h4><strong>Notable Features</strong></h4><p>Can be configured to be the default search engine in your browser.</p><h4><strong>License/Cost</strong></h4><p>Apache License, Version 2.0.</p><h4><strong>Notes/Comments</strong></h4><p>Uses Vercel’s AI SDK.</p><h3><strong>Mindpedia</strong></h3><h4><strong>Links</strong></h4><ul><li><a href="https://github.com/MindPal-Space/Mindpedia">GitHub</a></li><li><a href="https://search.mindpal.io/">Search</a></li></ul><h4><strong>Notable Features</strong></h4><p>Uses Vercel’s AI SDK. From <a href="https://mindpal.space/">MindPal Space</a>, which provides wrappers to assist with multi-agent workflows.</p><h4><strong>License/Cost</strong></h4><p>No license specified.</p><h3><strong>ClarityAI</strong></h3><h4><strong>Links</strong></h4><ul><li><a href="https://github.com/mckaywrigley/clarity-ai">GitHub</a></li></ul><h4><strong>Notable Features</strong></h4><p>Uses Vercel’s AI SDK.</p><h4><strong>License/Cost</strong></h4><p>MIT License.</p><h3><strong>Omniplex</strong></h3><h4><strong>Links</strong></h4><ul><li><a href="https://github.com/Omniplex-ai/omniplex">GitHub</a></li><li><a href="https://omniplex.ai/">Website</a></li></ul><h4><strong>Notable Features</strong></h4><p>Uses Vercel’s AI SDK.</p><h4><strong>License/Cost</strong></h4><p>GNU Affero General Public License v3.0.</p><h3>Related Articles</h3><h4><strong>General</strong></h4><ul><li><a href="https://a16z.com/how-generative-ai-is-remaking-ui-ux-design/">How Generative AI is Remaking UI/UX Design (A16Z)</a></li></ul><h4><strong>On Accessibility</strong></h4><ul><li><a href="https://jakobnielsenphd.substack.com/p/accessibility-generative-ui">Accessibility &amp; Generative UI (Substack)</a></li><li><a href="https://www.linkedin.com/pulse/beyond-nielsens-vision-realities-generative-ui-dr-keith-newton-azw6c/">Beyond Nielsen’s Vision: Realities of Generative UI (LinkedIn)</a></li></ul><h3>What Else?</h3><p>What did I miss??</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*9SmUc08BrbrmuotrtxG11A.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc3738704e3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Adaptive User Interfaces (AUI)]]></title>
            <link>https://danw1ld.medium.com/understanding-adaptive-user-interfaces-aui-99a152549766?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/99a152549766</guid>
            <category><![CDATA[user-interface]]></category>
            <category><![CDATA[adaptive-design]]></category>
            <category><![CDATA[user-experience-design]]></category>
            <category><![CDATA[user-experience]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Mon, 19 Aug 2024 23:49:09 GMT</pubDate>
            <atom:updated>2024-08-19T23:49:09.346Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*nniMKNWJLTv_lyAJUhk-nA.jpeg" /><figcaption>Credit: <a href="https://speckyboy.com/adaptive-user-interfaces/">https://speckyboy.com</a></figcaption></figure><p>Adaptive User Interfaces (AUI) are revolutionising how users interact with digital systems by tailoring the experience to individual needs. But what exactly is an AUI?</p><p>Wikipedia defines it as:</p><blockquote>“A user interface (UI) which adapts, that is, changes its layout and elements to the needs of the user or context and is similarly alterable by each user.”</blockquote><p>In simpler terms, AUIs are interfaces that dynamically adjust based on who is using them and the context in which they are being used.</p><h4>The Advantages and Challenges of AUI</h4><p><strong>Advantages:</strong><br>AUIs help users access the most important information quickly, reducing confusion and streamlining interaction.</p><p><strong>Disadvantages:</strong><br>The main challenge lies in accurately determining a user’s goal to adapt the interface effectively.</p><h4>How AUIs Adapt: Output and Input</h4><p>AUIs can adapt in two primary ways: by changing the content (adaptive presentation) or by modifying how users interact with the system (adaptive navigation).</p><p><strong>#1 Adaptive Presentation</strong></p><ul><li><strong>Example:</strong> Basic users might see simplified content, while advanced users get more detailed information.</li></ul><p><strong>#2 Adaptive Navigation</strong></p><ul><li><strong>Example:</strong> Basic users could be guided with help prompts, creating a more curated experience.</li></ul><h4>Triggers for AUI Adaptation: Input Metrics</h4><p>The drivers behind AUI changes can vary, such as:</p><ul><li><strong>Device/Hardware:</strong> Does the user have a touch screen, mouse, or keyboard? Is Augmented Reality (AR) in play?</li><li><strong>Environment:</strong> Is the user in a low-light area? Is there background noise? Is their battery about to run out?</li><li><strong>User Context:</strong> Are they a casual browser or a power user?</li></ul><p><strong>Determining User Needs: User Proficiency Estimation</strong></p><p>Understanding a user’s proficiency is key, and can be captured at roughly three levels:</p><ul><li><strong>Simple Metrics:</strong> such as those attached to their user profile / identify in the system (e.g. how much time has elapsed since they first registered)</li><li><strong>Advanced Analytics:</strong> that capture a larger picture of how a user interacts with the system (e.g. how frequent do they visit? which parts of the system? how long? which buttons do they press?) Many well established tools in this space (e.g. Google Analytics)</li><li><strong>Behavioral/Predictive Analytics:</strong> Tools like Mixpanel and FullStory can estimate user proficiency based on their interactions, or bespoke ML models can be used.</li></ul><h4>Tools for Implementing AUI</h4><p>Most modern UI libraries (like React, Vue, Angular) support adaptive UIs, allowing developers to render components based on various data models. Google’s Flutter, for instance, offers a great resource for building adaptive and responsive UIs <a href="https://docs.flutter.dev/ui/adaptive-responsive">here</a>.</p><p><strong>Input Metrics Examples:</strong></p><ul><li><strong>User Context:</strong> Captured through tools like Google Analytics.</li><li><strong>Device/Hardware:</strong> Simple metrics via CSS Media Queries.</li><li><strong>Environment:</strong> APIs like AmbientLightSensor, Web Audio API, Geolocation API, and Accelerometer.</li></ul><h3>Conclusion</h3><p>AUIs offer a powerful way to enhance user experience by adapting to individual needs and contexts.</p><p>The biggest challenge however — lies in <em>accurately</em> determining what a user needs (the difficulty of which can vary greatly depending on the type of system and its users).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99a152549766" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UX Smack-Down: The “Junk Drawer” Problem]]></title>
            <link>https://medium.com/design-bootcamp/ux-smack-down-the-junk-drawer-problem-a80b4e80a566?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/a80b4e80a566</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[information-architecture]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[user-experience]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Tue, 17 Oct 2023 04:27:17 GMT</pubDate>
            <atom:updated>2023-10-22T00:39:37.252Z</atom:updated>
            <content:encoded><![CDATA[<h3>UX Fails: The “Junk Drawer” Problem</h3><h4>Where do *you* keep your rubber bands and sticky tape?</h4><h3>Ah, the Junk Drawer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCK-g--PTlIKUAjaFPM15w@2x.jpeg" /><figcaption>Actual footage of my junk drawer. There’s playdough.</figcaption></figure><p>The dumping ground.</p><p>It’s typically in the kitchen, and accumulates a myriad of “stuff” that doesn’t have a designated place elsewhere in the house. It often serves as a catch-all for things that people don’t want to throw away, but aren’t sure where else to store.</p><p>Over time, the drawer becomes cluttered, leading people to occasionally sift through it and either organize or discard its contents. The very nature of a junk drawer is that <strong>it’s a bit disorganised and full of miscellaneous items.</strong></p><h3>Bottom Navigations</h3><p>See <a href="https://danw1ld.medium.com/ux-smack-down-bottom-navigation-fails-3d79fcec167">my previous rant on Bottom Navigations</a> for a little more background – but essentially the UI for these navigations must use screen realestate extremely sparingly, as they are persistent in the users viewport.</p><p>The general rule is to limit Bottom Navigations to just 3–5 navigation items.</p><p>That’s not a lot of items.. *ominous music*</p><h3>The Anti-Pattern</h3><p>A common anti-pattern that has now emerged in the Bottom Navigation paradigm is the use of the ‘User/Profile/Me” tab as a dumping ground for various miscellaneous screens that don’t easily fall within other tabs, i.e. the dreaded “junk drawer”.</p><h3>Example #1: Domain</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*GNHp12H5CoV-cy5SPqtaXw@2x.jpeg" /><figcaption>Image credit: Domain</figcaption></figure><p>In this example, Domain uses an “Account” tab.</p><p>In addition to the “Preferences/settings” that you would expect – a bunch of sticky tape and rubber bands (err, I mean “Utilities”) have also been thrown in the drawer too.</p><h3>Example #2: Airbnb</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*RjX24MnCc6Q9P_GWcPbyoQ@2x.jpeg" /><figcaption>Image credit: Airbnb</figcaption></figure><p>Similarly, in the Airbnb app example, a “Profile” tab is used.</p><p>And again, in addition to the personal “Preferences” and “settings” that you might reasonably expect – a ruler and some old receipts (err, I mean “Tools”, and “Legal” stuff) has also been tossed in for good measure.</p><h3>How “anti” is the pattern?</h3><p>“If not here, where” you might ask?</p><p>“The junk drawer is a good place to find things”, you might add.</p><p>And you’re probably right.</p><p>Digital UX patterns tend to mimic the patterns and behaviour of the physical environments we are all used to.</p><p>The fact that junk drawers are the rule and not the exception <em>in our households</em> is probably a fair indication that this pattern does<em> </em>at least share some alignment with typical human behaviour.</p><p>However, just because a bunch of people behave a certain way – doesn’t mean it’s the <em>best</em> way to get things done.</p><h3>Solution: call a spade a spade?</h3><p>Here’s one way to do it, just be honest and rename the tab to be called “Menu” 😅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*dk2LgKnz-4oAzZ4ec-NRKQ@2x.jpeg" /><figcaption>Image credit: Facebook</figcaption></figure><p>Thoughts? Ideas? Criticisms?</p><p>A better way?</p><p>Let me know!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a80b4e80a566" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/ux-smack-down-the-junk-drawer-problem-a80b4e80a566">UX Smack-Down: The “Junk Drawer” Problem</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UX Smack-Down: Bottom Navigation Fails]]></title>
            <link>https://danw1ld.medium.com/ux-smack-down-bottom-navigation-fails-3d79fcec167?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d79fcec167</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Wed, 27 Sep 2023 10:43:03 GMT</pubDate>
            <atom:updated>2023-09-27T22:53:47.249Z</atom:updated>
            <content:encoded><![CDATA[<h2>UX Smack-Down: Bottom Navigation Fail</h2><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*ysWxRmT1HwJ6jx3wcotpZg.jpeg" /><figcaption>Image Credit: <a href="https://www.thefightcity.com/top-12-all-time-greatest-one-punch-knockouts/">The Fight City.</a></figcaption></figure><h3>History (how did we get here?)</h3><p>Once upon a time, there was the simple Navigation Drawer with a Hamburger icon.</p><p>Life was simple.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*1fdCFs-kVYrWSgFRFBrVOw.gif" /><figcaption>Image Credit: <a href="https://blog.logrocket.com/author/pinkeshdarji/">Pinkesh Darji</a> via <a href="https://blog.logrocket.com/how-to-add-navigation-drawer-flutter/">LogRocket</a></figcaption></figure><p>Then, for some fairly compelling reasons (e.g. fewer clicks, easier thumb reach with ever larger devices), Navigation Drawers were gradually replaced by navigation components which were persistently pinned to the bottom of a screen, ala “Bottom Navigation”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*EnW-1Udms0lrvFq4yWD0-w.png" /><figcaption>Mapping of the ‘thumb zones’. Image credit: <a href="https://www.smashingmagazine.com/2016/09/the-thumb-zone-designing-for-mobile-users/">Smashing Magazine</a>.</figcaption></figure><p>As Navigation Drawers are an “off stage” element (they are hidden unless summoned by the user), they are afforded more screen realestate when they become visible. This increased realestate means that developers typically don’t think twice about including <strong>textual labels for each navigation item.</strong></p><p>Conversely, Bottom Navigations are persistent across all screens of an application, which means they must use <strong>minimal</strong> screen realestate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*yTcun9Un7Q2Nxnp4FWfSdQ.png" /><figcaption>Facebook’s Bottom Navigation. Image Credit: <a href="http://smashingmagazine.com/2016/11/the-golden-rules-of-mobile-navigation-design/">Smashing Magazine.</a></figcaption></figure><p>Presumably, it is for this reason – that some developers have decided to throw caution to the wind, and drop textual labels from their navigations altogether… often at their peril.</p><h3>Sometimes textual labels CAN safely be ignored.</h3><p>One of the golden rules of Bottom Navigation’s is – <strong>do NOT drop textual labels unless it is 100% certain that all users will know what the icon means.</strong></p><h4>Instagram</h4><p>A good example of this is Instagram, which has 5x icons in their Bottom Navigation. The intent of each icon is immediately clear:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A7gK96QMVBu5v52XWAQVfQ.jpeg" /><figcaption>Image Credit: <a href="https://www.instagram.com/">Instagram</a>.</figcaption></figure><p>i.e. left to right, we implicitly understand the meaning of each icon:</p><ol><li>Go <strong>Home</strong></li><li><strong>Search</strong> for stuff</li><li><strong>Add</strong> something <strong>new</strong></li><li>Something about <strong>Videos</strong></li><li>My <strong>Profile</strong></li></ol><h4>Apple iOS Camera</h4><p>Curiously, Apple has sidestepped the typical icons for ‘Edit’ in the Bottom Navigation of their iOS Photo’s application (e.g. a pen), and instead opted to employ a mix of sans-label icons <em>and</em> plain text:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RDcYEzae3zkz_MXG9-WOtA.jpeg" /><figcaption>Apple’s iOS use of mixed icons and text. Image Credit: <a href="https://www.apple.com/">Apple</a>.</figcaption></figure><h3>It’s better to be safe, than sorry</h3><p>Unfortunately, there are all too many examples of people forgetting this simple rule, and failing to include textual labels despite the use of icons that are <em>ambiguous at best.</em></p><h4>HipCamp</h4><p>While on the ‘Search’ tab, a <strong>map</strong> icon is displayed on a floating button at the bottom of the screen. You may correctly assume this map icon indicates an interactive map view.</p><p>However, the <em>same </em>map icon (albeit with a different fill) used in the Bottom Navigation has a <em>completely different</em> purpose.</p><p>When I clicked the <strong>Map</strong> icon in the Bottom Navigation, this was <em>not</em> what I was expecting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-B32rtqQJeGVxANuUJoCFQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9IQkVmKXipHQI8qnfEvrQ.png" /><figcaption>Image Credit: <a href="https://www.hipcamp.com/">HipCamp</a>.</figcaption></figure><h4>Camps Australia Wide</h4><p>In this example, the Bottom Navigation for Camps Australia Wide confusingly uses an circle “Add” icon for what might be considered “More”, or “Menu”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yVF7eowY8e5nGlNyl8BLyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_yzTx1-Cda0I9SQmfZtGWQ.png" /><figcaption>Image Credit: Camps Australia Wide.</figcaption></figure><h3>Conclusion</h3><p>Hopefully the conclusion is clear 😉.</p><ul><li>Text typically trumps Icons.</li><li>Icons should typically be used to support text, not replace it.</li><li><strong>If you’re not sure, use text.</strong></li></ul><p>Got other ideas? Let me know!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d79fcec167" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You CAN embed a flutter app in a HTML tag (without an iFrame!)]]></title>
            <link>https://danw1ld.medium.com/you-can-embed-a-flutter-app-inside-an-html-page-617991cab96?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/617991cab96</guid>
            <category><![CDATA[app-development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter-web]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Wed, 06 Sep 2023 00:47:41 GMT</pubDate>
            <atom:updated>2023-09-06T01:30:15.703Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CmZGc7VSJJ8xtHN8y_7guA.png" /><figcaption>Image: <a href="https://developers.googleblog.com/2019/05/Flutter-io19.html">https://developers.googleblog.com/2019/05/Flutter-io19.html</a></figcaption></figure><p>I’ve been evaluating Flutter for a new project, and one question I had was: can a flutter web app be embedded inside a HTML page (or a React app for example).</p><p>There was quite a lot of old/contradictory information on the interwebs (surprise 😆), e.g. a heap of workarounds (e.g. <a href="https://medium.com/flutter/how-to-embed-a-flutter-application-in-a-website-using-dartpad-b8fd0ee8c4b9">DartPad</a>), and the dreaded iframe.. (although this still has a place, and is referenced in <a href="https://docs.flutter.dev/deployment/web#iframe">the docs</a>).</p><h3>Why tho?</h3><p>A <em>number</em> of reasons. Common ones include:</p><ul><li>concerns about <a href="https://docs.flutter.dev/platform-integration/web/faq#search-engine-optimization-seo">Flutters poor SEO support</a> want the option to “wrap” their applications with some search-engine readable metadata</li><li>ability to migrate to Flutter from other frameworks <em>incrementally</em></li></ul><h3>TL;DR; Since v3.10 you can embed a Flutter web app into any HTML element of your web page</h3><blockquote>To tell Flutter web in which element to render, use the hostElement parameter of the initializeEngine function:</blockquote><pre>&lt;html&gt;<br>  &lt;head&gt;<br>    &lt;!-- ... --&gt;<br>    &lt;script src=&quot;flutter.js&quot; defer&gt;&lt;/script&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br><br>    &lt;!-- Ensure your flutter target is present on the page... --&gt;<br>    &lt;div id=&quot;flutter_host&quot;&gt;Loading...&lt;/div&gt;<br><br>    &lt;script&gt;<br>      window.addEventListener(&quot;load&quot;, function (ev) {<br>        _flutter.loader.loadEntrypoint({<br>          onEntrypointLoaded: async function(engineInitializer) {<br>            let appRunner = await engineInitializer.initializeEngine({<br>              // Pass a reference to &quot;div#flutter_host&quot; into the Flutter engine.<br>              hostElement: document.querySelector(&quot;#flutter_host&quot;)<br>            });<br>            await appRunner.runApp();<br>          }<br>        });<br>      });<br>    &lt;/script&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>See the <a href="https://docs.flutter.dev/deployment/web#hostelement">flutter docs</a>, or this <a href="https://flutter.github.io/samples/web_embedding.html">interactive demo</a> for more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=617991cab96" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to crop an image with CSS (the simple way)]]></title>
            <link>https://danw1ld.medium.com/how-to-crop-an-image-the-simple-way-with-css-302feb18e0c7?source=rss-37fd195953cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/302feb18e0c7</guid>
            <category><![CDATA[crop-image]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[image-editing]]></category>
            <category><![CDATA[clip-path]]></category>
            <dc:creator><![CDATA[Daniel Wild]]></dc:creator>
            <pubDate>Tue, 21 Jun 2022 04:59:10 GMT</pubDate>
            <atom:updated>2022-07-05T00:31:57.384Z</atom:updated>
            <content:encoded><![CDATA[<p>If you try a simple search for “crop image CSS”, you may quickly go down a rabbit hole of convoluted methods 😰, including wrapper &lt;div&gt;’s with overflow:hidden or wildly complex SVG PATH examples… but what if you simply want to crop an image by rectangle as you would with a GUI app like Gimp, or Photoshop?</p><h3>How to crop an image with CSS?</h3><p>What you probably need is: <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path">clip-path</a> with the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape/inset">rectangular inset option</a>.</p><p>Unlike some of the other approaches, this can even work with responsive images, as you can use percentage values for the inset. It also has <a href="https://caniuse.com/css-clip-path">pretty good browser support</a>.</p><p>Here’s what it looks like:</p><pre><em>clip-path</em>: inset(top right bottom left);</pre><p>So , for example — here’s that rabbit hole we wanted to avoid:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qg2j_XCzMOo_MoYiXijI7Q.jpeg" /><figcaption>Image credit: <a href="https://commons.wikimedia.org/wiki/User:Jin_Zan">Jin Zan</a></figcaption></figure><p>to crop 10% from all edges of the image, we simply use:</p><pre><em>clip-path</em>: inset(10% 10% 10% 10%);</pre><p>Our rabbit hole now looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S0GVkPSTnQ4JC92VQZqrAA.png" /><figcaption>Image credit: <a href="https://commons.wikimedia.org/wiki/User:Jin_Zan">Jin Zan</a></figcaption></figure><p>That’s it!</p><p>If you have a better way — please let me know in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=302feb18e0c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>