Your SlideShare is downloading. ×
Builder设计模式分享
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Builder设计模式分享

487
views

Published on

Published in: Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
487
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Builder设计模式分享
    2010.8.27
    胡伟军
  • 2. 技术源于生活,高于生活,可以还原于生活
    好的思想来源于生活
    好的技术来源于实践
    开场白
  • 3. Sufferd By Constructing
    在生活中我们遇到了什么问题
  • 4. 我们的理想模式
  • 5. IOC
    Spring
    Configuratoin
    XML
    Annotation(MetaData)
    Design Pattern
    Factory Method
    Abstract Factory
    Prototype
    Builder
    事物的构造解决方案
  • 6. Factory Method/ Abstract Factory
  • 7. Prototype
  • 8. Builder Pattern
  • 9. Director——我
    Builder——叉烧饭Builder(Unkonw?)
    ConcreteBuilder——周星星牌叉烧饭Builder
    Product——叉烧饭(做出来的效果?)
    Builder Pattern
  • 10.
  • 11. 我->叉烧饭Builder(周星星)->鸡蛋()->冷饭()->叉烧()->青菜()-build(….这个过程很复杂,包含了,大量的业务逻辑)->叉烧饭
    Builder Pattern
  • 12. 设计模式构造系的奥义
    当事物的构造包含复杂的业务逻辑和实现的时候,请考虑将事物的构造逻辑…..
  • 13. 封装
    抽象
    设计模式构造系的奥义
  • 14. 代码
  • 15. 学而不思则惘,思而不学则怠
    Learn It, Do It, Discuss It, Teach It.
    结尾
  • 16. 讨论:
    Thinking

×