Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

系统开发中遵循的原则 #1

Open
BUPTlhuanyu opened this issue Mar 23, 2021 · 0 comments
Open

系统开发中遵循的原则 #1

BUPTlhuanyu opened this issue Mar 23, 2021 · 0 comments

Comments

@BUPTlhuanyu
Copy link
Owner

BUPTlhuanyu commented Mar 23, 2021

https://zhuanlan.zhihu.com/p/97144890

自定向下的设计原则:
首先从最顶层需求开始分析,然后分析系统与外界的交互,进而分析系统内部所包括的组件,最后对各个组件进行分析得到类。
这中间每个步骤的产出都是一个文档,你去用这些文档去和上司、同事进行讨论,最终得到一个合适的设计文档,然后才应该去写代码。

MVP原则:

  1. 前半程,我们主要关注的应该是开发过程中是否出现了没考虑到的风险点。
  2. 前半程的优化,大概率都不是最终的优化方案。

一些体会:前半程出现性能问题,有一部分是架构方面对各个模块的定位由偏差,举例来说,在san-devtools中注入到被调试页面中的js脚本不能有过多的耗时操作,因此只需要做一些简单的数据裁剪工作即可。所有耗时操作应该被放到其他模块处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant