something learnt in last week

UML :
designing usecase and contract (based by functions of role)
designing system sequence diagram to learn business
designing concept model and domain model
grasp : responsibility contributed patterns
1)expert pattern :We should contribute a function to a class which knowes information needed to execute the function.
2)coupling pattern (高内聚模式)
3)低耦合模式
4)controller pattern
still to study this chapters.
Design patterns:
composite pattern :
(create a tree and execute a single class or a list class in the same way)
need a component ,a single class and a list class should implement the interface and the list class should have list variable containing many single classes.In the executing method of list class it should execute the method of single classes in the list iteratively.
proxy pattern
facade pattern
decorator pattern:
(add functions to a class without extending the class)
the class and decorator class should implement the same interface.The decorator class should have a variable of the class extended .Then we can add functions to the decorator class and execute the methods of the class extended because of the variable of the class extended.
template pattern
command pattern

Habenate: or/m
The rationale of servlet container :use of reflection and socket
The rationale of struts :ActionServlet and flow of web.xml and struts_config.xml
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值