The flower fades and the red and green apricots are small. When swallows fly, green water surrounds others.

Difference and connection between ZCenter and UserCenter

ZBLOG Tutorial Birds on the 15th floor 70982 Browse 4 Comments

The website has developed two models ZBLOGPHP Version of User Center plug-in unit , respectively called ZCenter With UserCenter, in order to better understand the characteristics and design intent of the two plug-ins user To use plug-ins, it is necessary to write an article to talk about it.

The UserCenter plug-in has been developed for more than a year. The integrated registration login payment system currently being used by the website is the UserCenter plug-in, which has been running steadily for nearly a year. Compared with ZCenter, it is a big brother and has been honed for a long time.

 Difference between ZCenter and UserCenter and Contact ZCenter User Center ZBLOG ZBLOG Tutorial Page 1

Advantages and disadvantages:

1. The biggest and most obvious difference is that the buyer interface of the UserCenter plug-in is based on the front page, which will give the user a sense of integration, and the interface can achieve maximum harmony theme inosculate as a whole. This is something ZCenter cannot do. However, it is precisely for this reason that the plug-in code needs to be compatible with the theme, which leads to the extremely expensive price of my UserCenter plug-in... Actually, I accept matching theme service The cost of. The workload is almost the same as working on a single topic. Another advantage of the foreground interface is that the address looks simple. For example, the website/Login.html is not the website/zb_users/plugin/UserCenter/something/login.html. The ZCenter plug-in provides a solution to this problem. You can open a custom background path in the ZCenter plug-in settings, and then move the user folder in the plug-in directory to the root directory of the website.

2. UserCenter was developed earlier and the code is stable, but the code structure and execution efficiency are not high, and the code is even chaotic in some places. At present, the content of this section is also being sorted out gradually, but due to ZBLOG Of Template As well as page display logic restrictions, UserCenter is bound to occupy more system resources than ZCenter (just a little higher).

3. The original purpose of the UserCenter plug-in was to create a beautiful login interface and add a registration function Who knows that later it became more and more out of control, and wanted to be a silly plug-in. In fact, things like the website letter are not practical for small-scale mall systems. Even JD has no website letter. At most, system announcements are sent through the website letter. Therefore, the messages in the website have been deleted in ZCenter.

4. There is no integration in ZCenter QQ login On the one hand, the existing QQ login function is not good enough to be honest, and on the other hand, integration will bring some problems with updates. I hope that even if I do not update the ZCenter plug-in in the next ten years, the various functions of the plug-in will still operate stably. Obviously, if a third-party interface is used, this is impossible. Later, I will try to improve the various functions of the QQ login plug-in to make it compatible with ZCenter.

5. The user upload avatar function in ZCenter is not enabled temporarily, and the code is in the plug-in directory... Maybe one day I will add... This thing is actually a chicken rib... Even if the mall is as big as Taobao, there are not many people who set up avatars.

6. Another big difference is that ZCenter can only conduct virtual and software product transactions, and cannot conduct physical transactions, which is why there are no settings such as receiving address settings and logistics costs. UserCenter can do this.

7. In UserCenter Contribution And the review function is completed through independent code, while the submission and review in ZCenter are completed by relying on the system settings. This is different from each other. Not all of them are good or bad. Only the user experience can explain it.

You must have found that the idea of UserCenter when designing is that you can add more when you want to use it, and you can enrich your functions at any cost, while ZCenter is trying to separate the parts that have nothing to do with the mall and the user center, which also makes the plug-in function more pure and the code more refined, whether it is the subsequent secondary development, It is also very convenient for the theme author to bring it into use.

At the end: ZCenter plug-in is the main direction of plug-in update in the future, and I personally recommend users to purchase and use ZCenter plug-in (while UserCenter plug-in will continue to show up in front of you at a high price, hope not to smack the tongue). On the one hand, the price will be relatively low, and on the other hand, it will be easy to match and use optimization Good. Except that the background interface is not very beautiful (I will consider improving this problem in the next stage), other omitted functions do not affect the use of ZBLOG. At the same time, I hope that the relatively low-cost ZCenter can bring some new things to ZBLOG.

 

Please specify: Bird Blog » Difference and connection between ZCenter and UserCenter

 tourist
Post my comments Change your identity
Cancel comment

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • website

Latest comments from netizens (4)