Angelo Lee's Blog
This is my kingdom .If i don't fight for it ,who will ?
01 2012 档案
Agile Method
摘要:敏捷开发包括一系列的方法,主流的有如下七种:XPXP(极限编程)的思想源自Kent Beck和Ward Cunningham在软件项目中的合作经历。XP注重的核心是沟通、简明、反馈和勇气。因为知道计划永远赶不上变化,XP无需开发人员在软件开始初期做出很多的文档。XP提倡测试先行,为了将以后出现bug的几率降到最低。SCRUMSCRUM是一种迭代的增量化过程,用于产品开发或工作管理。它是一种可以集合各种开发实践的经验化过程框架。SCRUM中发布产品的重要性高于一切。该方法由Ken Schwaber和 Jeff Sutherland 提出,旨在寻求充分发挥面向对象和构件技术的开发方法,是对迭代式面 阅读全文
posted @ 2012-01-30 17:08 Angelo Lee 阅读(258) 评论(0) 推荐(0)
The Art of Debugging
摘要:The Art of Debugging 阅读全文
posted @ 2012-01-14 23:05 Angelo Lee 阅读(154) 评论(0) 推荐(0)
Design Pattern Resources
摘要:Do FactoryOO DesignJava Camp 阅读全文
posted @ 2012-01-14 22:53 Angelo Lee 阅读(103) 评论(0) 推荐(0)
The Relationship of Parent Window And Sub Window
摘要:关于子窗体的层级关系总结一下哈,希望能对大家有些帮助假设有这样两个窗体:RootWindow,SubWindow,在RootWindow中引发某事件而显示SubWindow1,如果弹出窗体(比如SubWindow)仅仅是调用Show方法,并且没有设置其Owner属性:ClassRootWindow{ void Foo() { SubWindow sw = newSubWindow(); sw.Show(); }}那么弹出窗体(SubWindow)和源窗体(如RootWindow)没有任何层级关系,也就是说不会以模态方式呈现(SubWindow不会阻挡用户对Root... 阅读全文
posted @ 2012-01-14 22:02 Angelo Lee 阅读(174) 评论(0) 推荐(0)
WPF Navigation
摘要:WPF NavigationIn 2001, Microsoft published a paper called Inductive User Interface Guidelines. If you have not read this paper, I would suggest doing so. It is largely technology agnostic, and I know that many of my colleagues atReadify consider it to be a classic. In this article I want to look at 阅读全文
posted @ 2012-01-12 23:17 Angelo Lee 阅读(310) 评论(0) 推荐(0)
Beginning a WPF/MVVM application: Navigating between views
摘要:Beginning a WPF/MVVM application: Navigating between viewsHow do you go from one view to another without coupling views or view models together? Here is how I am currently doing it.The Overall Application Design LayoutThe layout we are after is an Outlook style navigation where there is a fixed layo 阅读全文
posted @ 2012-01-12 23:09 Angelo Lee 阅读(291) 评论(0) 推荐(0)
WPF Control Layout
摘要:Link:http://www.aspfree.com/c/a/Windows-Scripting/WPF-Control-Layout/Note that the examples in this article are all created as part of browser-hosted applications for the purpose of taking simple screenshots. Furthermore, the dimensions of the pages may be modified in order to make the result small 阅读全文
posted @ 2012-01-12 22:53 Angelo Lee 阅读(300) 评论(0) 推荐(0)
WPF & Silverlight Layout Controls
摘要:Link:http://blogs.msdn.com/b/wpfsldesigner/archive/2010/01/14/wpf-silverlight-layout-controls.aspx#gridThe WPF and Silverlight platforms have a wide selection of powerful layout controls.This topic will provide you with an understanding of these layout controls and how to take advantage of the WPF a 阅读全文
posted @ 2012-01-11 23:06 Angelo Lee 阅读(330) 评论(0) 推荐(0)
Fix: .Net 2.0 or 3.5 Setup Project Requires .Net Framework version 4.0
摘要:Sorry again folks again I was MIA with loads and loads of work. trust me i have more than 30 drafts which i started and never got time to finish. anyway coming to the point this morning i was trying to deploy a windows service project using the setup project templates in visual studio 2010, and when 阅读全文
posted @ 2012-01-11 19:21 Angelo Lee 阅读(304) 评论(0) 推荐(0)
Setup and Deployment in Visual Studio 2010
摘要:Setup and Deployment in Visual Studio 2010SETUP AND DEPLOYMENT IN VISUAL STUDIO 2010:INTRODUCTION:What happens if an architect designs a lot of architectural drawings and then does nothing with them? I mean no implementation, no building, just secured inside files. Your code inside your computer are 阅读全文
posted @ 2012-01-07 10:36 Angelo Lee 阅读(1126) 评论(1) 推荐(0)
HTTP Error 401.3 - Unauthorized Error - While creating IIS 7.0 web site on Windows 7
摘要:After Migrating the application to work with the Integrated .NET mode, you might come across a problem:Server Error in Application "WebSiteName" - HTTP Error 401.3 – UnauthorizedHTTP Error 401.3 – Unauthorized Resolving HTTP Error 401.3 – Unauthorized Error Click on Authentication and clic 阅读全文
posted @ 2012-01-06 13:22 Angelo Lee 阅读(357) 评论(0) 推荐(0)
IIS的各种身份验证详细测试
摘要:IIS的各种身份验证详细测试 阅读全文
posted @ 2012-01-05 17:07 Angelo Lee 阅读(128) 评论(0) 推荐(0)
Principles Of Object Oriented Design
摘要:(1)所有数据都应该隐藏在所在的类的内部。(2)类的使用者必须依赖类的共有接口,但类不能依赖它的使用者。(3)尽量减少类的协议中的消息。(4)实现所有类都理解的最基本公有接口[例如,拷贝*作(深拷贝和浅拷贝)、相等性判断、正确输出内容、从ASCII描述解析等等]。(5)不要把实现细节(例如放置共用代码的私有函数)放到类的公有接口中。如果类的两个方法有一段公共代码,那么就可以创建一个防止这些公共代码的私有函数。(6)不要以用户无法使用或不感兴趣的东西扰乱类的公有接口。(7)类之间应该零耦合,或者只有导出耦合关系。也即,一个类要么同另一个类毫无关系,要么只使用另一个类的公有接口中的*作。(8)类应 阅读全文
posted @ 2012-01-04 23:42 Angelo Lee 阅读(142) 评论(0) 推荐(0)
Inheritance VS Composition
摘要:Context Two of the main techniques for re-using code are Class Inheritance and Object Composition.Class Inheritance defines a new class in terms of an existing class. A subclass inherits both data and protocol from its superclass.Object Composition defines a new class as containing an instance of on 阅读全文
posted @ 2012-01-04 15:44 Angelo Lee 阅读(275) 评论(0) 推荐(0)
Java RMI VS TCP Socket
摘要:RMI比较socket的网络编程主要有以下几个方面: 第一、.RMI是面向对象的,而后者不是。 第二、.RMI是与语言相绑定的。比如当你使用Java RMI技术的时候,客户端与服务器端都必须使用Java开发。而socket的网络编程是使用独立于开发语言的,甚至独立于平台。基于socket的网络编程,客户端与服务器端可以使用不同开发语言和不同的平台。 第三、从网络协议栈的观点来看,RMI与socket的网络编程处于不同层次上。基于socket的网络编程位于TCP协议之上,而RMI在TCP协议之上,又定义了自己的应用协议,其传输层采用的是Java远程方法协议(JRMP)。可见,在网络协议栈上,基于 阅读全文
posted @ 2012-01-04 13:39 Angelo Lee 阅读(496) 评论(0) 推荐(0)
C/S and B/S
摘要:Client/Server即客户机/服务器 简称:C/S Browser/Server即浏览器/服务器 简称:B/S Client/Server是建立在局域网的基础上的,Browser/Server是建立在广域网的基础上的。 (1)硬件环境不同: C/S 一般建立在专用的网络上, 小范围里的网络环境, 局域网之间再通过专门服务器提供连接和数据交换服务。 B/S 建立在广域网之上的, 不必是专门的网络硬件环境,例如电话上网, 租用设备, 信息自己管理, 有比C/S更强的适应范围, 一般只要有操作系统和浏览器就行。 (2)对安全要求不同 C/S 一般面向相对固定的用户群, 对信息安全的控... 阅读全文
posted @ 2012-01-04 13:24 Angelo Lee 阅读(161) 评论(0) 推荐(0)