ITeye博客

好脑瓜不如烂笔头

fauvism · 共 11 篇文章

诗词乱拼 zz from smth.org

发信人: FZD (防撞墩/没进前5,羞愧), 信区: Joke 标 题: 诗句 发信站: 水木社区 (Tue Jan 19 22:58:40 2010), 站内 ☆─────────────────────────────────────☆ shenxinwei06 (萧萧) 于 (Mon Jan 18 22:10:33 2010) 提到: 日照香炉生紫烟,一行白鹭上青天,横眉冷对千夫指,朝辞白帝彩云间。 红酥手,黄藤酒,两个黄鹂鸣翠柳。 粪土当年万户侯,路见不平一声吼。 壮士饥参胡虏肉,劝君更尽一杯酒。 夜深忽梦少年事,唯梦闲人不梦君 白日放歌须纵酒,少年壮志不言愁 满堂花醉三千客,更无…

2010-01-19 13:21 · 杂谈 · 评论(0)

SCEA 5 Study Guide Section 1: Application Design Concepts and Principle (一)

**Explain the main advantages of an object oriented approach to system design including the effect of encapsulation, inheritance, and the use of interfaces on architectural characteristics. ** There are three major features in object-oriented programming: encapsulation , **inheritance **and polymor…

2010-01-18 15:47 · JEE · 评论(0)

面向对象设计原则(一) SRP

SRP(The Single Responsibility Principle) 单一职责原则 TBD

2010-01-14 16:12 · OO · 评论(0)

面向对象设计原则 by Uncle Bob

原文: http://fauvism.iteye.com/blog/568610 类设计五大原则: | SRP |单一职责原则|一个类应该有且仅有一个需要改变理由。 | | OCP |开闭原则|你可以扩展一个类的行为而不用修改它。 | | LSP |里氏替换原则|派生类必须可以替换它的基类。 | | DIP |依赖倒置原则|依赖于抽象而不依赖具体实现。 | | ISP |接口分隔原则|制作客户端特定的精细接口。 | 下面是六个关于包的原则。 这里的“包”指的是一个二进制可交付构件,就像java jar文件和dll文件,而不是java包和c++ namespace这样的命名空间。 前三个是关于…

2010-01-13 10:34 · OO · 评论(0)

The Principles of OOD by Uncle Bob

What is object oriented design? What is it all about? What are it's benefits? What are it's costs? It may seem silly to ask these questions in a day and age when virtually every software developer is using an object oriented language of some kind. Yet the question is important because, it seems to …

2010-01-12 18:00 · OO · 评论(0)

SCEA Edition 5 Objectives

Section 1: Application Design Concepts and Principles Explain the main advantages of an object-oriented approach to system design including the effect of encapsulation, inheritance, and use of interfaces on architectural characteristics. Detail: http://fauvism.iteye.com/blog/573492 Describe how the…

2010-01-11 12:49 · JEE · 评论(0)

SQL Server 数据库字符集更改

1、查询当前数据库的排序规则(编码) select * from ::fn_helpcollations() 2、执行SQL语句 alter database xxx collate yyy xxx - DB name yyy - 字符集 name

2009-07-20 10:25 · Diary · 评论(0)

Spring事务传播性总结

在 Spring 中一共定义了七种事务传播属性: PROPAGATION_REQUIRED -- 支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。 PROPAGATION_SUPPORTS -- 支持当前事务,如果当前没有事务,就以非事务方式执行。 PROPAGATION_MANDATORY -- 支持当前事务,如果当前没有事务,就抛出异常。 PROPAGATION_REQUIRES_NEW -- 新建事务,如果当前存在事务,把当前事务挂起。 PROPAGATION_NOT_SUPPORTED -- 以非事务方式执行操作,如果当前存在事务,就把当前事务挂起。 PROPAGA…

2009-06-17 13:39 · JEE · 评论(0)

Portal学习笔记(一) 概念

|名词|解释 |Portal |门户,提供包括内容聚合、单点登陆、个性化定制和安全管理等服务的基础Web平台。 |Portlet|Portlet是基于web的Java组件。它由Portlet容器管理,能够处理请求,产生动态内容。Portlet被Portal用作为可插拔的用户接口组件,为信息系统提供展现。由Portlet动态产生的内容也被叫做fragment。fragment是遵循某种规则的标记(例如:HTML, XHTML,WML),可与其他的fragment一起建立一个完整的文档。一般一个Portlet产生的内容和其他的Portlet产生的内容聚集在一起形成Portal网页。 |Portl…

2009-06-13 21:38 · Portal · 评论(0)

2009-06-11 特殊字符处理

设计系统之初一定要考虑一下特殊字符的处理,特别是用户输入的内容。这两天遇到了这方面的bug,单引号,斜杠啥的在sql里面会造成异常。需要用org.apache.commons.lang的StringEscapeUtils处理一下。

2009-06-11 11:19 · Diary · 评论(0)

开张了

开张一个博客吧,用于知识整理记录。发现干我们这一行不记录是不行了,很多以前搞过的东西都忘了,好脑瓜不如烂笔头,曾经的导师讲的。

2009-06-05 11:28 · 杂谈 · 评论(0)