随笔分类 -  AOSD

摘要:Abstract: This article discusses three common web application architectures: Simple 2 Layer, Standard 3 Layer and Distributed 3 Layer. For each architecture, it gives an ASP.NET 2.0 sample implementaion with NBear framework. Table of Contents: 1. Simple 2 Layer 2. Standard 3 Layer 3. Distributed 3 Layer 4. More about NBear 5. Get Source Code of NBear and All Samples 6. Summary 阅读全文
posted @ 2006-07-19 14:54 Teddy's Knowledge Base 阅读(6171) 评论(41) 推荐(0) 编辑
摘要:http://www-128.ibm.com/developerworks/library/j-aopwork1http://www-128.ibm.com/developerworks/library/j-aopwork2http://www-128.ibm.com/developerworks/library/j-aopwork3http://www-128.ibm.com/developer... 阅读全文
posted @ 2005-12-12 16:03 Teddy's Knowledge Base 阅读(1201) 评论(1) 推荐(0) 编辑
摘要: 在本人之前的《Component/Service Oriented Software System Development Thinking 》一文中,我将包括BinaryLevel和Source Code Level的软件模块统称为Component。这种分类方式,和传统的对Component的一般定义应该说并不是十分一致。本文就是要对我为什么要这样分类作一些补充解释。 阅读全文
posted @ 2005-11-24 16:19 Teddy's Knowledge Base 阅读(2347) 评论(4) 推荐(0) 编辑
摘要: 前面谈到SOA,思维可能确实有点发散,但是,我还是坚持这样一种更高抽象层次的Service Oriented设计思想绝对是有益的。当然这个有待实践检验。另一方面,本人正在规划中的一个SOAHelper开源框架将会为基于通用的SOA思想的开发提供一些便利,当然,这里提到的SOA都不是业界对SOA严格的标准定义。而是更高层次的抽象,不过,对于严格的SOA,同样是有益的,不,应该是主要的服务对象。这个就是后话了,这里随便提一下。回到正题,本文是重新诠释SOA & AOP的下篇,即重新诠释AOP。大家放心,本篇不会像SOA那样发散,以至于什么都是AOP,毕竟AOP还是以OO为基础的抽象思想的扩展,这里谈论的主题还是在于AOP的意义及怎样的AOP实现方式是AOP未来的发展趋势,尤其会阐述一种所谓容器式的二进制/IL级别基于AOP的拦截机制。 阅读全文
posted @ 2005-11-21 17:49 Teddy's Knowledge Base 阅读(6418) 评论(12) 推荐(0) 编辑
摘要: 谈到AOP,大家乡到的一般就是两种主流的实现方式--动态代理和静态织入。两种主流的方式应该说各有优缺点,前者性能好,但是较难实现,稳定性不高;后者,更稳定,但是限制颇多,且执行效率不高。在本文中,Teddy将从动态织入和静态织入的技术区别出发,通过一个生动的故事,试图探索一种兼俱动态织入和静态织入的优点,并避免其缺点的全新的动态拦截思路。 阅读全文
posted @ 2005-10-19 16:09 Teddy's Knowledge Base 阅读(6201) 评论(31) 推荐(0) 编辑
摘要:今天做了两件有意思的事,一是为Perspective这个wiki系统集成了博客源的这个“插入代码”组件的最新版,使我的wiki可以直接方便的插入源代码了,还有就是为AspectWeaver - 我的AOP静态织入器写了一个Step By Step的在线教程,教程是英文的,加入“插入代码”后真的很酷哟!Aspect Weaver Tutorial 阅读全文
posted @ 2005-10-16 01:47 Teddy's Knowledge Base 阅读(3495) 评论(4) 推荐(0) 编辑
摘要:In No Buzzword AOP --- When we don't have aop, idior described a property debugging situation.This is the AOP way based on AspectWeaver0.6.DebugPropertyModifyingAspect.cs: using System;using AspectWea... 阅读全文
posted @ 2005-10-10 18:40 Teddy's Knowledge Base 阅读(2216) 评论(2) 推荐(0) 编辑
摘要:从GoF至今,随着不少大师级人物的的书籍、厂商和许多爱好者的追捧,Design Pattern这个词已是越来越被每个程序员挂在口上了。不说有多少人真正理解Design Pattern的本质,但至少大家都在努力的学习、研究和尝试,并能融入大家的日常开发,也总算是一片欣欣向荣之像。 不过,终究Design Pattern也用了那么多年才像现在这般深入人心,AOP虽然学术上提出也不晚,但是从Aspec... 阅读全文
posted @ 2005-10-09 10:43 Teddy's Knowledge Base 阅读(2386) 评论(11) 推荐(0) 编辑
摘要: In this chapter, I'll show you my AOP framework - Teddy's Aspect Weaver which is based on AspectDNG's ILML library. I just do my best to make this framework easier for using and avoid AspectDNG's disadvantages and encumbering facts. Also this framework extends functions of AspectDNG and provides more supported types of advices. Let's take a closer look with the example within the Aspect Weaver V0.6 source code and sample. 阅读全文
posted @ 2005-10-07 15:51 Teddy's Knowledge Base 阅读(3670) 评论(0) 推荐(0) 编辑
摘要:[More about Teddy's Aspect Weaver][More about AOP] 本范例基于Teddy’s Aspect Weaver Version 0.6,演示一个简单的AOP应用范例,范例中的具体Sample Aspect有: 1. SecurityAspect: Add additional security checking before Account.Login.... 阅读全文
posted @ 2005-10-05 17:59 Teddy's Knowledge Base 阅读(2524) 评论(5) 推荐(0) 编辑
摘要:[More about Teddy's Aspect Weaver]Teddy's Aspect Weaver Version 0.6Changes: - Fix big stable problemsDownload Source CodeAspectWeaver0.6.zipAspectWeaverSample1.0.zip 阅读全文
posted @ 2005-10-05 17:36 Teddy's Knowledge Base 阅读(1311) 评论(0) 推荐(0) 编辑
摘要:[More about Teddy's Aspect Weaver]Teddy's Aspect Weaver Version 0.5 [Updated: 2005/09/29]Changes: - Finished a completely refactoring - Fix lots lots of bugs through the refactoring - The most stab... 阅读全文
posted @ 2005-09-29 17:30 Teddy's Knowledge Base 阅读(1031) 评论(1) 推荐(0) 编辑
摘要: Teddy's Aspect Weaver Version 0.3 [Updated: 2005/09/27] Changes: - Add the geting context info and getting context arguments ability - Fix some internal XPath bugs - Fix BeforeConstructorCall/BeforeMethodCall bugs - Fix the ILML Library parsing method parameter name bug - Add the object instance in aspect local stack ability, which means you can new any object in aspect code only if the type of you object is defined or can be referenced in the base ass 阅读全文
posted @ 2005-09-27 10:43 Teddy's Knowledge Base 阅读(1893) 评论(4) 推荐(0) 编辑
摘要: In Build a More Powerful AOP Framework Based on AspectDNG's ILML Library - Teddy's Aspect Weaver, I built the Teddy's Aspect Weaver Version 0.1 with the xml based meta way configuration support. And this time, in version 0.2, I provide the addtional custom attribute way configuration support. You can use both meta way and custom attribute way configuration in even one weaving project. 阅读全文
posted @ 2005-09-24 13:43 Teddy's Knowledge Base 阅读(1926) 评论(5) 推荐(0) 编辑
摘要:Contents 1. Why AOP? 2. What Is AOP? 3. The Present AOP Frameworks in .Net. 4. How to Choose an AOP Framework? 5. Introduction to AspectDNG in Details. 6. "Hello World" Example with AspectDNG. 7. Buil... 阅读全文
posted @ 2005-09-21 10:35 Teddy's Knowledge Base 阅读(5947) 评论(15) 推荐(0) 编辑
摘要:Return to Contents 6. “Hello World” Example with AspectDNG In this chapter, let’s try to use AspectDNG to do an AOP example together. Firstly, I define the base and aspect assemblies as below: Test... 阅读全文
posted @ 2005-09-20 13:15 Teddy's Knowledge Base 阅读(2995) 评论(8) 推荐(0) 编辑
摘要:Return to Contents 5. Introduction to AspectDNG in Details. 5.1 What’s the Use of AspectDNG? AspectDNG is a .NET aspect weaver, that's to say a tool that can "transplant" code into an existing assembl... 阅读全文
posted @ 2005-09-14 10:28 Teddy's Knowledge Base 阅读(2486) 评论(0) 推荐(0) 编辑
摘要:Return to Contents 4. How to Choose an AOP Framework? 4.1 DynamicProxy or IL Level Weaving Generally, the AOP frameworks mentioned in last chapter can be divided into two categories: DynamicProxy and ... 阅读全文
posted @ 2005-09-13 15:07 Teddy's Knowledge Base 阅读(1940) 评论(0) 推荐(0) 编辑
摘要:Return to Contents 3. The Present AOP Frameworks in .Net (This chapter is based on my old article - “.Net AOP Frameworks Research Report v1.1”, for integration of this series of articles, I integrate ... 阅读全文
posted @ 2005-09-09 16:24 Teddy's Knowledge Base 阅读(2585) 评论(2) 推荐(0) 编辑
摘要:Return to Contents 2. What Is AOP? Before all, pay attention that the word “AOP” here stands for “Aspect Oriented Programming” not “Agent Oriented Programming”. Shortly speaking, AOP enables the modul... 阅读全文
posted @ 2005-09-09 12:57 Teddy's Knowledge Base 阅读(2503) 评论(2) 推荐(0) 编辑