<?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>CNBlogs BlogServer</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="html">&lt;p&gt;今天看互联网新闻的时候，看到各大网站都发表了一篇标题为《IE9将支持苹果Safari  Firefox和Opera受冷落》，让我很是郁闷。浏览器之间哪来的支持与不支持呢，为了弄清情况，我满世界的找资料，最后终于弄明白了。&lt;/p&gt; &lt;p&gt;真实的情况是：&lt;strong&gt;在 HTML 5 视频标准上，IE9 和 Safari 支持 H.264，而Firefox 和 Opera  支持的是 Ogg Theora&lt;/strong&gt;。&lt;/p&gt; &lt;p&gt;之所以出现这样的情况是因为使用 H.264 标准需要得到授权，而 Ogg Theora是免费、开源的。&lt;/p&gt; &lt;p&gt;&lt;strong&gt;H.264&lt;/strong&gt;是一种高性能的视频编解码技术。目前国际上制定视频编解码技术的组织有两个，一个是&amp;#8220;国际电联 （ITU-T）&amp;#8221;，它制定的标准有H.261、H.263、H.263+等，另一个是&amp;#8220;国际标准化组织（ISO）&amp;#8221;它制定的标准有MPEG-1、 MPEG-2、MPEG-4等。而H.264则是由两个组织联合组建的联合视频组（JVT）共同制定的新数字视频编码标准，所以它既是ITU-T的  H.264，又是ISO/IEC的MPEG-4高级视频编码（Advanced Video  Coding，AVC），而且它将成为MPEG-4标准的第10部分。因此，不论是MPEG-4 AVC、MPEG-4 Part  10，还是ISO/IEC 14496-10，都是指H.264。&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Ogg Theora&lt;/strong&gt;是开放而且免费的视频压缩编码技术，由Xiph基金会发布。做为该基金会Ogg项目的一部 分，从VP3 HD高清到MPEG-4/DiVX格式都能够被Theora很好的支持。  使用Theora无需任何专利许可费。Firefox和Opera将通过新的HTML5元素提供了对Ogg/Theora视频的原生支持。&lt;/p&gt; &lt;p&gt;目前，Google自家的YouTube、微软的IE9、Apple的iPad、iPhone和Safari都支持H.264编码，比Ogg  Theora编码的回放画面质量高，但Firefox却拒绝支持H.264，因为Ogg Theora是完全开源的，而使用H.264则需要获得MPEG  LA的授权。不过MPEG LA已经在二月宣布他们扩展其H.264免费授权期限到2016年，引诱使得Mozilla和其它公司支持他们的标准。&lt;/p&gt; &lt;p&gt;结果造成现在的HTML 5视频编码形成两大阵营，H.264编码的视频可在Safari、Chrome和未来的IE9上观看，而Ogg  Theora编码的HTML 5视频则可以在Firefox、Chrome和Opera上观看。&lt;/p&gt; &lt;p&gt;而关于是使用H.264还是 ogg Theora标准的最新进展是，Google已经有计划要在本月举办的Google  I/O开发者大会上宣布开源VP8视频编码技术。届时，Firefox和Chrome浏览器都会同时宣布支持VP8编码的HTML 5视频回放。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a target="_blank" href="http://www.doriandeng.com/archives/150.html"&gt;http://www.doriandeng.com/archives/150.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/doriandeng/aggbug/1726212.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/doriandeng/archive/2010/05/03/1726212.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</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"/></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"/></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"/></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"/></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。&#xD;&#xD;Unity 应用程序块（Unity）是一个轻量级、可扩展的依赖注入容器，支持构造函数、属性和方法调用注入。它有下列优点：&#xD;&#xD;    * 简化了对象的创建，尤其是分层的对象结构和依赖，并简化了应用程序代码。&#xD;    * 支持需求的抽象，这允许开发人员在运行时或者配置中指定依赖，并简化了横切关注点的管理。&#xD;    * 通过延迟将配置组装到容器来提高灵活性。&#xD;    * 服务定位功能允许客户代码保存或者缓存容器。这在开发人员可以持久化容器到 ASP.NET Session 或者 Application 中的 ASP.NET Web 应用程序中特别有用。&#xD;</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"/></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"/></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"/></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 的行为也可以通过配置来指定。&#xD;Unity 应用程序块可以从 XML 配置文件中读取配置信息。配置文件可以是 Windows Forms 应用程序的 App.config 或者 ASP.NET 应用程序的 Web.config。当然，也可以从任何其他 XML 格式的文件或者其他数据源中加载配置信息。&#xD;在本文中，将和大家一起来学习 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"/></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 的站点上查看它的最新信息。&#xD;从今天开始，我将和大家一起来学习这个控制反转（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"/></entry></feed>
