[{"data":1,"prerenderedAt":216},["ShallowReactive",2],{"home-posts-en":3},[4,111],{"id":5,"title":6,"authorImage":7,"authorLink":8,"authorName":9,"body":10,"cta":94,"date":99,"description":100,"draft":101,"excerpt":7,"extension":102,"image":7,"meta":103,"navigation":104,"path":105,"seo":106,"startHere":101,"stem":107,"tags":108,"__hash__":110},"posts\u002Fblog\u002Ftemplate-demo-is-not-the-code.md","The demo is not the code",null,"\u002Fabout","A. Lee",{"type":11,"value":12,"toc":85},"minimark",[13,17,20,25,28,31,35,38,41,44,48,51,54,57,61,69,72,75,79,82],[14,15,16],"p",{},"A live demo answers one question well: does this feel like the thing I need? It cannot answer the next question, which is whether you can still change it in six months. The demo runs on the maker's machine, with sample data, along a path that was tested for the recording.",[14,18,19],{},"The source is the part you take home. Here is what to check before you decide.",[21,22,24],"h2",{"id":23},"what-the-demo-proves","What the demo proves",[14,26,27],{},"A demo proves that a layout exists, that the main flow works, and that someone cared enough to finish the visible states. That is useful. It is also the cheapest part of a product to judge, because every template maker knows the demo will be watched.",[14,29,30],{},"It does not prove that the code is organised, that the upgrade path is short, or that the licence covers the way you plan to use it. None of those show up in a browser tab.",[21,32,34],{"id":33},"read-the-first-screen-as-an-editor","Read the first screen as an editor",[14,36,37],{},"Open the file behind the screen you just used. You are not looking for beautiful code. You are looking for boundaries.",[14,39,40],{},"Can you rename a label without opening the payment logic? Is the screen split into data loading, state, and presentation, or is all of it in one component? Are colours and spacing named once, or repeated as one-off values?",[14,42,43],{},"The answer predicts the cost of your first change better than any feature list.",[21,45,47],{"id":46},"follow-one-change-through-the-app","Follow one change through the app",[14,49,50],{},"Pick something small that you would genuinely want to change: add a field to a form, rename a route, replace an empty state, or change how a list is sorted.",[14,52,53],{},"Then count the files touched. A small change that stays in one place is a good sign. A label change that crosses five layers is a warning: every future request will cross the same five layers.",[14,55,56],{},"Templates are not supposed to remove all work. They are supposed to remove the work you did not choose.",[21,58,60],{"id":59},"check-the-boring-files","Check the boring files",[14,62,63,64,68],{},"The README and ",[65,66,67],"code",{},".env.example"," tell you whether setup was tested on a machine that was not the author's. A template without setup notes is a puzzle, not a product.",[14,70,71],{},"Run the tests. If there are none, read the scripts and see what \"build\" actually does. Look for migrations or schema files: they show whether data can move with the code. Read the dependency list for packages that are abandoned or pinned to an old framework version.",[14,73,74],{},"Finally, find the licence in the repository. Check personal and client use, deployment, and resale. A licence summary on a sales page is a convenience; the licence file is the agreement.",[21,76,78],{"id":77},"a-demo-is-a-promise-the-source-is-the-contract","A demo is a promise, the source is the contract",[14,80,81],{},"The demo says: this is the shape of the product. The source says: this is the work you are taking on.",[14,83,84],{},"Both matter. Only one of them will still be in front of you after the launch week.",{"title":86,"searchDepth":87,"depth":87,"links":88},"",2,[89,90,91,92,93],{"id":23,"depth":87,"text":24},{"id":33,"depth":87,"text":34},{"id":46,"depth":87,"text":47},{"id":59,"depth":87,"text":60},{"id":77,"depth":87,"text":78},{"title":95,"description":96,"label":97,"sku":98},"Compare the demo with the source.","Framright lists the stack, setup requirements, and licence beside the live preview. Read both before you pay.","Get Framright source — USD 79","templates-kit-framright-source-usd","2026-11-23","What to inspect in a template before you buy it: screen structure, change paths, setup notes, tests, and the licence that travels with the code.",false,"md",{},true,"\u002Fblog\u002Ftemplate-demo-is-not-the-code",{"title":6,"description":100},"blog\u002Ftemplate-demo-is-not-the-code",[109],"choosing a codebase","9PREF6-tSvPnmrVouoejKWxROTdhe-wRIvlONY2Ah78",{"id":112,"title":113,"authorImage":7,"authorLink":8,"authorName":9,"body":114,"cta":202,"date":207,"description":208,"draft":101,"excerpt":7,"extension":102,"image":7,"meta":209,"navigation":104,"path":210,"seo":211,"startHere":101,"stem":212,"tags":213,"__hash__":215},"posts\u002Fblog\u002Freading-order-for-inherited-code.md","A reading order for inherited code",{"type":11,"value":115,"toc":194},[116,119,122,126,129,132,135,139,142,145,148,152,155,158,161,165,168,171,174,178,181,184,188,191],[14,117,118],{},"Inheriting a codebase feels like being handed a novel with the first hundred pages missing. The instinct is to start reading from the beginning and hope the plot returns. That rarely works.",[14,120,121],{},"A better approach is to read for structure first. The goal is not to know every file. The goal is to build a map good enough to make one safe change, then another.",[21,123,125],{"id":124},"run-it-before-you-read-it","Run it before you read it",[14,127,128],{},"Get the application running before you form an opinion about the code. Follow the setup notes, or write them if they are missing. Open every screen. Click the main flow. Watch the logs while you do it.",[14,130,131],{},"Runtime behaviour narrows the search space. If the export button calls a queue, you know where to look. If the settings page never writes anything, you have found a question worth asking before you touch the settings code.",[14,133,134],{},"Write down every step that failed. Those failures are the first entries in your map.",[21,136,138],{"id":137},"follow-one-request","Follow one request",[14,140,141],{},"Choose one user action: sign in, save a record, start a checkout, load a report. Follow it from the click to the database and back.",[14,143,144],{},"At each boundary, write down the name of the function, the module, or the service that hands work to the next layer. You do not need to understand the implementation yet. You need the shape of the path.",[14,146,147],{},"When the path is clear, repeat it once. Two paths that share a boundary tell you where the application's real seams are.",[21,149,151],{"id":150},"find-where-money-moves","Find where money moves",[14,153,154],{},"In a commercial product, the money path deserves its own reading. Find the checkout, the payment provider call, the webhook handler, and the code that grants access after payment.",[14,156,157],{},"Then read the failure branches. What happens when the provider times out? When the same event arrives twice? When a refund lands after the file was delivered? These paths are usually shorter than the feature code and far more expensive to get wrong.",[14,159,160],{},"If you cannot find the money path, stop and find it before you change anything else.",[21,162,164],{"id":163},"read-the-tests-that-fail","Read the tests that fail",[14,166,167],{},"Do not read the whole test suite. Run it. Failures show you where the repository's assumptions and its current behaviour have drifted apart.",[14,169,170],{},"Then read a few tests that pass. A test that asserts a real outcome is documentation you can trust. A test that only checks that a function was called is a rumour.",[14,172,173],{},"If the suite is green but the application is broken, the tests are measuring the wrong thing. That is a finding, not a nuisance.",[21,175,177],{"id":176},"make-a-deletion-list","Make a deletion list",[14,179,180],{},"Before you add anything, list what can go: dead feature flags, unused dependencies, duplicate helpers, commented-out code, screens nobody can reach.",[14,182,183],{},"Deleting is the cheapest way to understand a system. Every removed path is one less thing to keep in your head. Keep the list visible and remove one item at a time, with a test or a manual check after each change.",[21,185,187],{"id":186},"write-the-map-you-wish-you-had","Write the map you wish you had",[14,189,190],{},"Keep one page in the repository: entry points, background jobs, external services, data stores, scheduled tasks, and the person or team that owns each one. Add the commands that actually work.",[14,192,193],{},"The next person may be you in a year. A good map is the kindest thing you can leave behind.",{"title":86,"searchDepth":87,"depth":87,"links":195},[196,197,198,199,200,201],{"id":124,"depth":87,"text":125},{"id":137,"depth":87,"text":138},{"id":150,"depth":87,"text":151},{"id":163,"depth":87,"text":164},{"id":176,"depth":87,"text":177},{"id":186,"depth":87,"text":187},{"title":203,"description":204,"label":205,"sku":206},"Practise on a codebase you can keep.","GutSync's source is free: a Flutter app with local storage, food data, and platform shells. Read it end to end.","Get GutSync source — free","templates-app-gutsynced-source-usd","2026-11-22","A practical sequence for taking over an unfamiliar codebase: run it, follow one request, trace the money, read the failing tests, and make a deletion list.",{},"\u002Fblog\u002Freading-order-for-inherited-code",{"title":113,"description":208},"blog\u002Freading-order-for-inherited-code",[214],"taking over code","E3HlHd-76fp_VImkKVshJVhgfPshE7KCxrk4GD8wQik",1795791706253]