Home > front end >  In a system and different terminal (mobile phone, web pages), interface how to write?
In a system and different terminal (mobile phone, web pages), interface how to write?

Time:12-02

1, whether on a different system to separate out the background, or a background of the same interface, or other ways?
2, in the same interface in public when there are two logical, through incoming parameters to control, then is to write an interface that internal control or write two interfaces, two different logical go?

The above two questions what logic judgment standard? According to the actual application scenario or need? So what is the judgment?

CodePudding user response:

1. In a system of different end
if we need to separate out the backgroundReply:
If you need to develop,

2, in the same interface in public when there are two logical
Reply:
You mean an API, and a variety of execution strategy? If you can refer to design pattern.

CodePudding user response:

The above two questions what logic judgment standard? According to the actual application scenario or need? So what is the judgment?
Reply:
There is no universal laws and principles, particular case is particular analysis
  • Related