Original: Building a back-end management system for ASP. Mvc4+ef5+easyui+unity2.x Injection (34)-①-Brief analysis of the article release system
Series Catalogue
New and more busy, in order to learn the development of Android to build ASP. NET mvc4+ef5+easyui+ unity2.x injected back-end management System (1)-Preface and, although a little lack of purpose of learning, but still understand the basic development of Android, I will continue to update the use of some of the knowledge points in this series.
To say the truth, I admire those who can continue for several years every week have an article, can insist is really a kind of happiness.
A picture of what we've done, the yellow areas We're going to talk about, the others are done.
Why do I have to take the article to speak, in fact, there is a lot of knowledge points. We can still learn some things, but also a little improvement of our system
So I've listed some important points of knowledge.
- Rich Text editor kindeditor use, upload pictures, settings etc.
- The display of the article list, the Ajax page under MVC4, the URL paging
- When the amount of data is large (millions), we use a comparison of stored procedures and LINQ paging
- MVC4 Area
We practice the project relatively small database we should also be relatively simple, the order is as follows
- Simple design Analysis
- Database setup, update to EF, project setup
- Column Management
- All article Management (Easyui DataGrid)
- Personal article Management (Easyui DataGrid)
- Article editing
- Article pagination display
First, design analysis
Article has a category, a category corresponding to multiple articles, the article needs to be audited in order to display on the home page, the administrator can assign the article Operation permissions
First we need to create a system navigation, open our module maintenance, and add the following data
Just correspond to the diagram above us, this module I named MIS (-management information system abbreviation)
Our Bll,dal,model will start with Mis_, a region represents a subsystem, this time our mis will be put in areas
Admin Center opcode, other pages also need operation code
and authorized by the Administrator
You can think about it in advance.
In the next section we create a database table, update the schema of the EF and the project, and generate our 90% code in code generators.