One weeks ago, began the study of the beef Brisket Teacher's press release system. The first 5 episodes that I started looking at were the preparations for writing the code, including drawing and writing the document. System description, use case diagram, database design, etc., these work, let me think such a system is very simple. But the truth is, in the process of starting coding, I was confronted with a variety of problems that made me feel I could no longer go on. This process of writing code, I have been following the video of the beef brisket teacher, he wrote something, I followed the writing of what. By the 10 episodes, my program went wrong, but I didn't want to debug it. I would like to meet this stage, or the whole system of demand analysis is not fully digested. Seemingly simple on the surface of the diagram, in fact, it is necessary to follow their own footsteps to comb, so that the road behind the direction can follow. Well, here's a thorough analysis of the needs of the press release system. The development of a system is ultimately to be put into use. A news release system, in the end is someone can use it to browse the news, that is, visitors can also use it to manage the news release, such as: publish what kind of news, feedback what to the visitors. Therefore, the introduction of the press release system can be summed up in a sentence: To enable background staff to add news, visitors can browse the front desk news and comment. There is a simple textual generalization of the requirement analysis, and the next step is to draw the use case diagram to further determine the respective functions:is also a variety of additions and deletions to check the operation, then the database design is very important. What classes should we abstract to complete the database design? From our life, we often browse the news as a browser, and in the process of browsing the news, we should say it is a large-to-small search process. Every piece of news we read is drawn from a big news category, and after reading it, you may be able to post your own opinion, or comment.So, we can include three table classes in our database design. The first one is the biggest item, the News category table, the second one is the news sheet, and the third one is the comment form. Specific as follows:For some of the layout of the page, this is not considered first. This time really realize a system needs analysis is how important, the content of the previous episodes of the video although simple, but I do not seem to walk the heart, looked at the past, which also did not think, this is a kind of experience, the future of learning will also be to avoid similar situations occur, which will lead to their own learning efficiency reduced. At the beginning of the time do not summarize, wait for the back, but also need to put the previous owed to the back. This blog from the beginning of the idea, the whole system of the need for more understanding of the learning process in the backalso no longer will be dead to follow the video numb learning. But need to add their own thinking, continue to learn in the back ~
Press release system, do you really understand?