"Black and white team group" Sixth job: project design team to improve the system and detailed design

project content
Course work address Teachers Home Links
Work requirements Team Project
Fill in the name of the team Black and white team group
Fill targets Serious and responsible, to complete the project

Task 1: system design improvements project team

. A analysis of "black and white team group project system design specifications," the first draft of the shortage, especially in the software architecture modeling imperfect content;

After the teacher's guidance and re-examination outline design, we found many deficiencies.

1, the purpose of writing narrative is incomplete, improvements are as follows:

Before improvements:

The project "guide public comment network", all have plans to travel but do not know how to choose travel agencies and tour guides the user to design a website for providing a concise guide choice for such users, all data is true and reliable, serious> grid comments and fraud control guides all acts of malicious brush praise for these users written outline design specifications, allowing users to more clearly understand the purpose and function of this site and so on.

After the improvements:

The project "guide public comment network" for all of the planned trip but do not know how to choose travel agencies, tour guides and travel with the group and have been this trip tour guide services have suggestions or comments, but no place to place the user's design website , providing for such a concise user guide is selected, all data is true and reliable, strict control of fraud and tour guide reviews all acts of malicious brush praise for these users written summary of the design specification, let> user clearer understanding purpose and function of this site.

2, written description of the background of the user's incomplete, improvements are as follows:

Before improvements:

User: I do not know want to go for travel agencies and tour guides how to choose the community, to provide the best selection guide.

After the improvements:

User: I do not know want to go for travel agencies and tour guides how to choose the community, to provide the best tour guide choice; for after traveling there with the group on the trip tour guide service comments or suggestions and feelings of the tour guide service of nowhere safe
place to provide a platform for remarks published.

3, according to the teacher's guidance we will use case diagrams has been improved.

b. in order to improve the content of "XX team project software system design improvements" in the name released in team blog, and team project update "software system design specifications" Github repository .
Task 2: Team project detailed design

Task 3: Publish the team blog post, the actual division of the statements in this homework implementation process, described the team members, the total task workload ratio and complete their task of real time, summed up the team project detailed design experience, summary to reflect each members of the work content.

Answer the following three questions:

(1) What software architecture, software design patterns?

Software design patterns (Design pattern), also known as design patterns, is a set of repeated use, known to most people, after cataloging, code design experience summary. Use design patterns to reusable code, make the code easier to understand others, to ensure the code is reliable> reuse of, the program.
Design Patterns (English design pattern) is a solution to the problem of object-oriented design of recurring. This term in 1990> generations introduced by Erich Gamma and others from the field of architectural design to computer science to come. The meaning of the term is still controversial. Algorithm is not designed mode, because the algorithm is committed to solve the problem rather than design problems. Design pattern generally describes a set of classes and objects close to each other action. Design patterns provide a common language to discuss software design, making skilled designers design experience can be mastered beginners and other designers. Design pattern also provides a target for the reconstruction software. Format Description mode broadly divided into four main sections:
Mode Name (Pattern Name): Each mode has its own name, the name of the model allows us to discuss our design.
Problem (Problem): specific occasions in an object-oriented system design process recurring, it led us to adopt a pattern.
Solutions (Solution): solution to the above problems, the content of each part of the design is given, the relationship between them, segregation of duties and collaborate.
Effect (Consequence): Effect of the use of the software model on the rest of the system, such as the system scalability, portability impact. Also including the impact of negative influence.
Motivation (Motivation): This mode should be the responsibility of the circumstances under which the use of the program is provided in this section (including issues related to the ins and outs) of.
Application (Applicability)
structure (Structure): This part of common class diagram set forth in FIG interact with this mode.
Participants (Participants): This section provides a list of classes and objects in this mode used, and they play a role in the design of the next.
Collaboration (Collaboration): Description In this mode, the interaction between classes and objects.
Results (Consequences): This section should result of using this model is described, side effects, and exchange (trade-off)
implement (Implementaion): This section should describe the implementation of the model, part of the program of this mode, the present mode may technology or> recommended way to achieve pattern.

(2) What is the C / S and B / S structure

