当前位置:网站首页>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
边栏推荐
- 队列的存储和循环队列
- C language to achieve address book - (static version)
- Find the number of leaf nodes of binary tree
- Fundamentals of software testing and development
- WinForm allows the form form to switch between the front and active states
- EasyUI's combobox implements three-level query
- yes. Net future
- 超好用的Excel异步导出功能
- 2022年P气瓶充装培训试题及模拟考试
- Using positive and negative traversal to solve the problem of "the shortest distance of characters"
猜你喜欢

Utgard connection opcserver reported an error caused by: org jinterop. dcom. common. JIRuntimeException: Access is denied. [0x800
![[mock data] fastmock dynamically returns the mock content according to the incoming parameters](/img/1e/c4aad49d16fb21a19865ba75128e43.png)
[mock data] fastmock dynamically returns the mock content according to the incoming parameters

This new feature of C 11, I would like to call it the strongest!

Fight leetcode again (290. Word law)

《C语言程序设计》(谭浩强第五版) 第7章 用函数实现模块化程序设计 习题解析与答案

xutils3修改了我提报的一个bug,开心

IDEA查看历史记录【文件历史和项目历史】

Course design of Database Principle -- material distribution management system

12.<tag-链表和常考点综合>-lt.234-回文链表

《C语言程序设计》(谭浩强第五版) 第8章 善于利用指针 习题解析与答案
随机推荐
JS implementation of new
The website JS in. Net core cefsharp chromium WebBrowser calls the C method in winfrom program
Node configuration environment CMD does not take effect
超好用的Excel异步导出功能
xutils3修改了我提报的一个bug,开心
Configure automatic implementation of curd projects
[Mysql] LEFT函数 | RIGHT函数
手机连接电脑后,QT的QDIR怎么读取手机文件路径
poi根据数据创建导出excel
Flink实时数仓项目—DWS层设计与实现
js递归树结构计算每个节点的叶子节点的数量并且输出
Test experience data
The most easy to understand service container and scope of dependency injection
Is it difficult to choose binary version control tools? After reading this article, you will find the answer
js 中,为一个里面带有input 的label 绑定事件后在父元素绑定单机事件,事件执行两次,求解
【VS Code】解决jupyter文件在vs code中显示异常的问题
Improvement of ref and struct in C 11
2022山东省安全员C证上岗证题库及在线模拟考试
OLED multi-level menu record
幂等性实践操作,基于业务讲解幂等性