Phase 2: How to Build

Source: Internet
Author: User

At this stage, you have to come up with a design and explain how the various objects in it look and how they communicate with each other. Consider using a special charting tool: "Unified Modeling Language" (UML). Please go to http://www.rational.com to download a UML specification book. As a description tool in phase 1th, UML is also helpful. In addition, it can be used to process some charts (such as flowcharts) in phase 2nd. Of course you don't have to use UML, but it will help you a lot, especially if you want to paint a detailed chart that allows many people to study together. In addition to UML, you can choose to have a textual description of objects and their interfaces (as I said in the thinking in C + +), but this approach is very primitive and has a limited role to play.
I had a very successful consulting experience at that time involving the initial design of a small group of people. They have not previously built OOP (object-oriented programming) projects, drawing objects on the whiteboard. We talked about how each object communicates (communicates), deletes part of it, and replaces another part of the object. The team (they know what the purpose of the project is) has actually worked out the design, and they themselves "own" the design, rather than letting the design manifest itself naturally. What I do there is to guide the design, ask some appropriate questions, try to make some assumptions, and get feedback from the group to modify those assumptions. The most wonderful thing about this process is that the whole team doesn't do object-oriented design by learning some abstract examples, but by practicing a real design to master the tricks of OOP, and that design is what they were doing at the time!
After you have made a description of the objects and their interfaces, you complete the 2nd phase of the work. Of course, these jobs may not be complete. Some jobs may not be known until they enter Stage 3. But that's enough. What we really need to be concerned about is finding all the objects in the end. It's good to find out early, but OOP provides the perfect structure and it's not too late to find them.

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.