<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>domain-modeling on 林協霆醫師</title><link>/tags/domain-modeling/</link><description>林協霆醫師 (domain-modeling)</description><generator>Hugo -- gohugo.io</generator><language>zh-tw</language><image><url>https://htl.physician.tw/favicon-32x32.png</url><title>林協霆醫師</title><link>https://htl.physician.tw/</link><width>32</width><height>32</height></image><webfeeds:icon>https://htl.physician.tw/favicon-32x32.png</webfeeds:icon><webfeeds:logo>https://htl.physician.tw/android-chrome-512x512.png</webfeeds:logo><webfeeds:accentColor>5bbad5</webfeeds:accentColor><lastBuildDate>Wed, 22 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="/tags/domain-modeling/index.xml" rel="self" type="application/rss+xml"/><item><title>ashop：以 Python 探索小型商店資訊系統雛形的個人實驗</title><link>/blog/ashop-2026-04-22/</link><pubDate>Wed, 22 Apr 2026 00:00:00 +0000</pubDate><guid>/blog/ashop-2026-04-22/</guid><description>&lt;h2 id="introduction引言" >
&lt;div>
&lt;a href="#introduction%e5%bc%95%e8%a8%80">
#
&lt;/a>
Introduction（引言）
&lt;/div>
&lt;/h2>
&lt;p>對於主要工作於醫療領域的工程師而言，刻意涉入其他領域（如零售、餐飲）能反向幫助理解「資訊系統的共通結構」：商品、庫存、訂單、會員、優惠等概念在多數產業皆有對應實體。本專案以小型商店為虛擬情境，作為個人練習領域建模、Python 後端設計與資料庫互動的實驗素材。&lt;/p>
&lt;h2 id="methods方法" >
&lt;div>
&lt;a href="#methods%e6%96%b9%e6%b3%95">
#
&lt;/a>
Methods（方法）
&lt;/div>
&lt;/h2>
&lt;p>實作以 Python 為主，遵循從最小可行版本逐步擴張的方法：先以資料類別與簡單檔案儲存實作核心領域物件（商品、訂單、客人），再引入 SQLite／SQL 資料層、API 介面與基礎權限控制。每一步皆刻意保持程式碼可讀性，並紀錄設計決策的理由，以利日後回顧。&lt;/p>
&lt;p>雖然並非真實上線專案，但採用如同臨床研究般的嚴謹態度：撰寫測試以驗證關鍵業務規則、以版本控制紀錄重大重構、並維護精簡而清楚的 README。透過此一過程，作者能在脫離醫療領域慣性後，以更通用的眼光審視軟體工程實踐。&lt;/p>
&lt;h2 id="results結果" >
&lt;div>
&lt;a href="#results%e7%b5%90%e6%9e%9c">
#
&lt;/a>
Results（結果）
&lt;/div>
&lt;/h2>
&lt;p>專案目前提供一個可被啟動的小型商店原型，包含商品管理與訂單流程。對作者個人而言，更重要的成果是練習了「跨領域思考」與「以最少程式碼表達清晰領域模型」的能力，這些在臨床資訊系統設計上同樣關鍵。&lt;/p>
&lt;h2 id="discussion討論" >
&lt;div>
&lt;a href="#discussion%e8%a8%8e%e8%ab%96">
#
&lt;/a>
Discussion（討論）
&lt;/div>
&lt;/h2>
&lt;p>本專案凸顯了個人化練習倉庫對於工程師長期成長的價值：不一定要為了上線而存在。限制方面，由於非真實場域，缺乏實際業務反饋下的演化壓力，部分設計決策可能無法被現實檢驗。未來可考慮將其重構為臨床情境下的「小型診所管理系統」，把個人練習轉化為對醫療資訊系統的方法學貢獻。&lt;/p>
&lt;h2 id="連結" >
&lt;div>
&lt;a href="#%e9%80%a3%e7%b5%90">
#
&lt;/a>
連結
&lt;/div>
&lt;/h2>
&lt;ul>
&lt;li>GitHub：&lt;a href="https://github.com/htlin222/ashop">htlin222/ashop&lt;/a>&lt;/li>
&lt;li>主要語言：Python&lt;/li>
&lt;li>最後更新：2026-04-22&lt;/li>
&lt;/ul></description></item></channel></rss>