<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Cavingdeep的技术专栏</title><subtitle type="text">软件开发与工程，又一种艺术。</subtitle><id>http://feed.cnblogs.com/blog/u/12511/rss</id><updated>2006-09-19T01:57:37Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/12511/rss"/><entry><id>http://www.cnblogs.com/cavingdeep/archive/2006/08/22/483056.html</id><title type="text">用metaclass实现AOP风格的Profiler</title><summary type="text">以下是一段通过metaclass实现Profiler的Python代码，很简单，功能不多，目的是为了展示Python的metaprogramming的能力，这种能力，无疑是很实用的，而且可以将AOP的方面（aspect）概念发挥的很好！下面的Profiler类（metaclass）就可以将方法的profiling在不同的类中复用。Code highlighting produced by Acti...</summary><published>2006-08-22T02:36:00Z</published><updated>2006-08-22T02:36:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2006/08/22/483056.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2006/08/22/483056.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2006/08/22/483054.html</id><title type="text">Singleton implementation using metaclass</title><summary type="text">这里是一段Python代码，展示了如何利用metaclass来实现一个通用的Singleton，这使任何一个class都可以简单的复用这一行为：Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&amp;gt;classSingleton(type):def__call...</summary><published>2006-08-22T02:34:00Z</published><updated>2006-08-22T02:34:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2006/08/22/483054.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2006/08/22/483054.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2006/08/01/464781.html</id><title type="text">初试IronPython与.NET的集成</title><summary type="text">在得知IronPython如今已步入1.0 RC1后兴奋不已，赶快下载下来试用。虽说功能性变化不多（加入了试用性Python 2.5的语法支持:D），但稳定性如今已提高了不少，应该说可以用来投入正式使用了。:)如何用好IronPython翻看了一下Tutorials，发现和以前的内容差不多，按照Tutorials中的方法尝试了一下在C#中嵌入IronPython 代码，发现还很不错，最起码可行，虽...</summary><published>2006-08-01T03:06:00Z</published><updated>2006-08-01T03:06:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2006/08/01/464781.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2006/08/01/464781.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2006/07/15/451195.html</id><title type="text">Refactoring as a way to improve the existing design</title><summary type="text">Share with you a refactoring web site maintained by the mighty 'Martin Fowler':http://www.refactoring.com/You can find up to 93 refactoring methods in the catalog of this web site, 21 more than listed...</summary><published>2006-07-15T01:04:00Z</published><updated>2006-07-15T01:04:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2006/07/15/451195.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2006/07/15/451195.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2006/04/28/387175.html</id><title type="text">用metaclass来实现AOP</title><summary type="text">meta-programming是AOP实现的经常性手段，而这里要展示的，是利用Python的metaclass能力来实现 AOP。当a的setx方法被调用时，会被&amp;#8220;拦截&amp;#8221;，先输出pre...然后是原始setx的方法调用，最后输出post...Code highlighting produced by Actipro CodeHighlighter (freeware)ht...</summary><published>2006-04-28T01:05:00Z</published><updated>2006-04-28T01:05:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2006/04/28/387175.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2006/04/28/387175.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2006/03/24/357434.html</id><title type="text">不该用Generics实现Abstract Factory的理由</title><summary type="text">最近在与Ninputer争执.NET与Java的泛型特点，他的意见是.NET的Generics要更强（实现层面与语法层面两个层面），我的意见是Java的Generics的语法层面要更强（语法层面的强主要是指易用性）。他让我看了一篇用.NET Generics实现的Abstract Factory的文章http://blog.joycode.com/ninputer/archive/2006/01/...</summary><published>2006-03-24T02:24:00Z</published><updated>2006-03-24T02:24:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2006/03/24/357434.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2006/03/24/357434.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2006/03/15/350456.html</id><title type="text">新兴XML处理方法VTD-XML介绍</title><summary type="text">比DOM与SAX更快，比DOM与SAX更好用，这就是VTD-XML，待我慢慢道来……</summary><published>2006-03-15T03:49:00Z</published><updated>2006-03-15T03:49:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2006/03/15/350456.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2006/03/15/350456.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2005/12/16/298448.html</id><title type="text">Performance Tips I</title><summary type="text">Some useful coding performance tips...</summary><published>2005-12-16T05:39:00Z</published><updated>2005-12-16T05:39:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2005/12/16/298448.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2005/12/16/298448.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2005/11/23/282561.html</id><title type="text">DCG 2.0.72 (Beta1) 发布了</title><summary type="text">终于跨入了Beta版本了，这时的DCG 2.0可是绝对不容忽视的哦。 我这里简单描述一下现有功能，有兴趣的朋友请自行下载。使用简便切容易扩展的模板引擎。提供基于ASP语法的模板语言，简单易上手。扩展ASP的DTL（Dynamic Template Language）模板语言。现在写模板终于变得简单易维护了！内置Dcg对象，提供模板自身信息。完美自控资源清理，不会在您的目标系统上留下任何痕迹。安全的...</summary><published>2005-11-23T03:03:00Z</published><updated>2005-11-23T03:03:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2005/11/23/282561.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2005/11/23/282561.html"/></entry><entry><id>http://www.cnblogs.com/cavingdeep/archive/2005/11/17/278256.html</id><title type="text">NUnit发布2.2.3兼容.NET 2.0 RTM</title><summary type="text">比较欣慰的消息，NUnit不会因为VS 2005的存在而受到威胁，现NUnit已发布了这个兼容VS 2005与.NET 2.0 RTM的iteration版本。有需要的朋友们赶快自取吧。http://sourceforge.net/forum/forum.php?forum_id=511248</summary><published>2005-11-17T00:50:00Z</published><updated>2005-11-17T00:50:00Z</updated><author><name>Cavingdeep</name><uri>http://www.cnblogs.com/cavingdeep/</uri></author><link rel="alternate" href="http://www.cnblogs.com/cavingdeep/archive/2005/11/17/278256.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/cavingdeep/archive/2005/11/17/278256.html"/></entry></feed>