C / S mode refers to a client / server model, a model computer software collaborative work.
Since the rise of the Web browser, B / S pattern gradually replaced the C / S mode, it is more widely used. With the maturity and popularity of computer network application technology, especially the emergence of local area development, PC machines, more and more users start using the computer and enterprise management of some transactions. C / S mode has the following characteristics:
. 1, C / S mode separation applications and services, system stability and flexibility.
2, C / S is the point pattern with a configuration pattern suitable for a local area network, a reliable security.
3, since the direct connection client implements the server side, there is no intermediate links, so fast response.
4, the C / S model, a client computer as a client program to be installed, once the software system upgrade, each client must install the client program, system upgrades and maintenance more complex.
Resources of the PC is not large, medium-sized and even small rich host, but the multiple PC-linked into a network of resources is bound to increase the content of the various users are coming up all shared resources on the network. According to client / server (Client / Server abbreviated as C / S) architecture concept, with at least two computers to each act as client and server roles.
The client can be a fan or a workstation RISC systems X86 system, and the server hardware is generally more upscale, such as: SUN high-end PC servers or dedicated servers; operating system is also more upscale, such as: Windows NT and Unix.
B / S structure i.e. the browser and server architecture pattern. It is with the rise of Internet technology, a kind of C / S structure changes or improved architecture. In this architecture, the user interface is achieved through work WWW browser, business logic implemented in a very small part of the front end (Browser), but the main business logic on the server side (Server), a so-called three 3-tier structure. B / S structure is the rise of the kind of network architecture model WEB, WEB browser client is the most important application software. This model unifies the client, will focus on the core of the system function to the server, simplifying system development, maintenance and use. Just install a browser (Browser) on the client, such as Netscape Navigator or Internet Explorer, server installation Oracle, Sybase, Informix or SQL Server and other databases. Browser by Web Server for data exchange with the database. This greatly simplifies the client computer load, reduce system maintenance and upgrade costs and workload, reducing the overall cost of ownership (TCO).
Improve and upgrade the software systems have become increasingly frequent, B / S architecture products evident in the more convenient features. For a slightly larger units, system administrators If you need to run back and forth between a few hundred or even thousands of computers, efficiency and workload can be imagined, but the B / S structure of the management server software only on the line , all the client only browser, does not need to do any maintenance. No matter how large the user, how many branches will not increase the workload of any maintenance upgrades, all operations need only for the server; if it is off-site, server just need to connect to a private network, remote maintenance, upgrades and sharing. So clients increasingly "thin", and the server getting "fat" is the future direction of the mainstream of information technology development. In the future, software upgrades and maintenance gets easier, but it will be more simple to use, which saves the user manpower, resources, time, cost is obvious, amazing. Therefore, to maintain and upgrade the revolutionary> way is to "thin" client, "fat" server.

(3) What is the MVC design pattern?

MVC full name Model View Controller, the model (model) - view (view) - Abbreviation controller (Controller), and a software design model, with a service logic, data, a method of separating tissue interface display code, business logic to gather a member which, while improving and customization interfaces and user interaction does not need to rewrite the business logic. MVC was developed a unique structure for a conventional mapping input, processing and output of the logic functions in a graphical user interface. MVC is using MVC (Model View Controller Model - View - Controller) design pattern to create a Web application: [1]
Model (model) represents the core of the application (such as a database record list).
View (View) display data (database record).
Controller (controller) for input (write a database record).
MVC model while providing full control over HTML, CSS and JavaScript.
Model (model) is a portion for processing the application logic of the application data.
  Model objects are usually responsible for accessing data in the database.
View (View) is a partial processing data applications.
  Usually view is created based on the model data.
Controller (Controller) is a part of the application processing user interaction.
  Typically the controller is responsible for reading data from the view, a user input control, and the transmission data model.
MVC hierarchical helps manage complex applications, because you can focus exclusively on one aspect at a time. For example, you can focus on design in view without relying on business logic. But also allow testing applications easier.
MVC hierarchical grouping also simplifies development. Different developers can develop simultaneously view, controller logic and business logic.

Guess you like

Origin www.cnblogs.com/hbtt/p/10958543.html