Continuous iteration and continuous integration

Source: Internet
Author: User

When the sky has its own material, people have their own treatment, the husband is said to be able to participate. -"The Child"

Reading the ancient Chinese philosophy, the first feeling is its holistic thinking.
For example, heaven and earth people as a whole view, pay attention to anything, they should be placed in the heavens, earth, the three elements of the cosmic framework to analyze, measure, in order to find their essence and law, predict their future changes.
Chinese ancient philosophy based on Chinese medicine is also the case, that for the medical way, should be aware of astronomy, knowledge of geography, knowledge of personnel, comprehensive consideration of the natural environment, social environment, personal temperament, the human body physiology, pathological changes in the sky, the ground, the three elements of the universe framework to analyze and weigh, to find its essence and law, Predict its development and change.

When it comes to holistic thinking, I think of a very early software engineering model-the waterfall model.
The waterfall model divides the software life cycle into six basic activities, such as planning, requirement analysis, software design, program writing, software testing and operation maintenance. These six steps must be followed strictly sequentially in their order. But if you find an error in one of the previous steps, you have to go back to that step.

客户需求|--(分析)--(设计)--(编写)--(测试)--(交付)-->最终产品

Thus, the more previous steps, the impact on the entire life cycle is greater, and the impact on the final result is greater. This makes the analysis of the design in front of the process, must be as careful as possible, thoughtful. (analysts and designers at the time were stressed by Alexander:-( )

However, even with such quality analysis and design for the life cycle of the striker, but such a model is still unpopular because of its inherent shortcomings.
1. Lack of communication with customers in the process, if the product deviates from the customer's goal, we must wait until delivery to find
2. Discover the last stage of the problem and have to rework
3. During the same period of life, if the customer wants to see if the semi-finished product satisfies the demand, it is difficult to do
4. Too much reliance on the analysis of the design stage, for the temporary non-exposed problems difficult to deal with

Does this holistic thinking approach not apply to the development of computer software?
As mentioned above, Chinese medicine requires the investigation through all aspects, and grasps the pathological state and tendency of the human body from the whole. Now that we have got the pathological state and the tendency, we should bluff the treatment. He will use all the methods and drugs used in the process of the first list out, tell the patient what to eat the day of the day, what to do, wait until the whole series of things to finish, it healed?

病人|--(治疗1)--(治疗2)--(治疗3)-->健康的人

Perhaps the man of God can do it, but as a doctor it is impossible and not allowed to do so.

The usual practice of doctors is this:

    • From the overall analysis, to get the patient's pathological state and trend, pathological state may be complex, there are main disease, there are complications, there are acute, chronic disease
    • Establish a treatment plan for a short-term (no more than three days) target for primary or emergency patients
    • After the patient has received treatment, feedback to the doctor about the effect of treatment and the progression of the condition, such as light or severe or no change
    • Doctors combined with patient feedback to further differentiate and administer the whole.

The benefits are obvious:
-Just treating short-term goals is relatively simple and easy to do
-Ability to adjust strategies in a timely manner if diagnostic errors or unforeseen problems occur

Seems to solve the problem of waterfall model, we also put the whole project in stages, each stage is a small waterfall. Select only the current waterfall that you need to complete at a time and do it well. This continues to iterate, and when every little waterfall is completed, the whole project is completed. So, every time only need to do a small waterfall analysis design, not much simpler?

客户需求|--(目标1)--(目标2)--(目标3)--最终目标

So the question comes, part + part +......+ part = whole? Is this the type of establishment?
Not necessarily. All parts are optimal and not necessarily the final result is optimal.
After careful observation of the process of treatment of syndrome differentiation, it is found that not only the pathological state and the trend but also the results of the patients ' feedback in the same period of time are analyzed.
This is the process of continuous integration.

The use of continuous integration and continuous iteration in the waterfall process is as follows:

    • Analyze the status and objectives of the project as a whole
    • Think of the goal as a whole and divide it into small goals in multiple stages
    • Analyze this small goal as a whole and choose one of them. This goal is only a part of the whole, but for itself, it is another whole.
    • This stage of the small target as a whole, to it according to the waterfall process analysis and design
    • Deliver this small goal and receive feedback
    • Adjust the remaining small targets based on feedback

Waterfall model is just a simple example, the waterfall model is no longer popular, and a variety of more suitable models to traverse the world.
This analysis and improvement of the waterfall model of the article has no new ideas, for software engineering also meaningless.
Here's what I want to say:

    • "Whole" and "part" are a pair of yin and yang. They are the opposites of the relationship.
    • The whole "and" part "can be transformed into each other. Under certain conditions, "partial" can be regarded as "whole", "whole" can be regarded as another "whole" part.
    • The "whole" problem can be divided into "parts" to deal with, that is, continuous iteration.
    • The "partial" problem can also be adjusted by "whole", that is, continuous integration.
    • Continuous iterative and continuous integration is an alternating process, indispensable.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Continuous iteration and continuous integration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.