码迷,mamicode.com
首页 > Web开发 > 详细

Something about the microsoft HttpContext domain design

时间:2016-02-17 12:59:17      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:

1. HttpContext.Current.Request, Response

2.HttpHandler-> ProcessRequest

3.HttpModule-> Init, InitHandlers, context_BeginRequest

Comments:

This seems to be an event and handler based system. Can follow the design lines.

Kinds of DDD, HttpContext, naturally, there should be different Contexts, so, something can be infered from these code. Current? Request and Response, there are the basic lines of this Domain driven.

Maybe we can realize DDD and CQRS, CQRS  is like an architectural pattern, while DDD is used to handle different domain business, DDD varies with different domain.

A software should be an architect and some OOP models(DOMAIN MODELs), no need to bother so much to know how it is realized, just watch out for you business. We have different styles.

Something about the microsoft HttpContext domain design

标签:

原文地址:http://www.cnblogs.com/hualiu0/p/5194774.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!