After several months of code cleanup, DoraCMS 2.1.4 was born. Since the last version, I have been considering how to make DoraCMS more flexible, so I quickly thought of plug-in support to the original intention, but also to find some information, the final decision to use eggjs reconstruction applications, eggjs Ali made for the server and application framework for enterprise-level framework born, by understanding the basis of eggjs before and found that it related to the framework and plug-in mechanism very consistent with my mind, so try to transform the basis DoraCMS 2.1.3 on, in fact, found not very difficult. After the service side logic teasing, I thought the backstage management. Background management based vue, before the problem is that if too much background module (dozens), the compiler is not so fast, but also to change a little place recompiling, this is not what I want. By querying the data, I learned that the single-spa, through research, I had the idea, in fact, each function block is open to independent, we change a module, compile a module with only enough so that developers will be more save trouble, but also bring convenience to operation and maintenance. DoraCMS function block diagram ( see clearly the picture to open in a new tab ):
DoraCMS main point 2.1.4 update are as follows:
1, eggjs reconstructed server ( document )
2, using single-spa + vue-cli reconstructed background management module
3, reorganized the API " DoraCMS Api Documentation "
4, plus a new set of templates
5, the mobile terminal foreground, background management adapter
front desk, back desk
6, fixes some bug before community developers proposed
PS :
1, this update changes is relatively large, if the old version of the data may not be able to use this version immediately, I also provides initialization data in the code, set up to facilitate the development environment
2, highly recommended that you use the 2.1.4 version, together with our in-depth study by DoraCMS to nodejs, and you can also see how rapid establishment and development of their own website. Also look forward to your suggestions