zoukankan      html  css  js  c++  java
  • [分享]The Microsoft Enterprise Library微软企业库框架4.0[Open Source]

    新技术的出现从来都是为解决旧技术无法解决或比较难于解决再或者根本就做不到的功能,基于这样的需求而产生,发展
    往大了说,人类的进步何尝不是这样呢?这个话题太大不在此与各位讨论了,
    推荐一个微软开源框架,如题,它解决了我们日常编码中遇到的大多数问题,如日志管理,安全管理,缓存管理,数据有效性校验,报表管理等,
    看看自己感兴趣的部分即可~
     
    导读
    1,往大了说说,细里我也没看,但了解它的使用和理解决不是件简单的事情,我现在担心使用它的后果就是,完全改变以往的编程习惯,编程模式,这要从根本上改变自己一直以来的认知和观点,有点不容易,改变别人或自己这件事本身就是一件难事儿,应该都有所体会
    2,往小了说说,其实也不是多么复杂的事情,就是"封装"呗,封装封装再封装,再复杂的系统也是从简单的功能做起来的,一层一层封装成现在的庞然大物,话说两头啊,这未必是件坏事儿,甚至不单单不是坏事,根本就是件好事儿,就是所谓的社会分工不同而已,各个层次的人使用和编写符合他/她那个层次能够解决和触及的问题或产品,我个人观点认为,一些经典的产品其实也受益于此模式,如windows,不也是层层包装,最后达到"质变"的境界吗?还有一个观点是,外包思想,关注我们所面临问题,即俗话说的"火烧眉毛"的问题,而对于不是很直接的问题给于关注即可~
    3,两个假设,如果技术水平不是很次,如果时间允许,我想谁都能实现这么一套框架,问题在于如何处理重复造轮子这样的资源浪费以及在实现这个框架中遇到的许多意想不到的问题
     
    废话多了些,下面是我收藏一些资料,分享给各位~感兴趣的,有时间的情况下,看一看不会有坏处
     
    The Microsoft Enterprise Library微软企业库框架4.0[Open Source]
     
    源码下载
     
    源码预览
     
    中文教程,博客园李会军系列教程
     
    主要功能(一系列的Helper)
    • Caching Application Block. Developers can use this application block to incorporate a cache in their applications. Pluggable cache providers are supported.
    • Cryptography Application Block. Developers can use this application block to incorporate hashing and symmetric encryption in their applications.
    • Data Access Application Block. Developers can use this application block to incorporate standard database functionality in their applications.
    • Exception Handling Application Block. Developers and policy makers can use this application block to create a consistent strategy for processing exceptions that occur throughout the architectural layers of enterprise applications.
    • Logging Application Block. Developers can use this application block to include standard logging functionality in their applications.
    • Policy Injection Application Block. Developers can use this application block to implement interception policies that can be used to streamline the implementation of common features, such as logging, caching, exception handling, and validation, across a system.
    • Security Application Block. Developers can use this application block to incorporate authorization and security caching functionality in their applications.
    • Unity Application Block. Developers can use this application block as a lightweight and extensible dependency injection container with support for constructor, property, and method call injection.
    • Validation Application Block. Developers can use this application block to create validation rules for business objects that can be used across different layers of their applications.
     
    2009-01-08



    ------------------------------------------
    除非特别声明,文章均为原创,版权与博客园共有,转载请保留出处
    BUY ME COFFEE
  • 相关阅读:
    单元测试之道读书笔记(七)
    单元测试之道读书笔记(六)
    单元测试之道读书笔记(五)
    单元测试之道读书笔记(三)
    技术网站推荐
    CentOS7部署Haproxy 1.7.2
    Centos7.0配置MySQL主从服务器
    Centos7.0安装mysql5.6
    centos7配置Java环境
    Centos6.5 DNS配置
  • 原文地址:https://www.cnblogs.com/kkun/p/1384311.html
Copyright © 2011-2022 走看看