Different clients in the same system design

           With the rapid development of modern technology, the Internet more and more equipment, especially the development of smart phones and 3G technology, making more and more systems to develop Mobile version and Mobile version of the mainstream, there are several.

Where there is a larger market share and Apple's IOS version of Google's Android. Therefore, we in the development of the system, if you want to achieve at the end of feature phones, then, are generally required to develop Android and IOS version of the system.

           Of course, the future may also have a new mobile terminal using other systems, but the current situation is that the two mainstream planted. If a user can either have Android system access, as well the PC version of privileges,

How should we control it in the database?

            Function rights and data rights system, how to design it?

            Some systems currently used system is a type field to distinguish, such as 1,2,4,8 represent different types of systems, several systems have permission if we can use an adder for adding the calculated those systems permission, or do this with 1,3,5,7 multiplication can be. Of course, there may also be a better way to achieve, but I am currently only understand these two, the other remains to be further study and verification.

Reproduced in: https: //www.cnblogs.com/kevinGao/archive/2013/03/07/2964337.html

Guess you like

Origin blog.csdn.net/weixin_33802505/article/details/93052368