<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_理想&amp;美人</title><subtitle type="text">追随理想和美人而生活http://www.doriandeng.com</subtitle><id>http://feed.cnblogs.com/blog/u/29711/rss</id><updated>2011-12-06T05:25:46Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/29711/rss"/><entry><id>http://www.cnblogs.com/doriandeng/archive/2010/05/03/1726212.html</id><title type="text">IE9 支持的是 H.264 视频标准，不是苹果 Safari</title><summary type="text">在 HTML 5 视频标准上，IE9 和 Safari 支持 H.264，而Firefox 和 Opera 支持的是 Ogg Theora。</summary><published>2010-05-02T18:05:00Z</published><updated>2010-05-02T18:05:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2010/05/03/1726212.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2010/05/03/1726212.html"/><content type="text">在 HTML 5 视频标准上，IE9 和 Safari 支持 H.264，而Firefox 和 Opera 支持的是 Ogg Theora。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/06/06/1215176.html</id><title type="text">深入 Unity 1.x 依赖注入容器之四：依赖注入</title><summary type="text">Unity 是一个依赖注入容器，自然依赖注入是它最重要的功能。从以往的讨论来看，矛盾都集中于 Unity 侵入了依赖的对象，这可能是 Unity 在预览版的文档中没有说明，加上某个外国牛人的某篇文章造成的恶果。因为，Unity 同样可以通过配置文件支持非侵入式的依赖注入。本文将从使用 Attribute 和配置文件两个方面对 Unity 的依赖注入的支持进行阐述。</summary><published>2008-06-06T07:19:00Z</published><updated>2008-06-06T07:19:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/06/06/1215176.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/06/06/1215176.html"/><content type="text">Unity 是一个依赖注入容器，自然依赖注入是它最重要的功能。从以往的讨论来看，矛盾都集中于 Unity 侵入了依赖的对象，这可能是 Unity 在预览版的文档中没有说明，加上某个外国牛人的某篇文章造成的恶果。因为，Unity 同样可以通过配置文件支持非侵入式的依赖注入。本文将从使用 Attribute 和配置文件两个方面对 Unity 的依赖注入的支持进行阐述。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/05/23/1205711.html</id><title type="text">深入 Unity 1.x 依赖注入容器之三：获取对象</title><summary type="text">通过前二部分的学习，对象的获取已非常简单，在此对前面用过的对象获取方法进行总结 ，同时对还没有使用过的方法进行补充。</summary><published>2008-05-23T05:33:00Z</published><updated>2008-05-23T05:33:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/05/23/1205711.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/05/23/1205711.html"/><content type="text">通过前二部分的学习，对象的获取已非常简单，在此对前面用过的对象获取方法进行总结 ，同时对还没有使用过的方法进行补充。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/05/23/1205362.html</id><title type="text">深入 Unity 1.x 依赖注入容器之二：初始化 Unity</title><summary type="text">Unity 初始化主要是注册类型映射并指定其生命周期。 在本文中，我们使用了一个接口 IDialer、一个实现了接口的抽象基类 Dialer，二个继承自 Dialer 的具体类 ButtonTypeDialer 和 FigurePlateDialer 类，以及一个使用 Dialer 的 Telephone 类。</summary><published>2008-05-22T17:44:00Z</published><updated>2008-05-22T17:44:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/05/23/1205362.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/05/23/1205362.html"/><content type="text">Unity 初始化主要是注册类型映射并指定其生命周期。 在本文中，我们使用了一个接口 IDialer、一个实现了接口的抽象基类 Dialer，二个继承自 Dialer 的具体类 ButtonTypeDialer 和 FigurePlateDialer 类，以及一个使用 Dialer 的 Telephone 类。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/05/21/1203700.html</id><title type="text">深入 Unity 1.x 依赖注入容器之一：入门</title><summary type="text">Unity 是由微软开发的一个轻量级、可扩展的依赖注入(Dependency Injection, DI)容器，支持构造函数、属性和方法的依赖注入。所谓依赖的注入，即将程序开发过程中的对象与其所依赖的具体对象解耦，从一定程度上仅关注对所依赖对象的使用，却不管其具体对象是哪个类的实例；而真正的被依赖对象在运行时由容器注入。本质上，它就是一个对象工厂和对象管理器。</summary><published>2008-05-20T17:13:00Z</published><updated>2008-05-20T17:13:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/05/21/1203700.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/05/21/1203700.html"/><content type="text">Unity 是由微软开发的一个轻量级、可扩展的依赖注入(Dependency Injection, DI)容器，支持构造函数、属性和方法的依赖注入。所谓依赖的注入，即将程序开发过程中的对象与其所依赖的具体对象解耦，从一定程度上仅关注对所依赖对象的使用，却不管其具体对象是哪个类的实例；而真正的被依赖对象在运行时由容器注入。本质上，它就是一个对象工厂和对象管理器。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/05/05/1184078.html</id><title type="text">Unity 1.0 中文文档：1 - Unity 简介</title><summary type="text">这是 Unity 1.0 文档翻译的第一部分，欢迎大家参与翻译和审校，详情请看 http://forum.entlib.net.cn/showtopic-235.aspx。Unity 应用程序块（Unity）是一个轻量级、可扩展的依赖注入容器，支持构造函数、属性和方法调用注入。它有下列优点：  * 简化了对象的创建，尤其是分层的对象结构和依赖，并简化了应用程序代码。  * 支持需求的抽象，这允许开发人员在运行时或者配置中指定依赖，并简化了横切关注点的管理。  * 通过延迟将配置组装到容器来提高灵活性。  * 服务定位功能允许客户代码保存或者缓存容器。这在开发人员可以持久化容器到 ASP.NET Session 或者 Application 中的 ASP.NET Web 应用程序中特别有用。</summary><published>2008-05-05T13:53:00Z</published><updated>2008-05-05T13:53:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/05/05/1184078.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/05/05/1184078.html"/><content type="text">这是 Unity 1.0 文档翻译的第一部分，欢迎大家参与翻译和审校，详情请看 http://forum.entlib.net.cn/showtopic-235.aspx。Unity 应用程序块（Unity）是一个轻量级、可扩展的依赖注入容器，支持构造函数、属性和方法调用注入。它有下列优点：  * 简化了对象的创建，尤其是分层的对象结构和依赖，并简化了应用程序代码。  * 支持需求的抽象，这允许开发人员在运行时或者配置中指定依赖，并简化了横切关注点的管理。  * 通过延迟将配置组装到容器来提高灵活性。  * 服务定位功能允许客户代码保存或者缓存容器。这在开发人员可以持久化容器到 ASP.NET Session 或者 Application 中的 ASP.NET Web 应用程序中特别有用。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/02/29/1085549.html</id><title type="text">Unity Feb 26 Weekly Drop</title><summary type="text">2月26日，Unity 又发布了新的版本，让我们来看看有什么改变!</summary><published>2008-02-28T16:46:00Z</published><updated>2008-02-28T16:46:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/02/29/1085549.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/02/29/1085549.html"/><content type="text">2月26日，Unity 又发布了新的版本，让我们来看看有什么改变!</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/02/25/1081333.html</id><title type="text">使用 Unity Application Block(三)：理解和使用依赖注入的键</title><summary type="text">在使用 Unity 创建对象之前，需要准备 Unity 容器，也即进行注册(类型映射)。在 使用Unity（二）：配置 Unity 、读取配置信息和获取对象中，我们学习了如何使用配置文件来进行注册，而在本文中，我们将学习使用代码来进行各种注册，这些代码所实现的功能同样可以使用配置文件来实现。</summary><published>2008-02-25T13:59:00Z</published><updated>2008-02-25T13:59:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/02/25/1081333.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/02/25/1081333.html"/><content type="text">在使用 Unity 创建对象之前，需要准备 Unity 容器，也即进行注册(类型映射)。在 使用Unity（二）：配置 Unity 、读取配置信息和获取对象中，我们学习了如何使用配置文件来进行注册，而在本文中，我们将学习使用代码来进行各种注册，这些代码所实现的功能同样可以使用配置文件来实现。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/02/23/1078386.html</id><title type="text">使用 Unity（二）：配置 Unity 、读取配置信息和获取对象</title><summary type="text">和 Enterprise Library 的其他应用程序块一样，Unity 的行为也可以通过配置来指定。Unity 应用程序块可以从 XML 配置文件中读取配置信息。配置文件可以是 Windows Forms 应用程序的 App.config 或者 ASP.NET 应用程序的 Web.config。当然，也可以从任何其他 XML 格式的文件或者其他数据源中加载配置信息。在本文中，将和大家一起来学习 Unity 配置文件的格式、配置的读取、通过示例说明实例的获取。</summary><published>2008-02-22T19:05:00Z</published><updated>2008-02-22T19:05:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/02/23/1078386.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/02/23/1078386.html"/><content type="text">和 Enterprise Library 的其他应用程序块一样，Unity 的行为也可以通过配置来指定。Unity 应用程序块可以从 XML 配置文件中读取配置信息。配置文件可以是 Windows Forms 应用程序的 App.config 或者 ASP.NET 应用程序的 Web.config。当然，也可以从任何其他 XML 格式的文件或者其他数据源中加载配置信息。在本文中，将和大家一起来学习 Unity 配置文件的格式、配置的读取、通过示例说明实例的获取。</content></entry><entry><id>http://www.cnblogs.com/doriandeng/archive/2008/02/17/1071257.html</id><title type="text">使用 Unity（一）：Unity 应用程序块容器介绍</title><summary type="text">Microsoft 的 P&amp;P 团队在 12 日发布了 Unity 的社区预览版，大家可以在 Unity 的站点上查看它的最新信息。从今天开始，我将和大家一起来学习这个控制反转（Inversion of Control, IoC） 和依赖注入（Dependency Injection, DI） 容器的使用。关于 IoC 和 DI，大家可以参考 Martin Fowler 著的《IoC 容器和 Dependency Injection 模式》。</summary><published>2008-02-17T06:14:00Z</published><updated>2008-02-17T06:14:00Z</updated><author><name>Dorian Deng</name><uri>http://www.cnblogs.com/doriandeng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/doriandeng/archive/2008/02/17/1071257.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/doriandeng/archive/2008/02/17/1071257.html"/><content type="text">Microsoft 的 P&amp;P 团队在 12 日发布了 Unity 的社区预览版，大家可以在 Unity 的站点上查看它的最新信息。从今天开始，我将和大家一起来学习这个控制反转（Inversion of Control, IoC） 和依赖注入（Dependency Injection, DI） 容器的使用。关于 IoC 和 DI，大家可以参考 Martin Fowler 著的《IoC 容器和 Dependency Injection 模式》。</content></entry></feed>
