Write my CMS from scratch :( 1) preface, which belongs to my cms
I. project background
I remember that I chose to create a CMS for my graduation project. However, although I did it at that time, it didn't feel very good. So I have done it again now. I will post it for discussion by the way. Although CMS is not a special project, you still want to learn more from a common project.
2. Core Technologies
Use the asp.net mvc5 template engine to use razor.
There is also a simple data operation tool WangSql, which is easy to use anyway.
Everyone should know that the most important thing about CMS is the template. The so-called rapid website creation can also adapt to various needs. In addition to the common characteristics of these websites, the most important thing is the template. Templates can even reflect the website business, and a set of templates can support a website. CMS is such a magical thing and also the reason why I first wanted to do it.
Note: My template is also made using the razor engine, and the file suffix is cshtml.
Iii. Demonstration
Because I am a poor B, I don't have any spare money to build a demo website. Let's take a look at the figure and see it.
Important: The homepage style of the background is DTCMS, and I have not modified the content. However, the following page uses the common bootstrap admin framework. Thanks again for dtcms.
Route Management
Cache Management
Role management
Site Management
Channel Management
Template Management
Plugin Management
Iv. project structure 5. Remarks
After the project is almost finished, the test and optimization will be poor.
Both the above and the function description are system components. After all, it is impossible for a blog to finish all the work.
Next we will continue to explain the source code series and provide the source code for download. This is just the beginning.
It's not easy to write a blog in the middle of the night. You know.