=========== A quick enterprise framework for information system.
项目描述
基于MVC, WebApi, Dapper的3层分布式架构开发框架,其特点是:
- 采用Dapper微ORMapping框架,性能接近原生SQL;
- 采用Repository模式;
- 采用面向Interface接口编程规范;
- 采用WebApi实现服务总线;
- 前端SlickGrid数据控件展现,Web富交互功能实现;
- 前端Javascript模板引擎(HandleBarJS/DustJS)。
SlickOne is a basic library for an enterprise information system or website project. Some new features have been implemenmted in the solution. The solution is designed for 3-tier distributed system, SOA based system, Repository pattern, POCO entity pattern, plugin architecture and asp.net mvc/web api architecture. There are some details described here:
- The 3-tier distributed layer include: data access layer, buisiness logic layer and web presentation layer.
- Using micro-ORMapping framework Dapper/DapperExtension for database operation.
- Using Generic repository pattern to convert data entity and business entity.
- Using Asp.net MVC WebAPI to implement service layer/business layer, webapi is a restful style service, we make it to replacte wcf, the reason is that wcf would make you spend much time to maintain xml config in both server and client sides.
- All business logic are implemented from Interface, it makes concept not depended on the concrete class instance.
- The IRepository class can be used to implement EF, NHerbinate framework which the user prefered to them.
The SlickOne.Web project would give you a full tutorial how to use the SlickOne library and webapi to create a rich mvc web application. Similarily, there sare serveral key points to describe here:
- The javascript block included in asp.net mvc view can call service/webapi by ajax get, post method;
- Slickgrid is a javascript control for displaying large records with high performance;