Start with a Walking Skeleton

采用起步骨架法,通过构建最小化的端到端系统连接所有主要架构组件,确保应用开发方向正确。此方法强调逐步增加功能,保持系统运行的同时进行迭代发展。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Start with a Walking Skeleton

Clint Shank

onE vERy uSEFul STRATEgy FoR iMplEMEnTing, verifying, and evolving an application architecture is to start with what Alistair Cockburn calls a walk- ing skeleton. A walking skeleton is a minimal, end-to-end implementation of the system that links together all the main architectural components. Starting small, with a working system exercising all the communication paths, gives you confidence that you are heading in the right direction.
Once the skeleton is in place, it’s time to put it on a workout program. Bulk it up with full body workouts. This means implement incrementally, adding end-to-end functionality. The goal is to keep the system running, all the while growing the skeleton.
Making changes to an architecture is harder and more expensive the longer it has been around and the bigger it gets. We want to find mistakes early. This approach gives us a short feedback cycle from which we can more quickly adapt and work iteratively as necessary to meet the business’s prioritized list of runtime-discernable quality attributes. Assumptions about the architecture are validated earlier. The architecture is more easily evolved because problems are found at an earlier stage when less has been invested in its implementation.

The bigger the system, the more important it is to use this strategy. In a small application, one developer can implement a feature from top to bottom rela- tively quickly, but this becomes impractical with larger systems. It is quite com- mon to have multiple developers on a single team or even on multiple, possibly distributed, teams involved in implementing end-to-end. Consequently, more coordination is necessary. And naturally, developers implement at a different pace. Some developers can accomplish a lot and in little time while others can spend a lot of time implementing very little. More difficult and time consum- ing efforts should be done earlier in the project.
Start with a walking skeleton, keep it running, and grow it incrementally.
Clint Shank is a software developer, consultant, and mentor at Sphere of Influ- ence, Inc., a software design and engineering services company for commercial and federal clients.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值