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 Preview Click Online Preview admin/111111 do not delete data
Framework business-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 Core core 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 architecture prototype 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 implementation mvc,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 (RPM)