当前位置:网站首页>Scenario Title: how does system a use the page of system B
Scenario Title: how does system a use the page of system B
2022-04-23 03:18:00 【Xiaodaoxian 97】
Most of our systems are independent , even A、B The system has interaction, which is also the interaction of the data layer , It is satisfied by calling the interface , But recently received such a demand .
A The system adds a new button , Click on the open B Systematic B.B page , from B The system goes directly B.B page , It's better than from A There are fewer buttons and fields in the system .
Train of thought
Write a separate page for this , Then all interactions are called by the way of the back-end interface .
advantage
The idea is simple and easy to understand , It's easy to develop .
shortcoming
Low code reuse rate , Poor maintenance , If a common field is changed, then two pages need to be modified .
Next time if C The system also needs B.B The page doesn't have to be redeveloped again ? Or next time C System needs B.C page ? Such development does not conform to the code specification .
Train of thought two
The conditions for the establishment of the above scheme are ,B The system must have a complete user role menu function , That is, you can control whether the menu is displayed or not through permission .
In fact, the last thing is : Set up a special user who can only access specific pages and specific buttons .
advantage
Multiple reuse of one code , In the future, if xx System to access B System page , Add a user directly and configure it , The code is generic .
shortcoming
It's a little troublesome to think about it
版权声明
本文为[Xiaodaoxian 97]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230315096207.html
边栏推荐
- Top ten project management software similar to JIRA
- 你真的懂hashCode和equals吗???
- 软件测试相关知识~
- ThreadLocal 测试多线程变量实例
- [untitled]
- IDEA查看历史记录【文件历史和项目历史】
- Peut recevoir plusieurs paramètres de type de données - paramètres variables
- [vs Code] solve the problem that the jupyter file displays exceptions in vs code
- Course design of Database Principle -- material distribution management system
- MySQL port is occupied when building xampp
猜你喜欢
This new feature of C 11, I would like to call it the strongest!
JS inheritance
编码电机PID调试(速度环|位置环|跟随)
类似Jira的十大项目管理软件
Blazor University (12) - component lifecycle
It can receive multiple data type parameters - variable parameters
[untitled]
Data mining series (3)_ Data mining plug-in for Excel_ Estimation analysis
OLED多级菜单记录
編碼電機PID調試(速度環|比特置環|跟隨)
随机推荐
Chapter 9 of C language programming (fifth edition of Tan Haoqiang) analysis and answer of exercises for users to establish their own data types
Mise en service PID du moteur de codage (anneau de vitesse | anneau de position | suivant)
Flink real-time data warehouse project - Design and implementation of DWS layer
Log4net is in Net core usage
ThreadLocal 测试多线程变量实例
Fundamentals of software testing and development
Swap the left and right of each node in a binary tree
EasyUI's combobox implements three-level query
Experiment 5 components and event handling
Mysql database, inconsistent index character set, slow SQL query, interface timeout
Aspnetcore configuration multi environment log4net configuration file
JS inheritance
Seminar playback video: how to improve Jenkins' ability to become a real Devops platform
be based on. NETCORE development blog project starblog - (2) environment preparation and creation project
【无标题】
Chapter 7 of C language programming (fifth edition of Tan Haoqiang) analysis and answer of modular programming exercises with functions
Use of slice grammar sugar in C #
一套组合拳,打造一款 IDEA 护眼方案
数据挖掘系列(3)_Excel的数据挖掘插件_估计分析
After the mobile phone is connected to the computer, how can QT's QDIR read the mobile phone file path