2009年3月1日星期日

March 2th-6th Links:Design Patterns,Observer Pattern,Decorator Pattern

ASP.NET

ASP.NET MVC

c#
    2. Snippet: Check for Internet Connectivity(c#)
    WHAT IS AN INTERFACE?
    Interface is a contract that implementer must follow.In other words,an interface says what class must defined.Importantly,an interface doesn't specify(or care) how the implemention is actually achieved. As we move forward we'll see how helpful this can be to us.
    An interface can define zero or more members(methods or propties) and a class can implement zero or more interface.Interface members always have public.An interface with zero member is called marker-interface,they don't require implementer to do anything.
    An raise exist of interface is to provide developers with a language-level tool that allows classes to be decoupled from each other.

Design Patterns
    The decorator pattern can be used to make it possible to extend (decorate) the functionality of a class at runtime.
    

Web

English
    1. legacy: 继承,遗产
    2. merciless: 殘忍的
    3. pair with: 搭配
    4. violation: 违反,违背
    5. proper: 适当的,正确的
    6. crucial: 关键的,决定性的
    7. snippet: 小片,片段
    8. badminton: 羽毛球
    9. decouple:
    10. overlap: 重叠

没有评论: