Functions of databases in software engineering projects and agile development

Source: Internet
Author: User

When designing software, you must clearly grasp the role of the database in the software so that you can be targeted. In my opinion, the role of the database has no other effect except for the persistence of data storage. The database is required because the front-end presentation layer, service layer, and business logic layer of the software must be stateless. This requires that the software have a component to store the application.Program. Then this responsibility is borne by the database.

 

In the previous software development process, we often did not grasp the core role of the database, and the previous development paradigm (first, design the database, and then add simple business logic, finally, design the interface layer of the Program). Such a paradigm often leads to putting all the energy and focus on the design of the database, in the end, some business logic will be put in the database. We all know that the database is a physical design. From the schema of large software, after the design, it is often difficult to change the schema and it is also easy to modify (although there is such a schema change method, it is too difficult to modify the schema for different versions of different users, so it is basically not modified ).

 

After adopting the object-oriented design method, the development paradigm cannot first design the database, but first analyzes the business logic, establishes the business logic model, and then designs the business layer. Finally, consider the data storage solution. This development paradigm will constantly respond to changes in requirements. You think the business logic is flexible after the design model is adopted, and can respond to the changing needs. However, databases cannot effectively respond to changes in requirements.

 

The paradigm mentioned above is our way of thinking. Let's use Chinese and English as examples. The way of thinking in English is significantly different from that in Chinese.

Chinese statements are subject + Modifier + Predicate + object, while English statements are subject + Predicate + Modifier + object. Of course, the statement paradigm here is not absolute. Maybe this kind of Thinking Paradigm leads to many obstacles in learning English. Therefore, after reading a large number of English books, you may find that Chinese statements are strange when reading Chinese. Even Chinese statements cannot be written in the future. At least I feel like this now. So the paradigm is actually a way of thinking.

 

In the previous development paradigm that adopted database priority, we need to switch to the object-oriented paradigm in the future. Currently, agile development is only a software project management method. The goal is to achieve software that meets user needs at the fastest speed and at least cost. In the specific software design and development stage, we must use object-oriented analysis, design, development, and other methods for specific software development. That is, the main user of agile development mode is the project management personnel, and then the Project Management Personnel want us to use agile practices to guide our development tasks. Object-oriented is a martial arts method that must be mastered by our programmers.

 

Related Article

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.