Share a common backend management system and architecture based on Ef+mvc+bootstrap

Source: Internet
Author: User

Original source: http://www.cnblogs.com/guozili/p/3496265.html

Build a common background management system based on Ef+mvc+bootstrap, integrate lightweight cache module, log module, upload thumbnail module, general configuration and service call, provide the prototype example of OA, CRM, CMS, suitable for fast construction of small and medium-sized Internet and industry web system, And can be used as code practice and reference, welcome suggestions.

Demo PreviewClick Online Preview admin/111111 do not delete data

FrameworkBusiness-agnostic underlying common mechanisms and functions
    • Model base class: Provides the most basic base class and interface for data transfer and underlying
    • Dal bottom: Provides repository generic methods and write history logs based on EF code First
    • Untility: General function library, basically all.
    • WEB: Replication MVC base class, and common MVC controls

Universal Module CoreCore function modules, including cache management, configuration management, log management, service management ...
    • Cache module: Provides provider extension to distributed cache
    • Configuration module: regular-based configuration management and curd mechanism
    • Log module: Based on log4net extension
    • Service modules: Using the reference BLL by default, expandable calls to WCF services, and interception services
    • Upload module: General upload handler, and thumbnail generation (on-demand generation, instant generation, deferred generation)
    • Pipeline module: General purpose HttpModule for injection of common functions to various applications and websites

Application module Three-tier architecturePrototype and DAL,IBLL and BLL implementations for OA,CMS,CRM systems
    • Account: User authentication, expandable to SSO single sign-on
    • Account: Security Verification Code implementation
    • Account: Lightweight Permission system
    • OA: Provide examples of cases in OA personnel, department management and distribution
    • CRM: Customer management System prototype
    • CMS: Prototype of content publishing system

Data Layer (DAL):
    • Using Code First POCO mode
    • Provide entity design: one-to-one, one-to-many, many-to-many, self-referencing various usage scenarios
Business Logic Layer (BLL):
    • Implementing the Curd Method
    • Providing complex query scenarios
    • Provide business exception throws
    • Block write logs for back-end exceptions
    • Write history for write operations, for tracking
IBLL:
    • Service interface, extensible to publish the BLL as a service in WCF
front-end framework and implementationMvc,bootstrap .....
    • Based on Bootstrap: "Metronic Bootstrap Theme" template
    • MVC 4.0:curd operation based on MVC Model Binder
    • Silverlight 5:oa org chart OrgChart drag and drop operation
    • Package Context: Package Configcontext,cachecontext,usercontext,cookiecontext.
    • Upload control: uploadify Use instance
    • jquery: In addition to the Metronic template in the Assets folder, the content folder joins the jquery plugin needed
    • Provide Rich text editor, tags, js graphs and other examples

source its deployment
    • SOURCE Download: Http://pan.baidu.com/s/1dDBqSBR
    • Platform: Vs2010+,sql Server, mvc4,silverlight5_tools (optional)
    • Script deployment: Create a New Right Figure 5 libraries, and execute the DEPLOY.SQL initialization table and data in the source code
    • Configuration change: Change the database connection string under Gms.web.admin\config\daoconfig.xml
    • Start: VS IIS Express or establish the IIS Web site (main site project GMS.Web.Admin)
    • Login: Initialize user name: admin password: 111111

Share a common backend management system and architecture based on Ef+mvc+bootstrap

Related Article

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.