Project Practice-Navigation management One

Source: Internet
Author: User

Three years of work, I have done a lot of projects, there are e-commerce, information sharing, business management, material management and so on, of course, most of the data (or business) driven crud system, and their own privately do the project has not been completely preserved, this is really a pity, although not excellent, But has been from the Internet to obtain knowledge but never to the internet to contribute knowledge, so want to write a series to introduce their understanding of the project development, the use of the technology is ASP. MVC5, the front-end framework used is angular, bootstrap.

This time want to do a navigation management function, has done OA, ERP, CRM and so on the system friend to this function will be very familiar with, on-line there is a lot of ready-made source code, has been to do the procedures of the porter, this time I do a program of producers it.

First of all, the project structure, I think when the system confirms what to do will need to determine the structure of the project, the structure of the project should be associated with the business, simple projects with a classic three-tier architecture to deploy the project structure can be, if the project is complex, it needs to be based on the three-tier architecture of the idea to expand, For example, the recruitment system of job push function, this function requires the effective, correct, real-time data to push to the customer, to complete such a need to focus on a lot of attention, so we need to separate out this function module to develop, there is e-commerce system order Processing, this function is not complex, but his concurrency will be relatively large, We also need to develop a single order Processing center function, but also to design a message-based (or event)-driven distribution deployment, etc., back to the point, we are to develop a navigation management, this function is not complex, we use the classic three-tier architecture can be completed.

The project will have a front desk, a backstage, the front desk will be based on the current user display he can see the navigation, the background provides department management, user management, role management, navigation management These functions, so from the business I want to divide the project into a front-end, respectively, Com.yilongchina (front office), Com.YiLongChina.Admin (Backstage), these two are the UI layer in the three-tier architecture, or the routing layer, where we can use the ASP. NET MVC area to build an Admin area, and then we'll do a zone separation.

The implementation of the business I will put in a class library Com.YiLongChina.BLL, of course, will also establish a Com.YiLongChina.IBLL interface class, control inversion (IOC), the basic project will use this technology to achieve the module and module of the deconstruction, these can make three layer architecture of the business layer, is also our Most programmers really care, I think most programmers are working with the business, and most of the technology deal with the architect.

Data layer (DAL), provided here is the support for data storage (persistence), or this is IO, many systems at the beginning of the code, perhaps his database is not determined or the database operation of the scheme is not determined, because the size of the business will determine the use of what IO technical support, So the architecture must be high-level (business layer) do not rely on the underlying (data layer), Here we create a new class library Com.YiLongChina.DAL, there is an interface class library Com.YiLongChina.IDAL, but because I have determined the data storage scheme, so I no longer need Com.YiLongChina.IDAL interface, omitted here.

The rest is a public library of Com.YiLongChina.Common, where public methods will be placed.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.