• Database design


    Catalog Database design Three normal form First normal form (1NF): The second paradigm (2NF): The third paradigm (3NF): E-R model Database design Based on the E-R model, we need to extract the model and relationship and develop the table structure according to the product manager’s design plan, which is the first step of the project. […]

  • Mybatis interceptor


    Interceptors are treated as plugins in mybatis. Official documents provide executors (Methods for intercepting executors), parameterhandlers (processing of intercepting parameters), resultsethandlers (processing of intercepting result sets), statementhandlers (processing of intercepting SQL syntax construction) There are 4 kinds of methods, and the prompt “the details of the methods in these classes can be found by looking […]

  • Making dowry for others — agency model


    proxy pattern Proxy mode, which provides a proxy for other objects to control access to this object.In fact, the proxy mode introduces a certain degree of indirection when accessing objects, because this indirection can be used for many purposes.Agent is the representative of real object. Agent pattern structure chart Actual code structure The subject class […]

  • [testing theory] how to do exploratory testing well (2) – add dimensions


    How to do exploratory testing well in test theory (I) – basic part In, we introduced the basic content of exploratory testing. We briefly recall that the routine testing plan and exploratory testing are complementary. In the work, the opportunity to find exploratory testing points (requirements review, use case review), the variables in those products, […]

  • StarUML VIII. Example of entity relationship diagram of StarUML


    Database table relation design is also a common scenario. This chapter introduces how to design an entity relation diagram 1: New project, in model exploreAdd Diagram | ER DiagramTo the specified element; 2: fromToolbox mediumEstablishEntity toER DiagramIn the canvas; Double click the view element to quickly edit and add a description , entity properties are […]

  • (26) asp.net core EF save (basic save, save related data, cascade delete, use transaction)


    1. introduction Each context instance has a changetracker that tracks changes that need to be written to the database. When you change an instance of an entity class, these changes are recorded in changetracker and then written to the database when saveChanges is called. This database provider is responsible for converting changes to database specific […]

  • An agile development practice of amateur project


    This time, a user login permission control module is added to the original apitemplate project to verify how to abstract and support future expansion when facing some simple problems. The user login authority control module looks very simple, but its spare time is always limited. So take advantage of this opportunity to practice a user […]

  • High quality app architecture design and thinking!


    Recently, I have been working on a small number of apps with small functions and complex businesses. In the past, I found that I never considered some architectural problems when I was working on an app. I just wrote code according to my previous habits and ignored the design of the app. This sharing mainly […]

  • The way of webapi practice (1)


    Objective: To study the development of Web API in NETCORE 3. X environment. Project: contents and description 1. Am.template.data, persistence layer, through which the database instance can query and change the database (curd) and operate. 2. Am.template.domain, domain layer, domain entity model, used to design the relationship between entities and generate database tables. 3. Am.template.models, […]

  • Enjoy the smooth manipulation of SQL ~ [typeorm] on node.js


    Preface I believe that many front-end players will feel quite tedious and even difficult when they first use node.js to connect SQL and use it.Don’t be afraid! Typeorm helps you solve all the problems about SQL operation! This article is only for Amway. It does not describe the use of typeorm in detail. If necessary, […]

  • Operating system – Operating System Basics


    Concept of process Process: executing program Create process: apply for PCB first – > generate process entityEnd process: end process entity – > release PCB Zombie process More zombie processes still occupy memory, only PCB has no process entity Orphan process Init is like an orphanage Process state switching https://blog.csdn.net/AKUANer… Parallel and concurrent Memory management […]

  • Modeling elements (2)


    This chapter continues with modeling elements https://blog.csdn.net/bit_kaki/article/details/78471760 1: boundary Every object has a boundary, through which the outside world can only recognize and deal with objects. We get to know things through borders. The boundary determines the perspective, resulting in inconsistent description of the same transaction;     Boundary determines the level of abstraction: top-down, […]