Submit Search
Upload
魏琪君-重构-关于可读性、原则和模式
•
Download as PPT, PDF
•
0 likes
•
334 views
fangdeng
Follow
Education
Report
Share
Report
Share
1 of 54
Download now
Recommended
Road To Agility
Road To Agility
Daniel Teng
Proyectos Innovadores1
Proyectos Innovadores1
lucenac
Manejosegurodesustanciasqumicas 140603201727-phpapp01
Manejosegurodesustanciasqumicas
Manejosegurodesustanciasqumicas
GLORIA S.A.
第四回Web apiを使ってwebアプリケーションを作る勉強会テキスト2
第四回Web apiを使ってwebアプリケーションを作る勉強会テキスト2
脇村 隆
2014 Equity challlenges in the acountability age
2014 Equity challlenges in the acountability age
Alfredo Artiles
Berufschancen von Soziologinnen und Soziologen, nicht nur Zahlen sondern auch Personen, die als Soziologen außerhalb der akademischen Arbeitswelt Karriere gemacht haben.
Absolventenvortrag+praxissoziologinnen+und+praxissoziologen+sowi go+göttingen...
Absolventenvortrag+praxissoziologinnen+und+praxissoziologen+sowi go+göttingen...
Fuhr Alfred
Παρουσίαση για την κατάσταση του θαλάσσιου και παράκτιου περιβάλλοντος στη Με...
Παρουσίαση για την κατάσταση του θαλάσσιου και παράκτιου περιβάλλοντος στη Με...
Υπουργείο Περιβάλλοντος και Ενέργειας
What I Eat (j.ng)
What I Eat (j.ng)
josieng
Recommended
Road To Agility
Road To Agility
Daniel Teng
Proyectos Innovadores1
Proyectos Innovadores1
lucenac
Manejosegurodesustanciasqumicas 140603201727-phpapp01
Manejosegurodesustanciasqumicas
Manejosegurodesustanciasqumicas
GLORIA S.A.
第四回Web apiを使ってwebアプリケーションを作る勉強会テキスト2
第四回Web apiを使ってwebアプリケーションを作る勉強会テキスト2
脇村 隆
2014 Equity challlenges in the acountability age
2014 Equity challlenges in the acountability age
Alfredo Artiles
Berufschancen von Soziologinnen und Soziologen, nicht nur Zahlen sondern auch Personen, die als Soziologen außerhalb der akademischen Arbeitswelt Karriere gemacht haben.
Absolventenvortrag+praxissoziologinnen+und+praxissoziologen+sowi go+göttingen...
Absolventenvortrag+praxissoziologinnen+und+praxissoziologen+sowi go+göttingen...
Fuhr Alfred
Παρουσίαση για την κατάσταση του θαλάσσιου και παράκτιου περιβάλλοντος στη Με...
Παρουσίαση για την κατάσταση του θαλάσσιου και παράκτιου περιβάλλοντος στη Με...
Υπουργείο Περιβάλλοντος και Ενέργειας
What I Eat (j.ng)
What I Eat (j.ng)
josieng
Educacion Tambien En Crisis
Educacion Tambien En Crisis
Marian Calvo
Wheebox offers tangible talent assessment solutions to organisations.
Benefits of Cloud Based Assessment Solution
Benefits of Cloud Based Assessment Solution
Whee box
In practice
In practice
rachelbernstein
1 corintios 13
1 corintios 13
Primera Iglesia Bautista de Barquisimeto
A los pies de jesús
A los pies de jesús
Primera Iglesia Bautista de Barquisimeto
engineering management
Network analysis
Network analysis
Moudud Hasan
cidb1bina 2012 survey
cidb1bina 2012 survey
rakissanta
Today, Infrastructure-as-a-Service (IaaS) cloud providers have incorporated parallel data processing framework in their clouds for performing Many-task computing (MTC) applications. Parallel data processing framework reduces time and cost in processing the substantial amount of users’ data. Nephele is a dynamic resource allocating parallel data processing framework, which is designed for dynamic and heterogeneous cluster environments. The existing framework does not support to monitor resource overload or underutilization, during job execution, efficiently. Consequently, the allocated compute resources may be inadequate for big parts of the submitted job and unnecessarily increase processing time and cost. Nephele’s architecture offers for efficient parallel data processing in clouds. It is the first data processing framework for the dynamic resource allocation offered by today’s IaaS clouds for both, task scheduling and execution. Particular tasks of a processing job can be assigned to different types of virtual machines which are automatically instantiated and terminated during the job execution
50120140507002
50120140507002
IAEME Publication
Introducing keepfast
Introducing keepfast
fangdeng
сабақ (14) үшбұрыштың ішкі бұрыштарының қосындысы
сабақ (14) үшбұрыштың ішкі бұрыштарының қосындысы
talgatjez
Simple machines made by childen in year 5
Simple Machines
Simple Machines
Lourdes Valencia
This webinar is a case study of Booz Allen's Tri-Analytics Capability within the Department of Defense.
Predicting Mission Success through Improved Data Collection, Reuse and Analysis
Predicting Mission Success through Improved Data Collection, Reuse and Analysis
Booz Allen Hamilton
09 qfor
09 qfor
RedChip Companies, Inc.
Educación a distancia
Educación a distancia
jbuentel
Silabodeauditoriainformatica 131005080638-phpapp02
Silabodeauditoriainformatica 131005080638-phpapp02
Franklin Armando Jara Neira
In an effort to combat ever-increasing fraud and security breaches, major credit card companies are beginning to use new technology.
Dip The Chip. Updating Credit Card Security.
Dip The Chip. Updating Credit Card Security.
African Frames
Presentation about my Master's Thesis in my Master Communication Management @ University of Ghent.
Advertising through sport: Master's Thesis (final version)
Advertising through sport: Master's Thesis (final version)
Pieterjan Blondeel
Portfolio Novointel
Portfolio Novointel
Portfolio Novointel
Novointel
重构——关于可读性、原则和模式 魏琪君
重构——关于可读性、原则和模式
重构——关于可读性、原则和模式
cnfi
Why n-Layer, Why MVC, architecture, domain, data, soc, unit testing, cross-cutting, dev role model, 流水线作业, 术业有专攻
N-layer design & development
N-layer design & development
Xuefeng Zhang
3.架构设计篇2
3.架构设计篇2
gavin shaw
浏览器工作原理浅析
浏览器工作原理浅析
癸鑫 张
More Related Content
Viewers also liked
Educacion Tambien En Crisis
Educacion Tambien En Crisis
Marian Calvo
Wheebox offers tangible talent assessment solutions to organisations.
Benefits of Cloud Based Assessment Solution
Benefits of Cloud Based Assessment Solution
Whee box
In practice
In practice
rachelbernstein
1 corintios 13
1 corintios 13
Primera Iglesia Bautista de Barquisimeto
A los pies de jesús
A los pies de jesús
Primera Iglesia Bautista de Barquisimeto
engineering management
Network analysis
Network analysis
Moudud Hasan
cidb1bina 2012 survey
cidb1bina 2012 survey
rakissanta
Today, Infrastructure-as-a-Service (IaaS) cloud providers have incorporated parallel data processing framework in their clouds for performing Many-task computing (MTC) applications. Parallel data processing framework reduces time and cost in processing the substantial amount of users’ data. Nephele is a dynamic resource allocating parallel data processing framework, which is designed for dynamic and heterogeneous cluster environments. The existing framework does not support to monitor resource overload or underutilization, during job execution, efficiently. Consequently, the allocated compute resources may be inadequate for big parts of the submitted job and unnecessarily increase processing time and cost. Nephele’s architecture offers for efficient parallel data processing in clouds. It is the first data processing framework for the dynamic resource allocation offered by today’s IaaS clouds for both, task scheduling and execution. Particular tasks of a processing job can be assigned to different types of virtual machines which are automatically instantiated and terminated during the job execution
50120140507002
50120140507002
IAEME Publication
Introducing keepfast
Introducing keepfast
fangdeng
сабақ (14) үшбұрыштың ішкі бұрыштарының қосындысы
сабақ (14) үшбұрыштың ішкі бұрыштарының қосындысы
talgatjez
Simple machines made by childen in year 5
Simple Machines
Simple Machines
Lourdes Valencia
This webinar is a case study of Booz Allen's Tri-Analytics Capability within the Department of Defense.
Predicting Mission Success through Improved Data Collection, Reuse and Analysis
Predicting Mission Success through Improved Data Collection, Reuse and Analysis
Booz Allen Hamilton
09 qfor
09 qfor
RedChip Companies, Inc.
Educación a distancia
Educación a distancia
jbuentel
Silabodeauditoriainformatica 131005080638-phpapp02
Silabodeauditoriainformatica 131005080638-phpapp02
Franklin Armando Jara Neira
In an effort to combat ever-increasing fraud and security breaches, major credit card companies are beginning to use new technology.
Dip The Chip. Updating Credit Card Security.
Dip The Chip. Updating Credit Card Security.
African Frames
Presentation about my Master's Thesis in my Master Communication Management @ University of Ghent.
Advertising through sport: Master's Thesis (final version)
Advertising through sport: Master's Thesis (final version)
Pieterjan Blondeel
Portfolio Novointel
Portfolio Novointel
Portfolio Novointel
Novointel
Viewers also liked
(18)
Educacion Tambien En Crisis
Educacion Tambien En Crisis
Benefits of Cloud Based Assessment Solution
Benefits of Cloud Based Assessment Solution
In practice
In practice
1 corintios 13
1 corintios 13
A los pies de jesús
A los pies de jesús
Network analysis
Network analysis
cidb1bina 2012 survey
cidb1bina 2012 survey
50120140507002
50120140507002
Introducing keepfast
Introducing keepfast
сабақ (14) үшбұрыштың ішкі бұрыштарының қосындысы
сабақ (14) үшбұрыштың ішкі бұрыштарының қосындысы
Simple Machines
Simple Machines
Predicting Mission Success through Improved Data Collection, Reuse and Analysis
Predicting Mission Success through Improved Data Collection, Reuse and Analysis
09 qfor
09 qfor
Educación a distancia
Educación a distancia
Silabodeauditoriainformatica 131005080638-phpapp02
Silabodeauditoriainformatica 131005080638-phpapp02
Dip The Chip. Updating Credit Card Security.
Dip The Chip. Updating Credit Card Security.
Advertising through sport: Master's Thesis (final version)
Advertising through sport: Master's Thesis (final version)
Portfolio Novointel
Portfolio Novointel
Similar to 魏琪君-重构-关于可读性、原则和模式
重构——关于可读性、原则和模式 魏琪君
重构——关于可读性、原则和模式
重构——关于可读性、原则和模式
cnfi
Why n-Layer, Why MVC, architecture, domain, data, soc, unit testing, cross-cutting, dev role model, 流水线作业, 术业有专攻
N-layer design & development
N-layer design & development
Xuefeng Zhang
3.架构设计篇2
3.架构设计篇2
gavin shaw
浏览器工作原理浅析
浏览器工作原理浅析
癸鑫 张
Android最佳实践
Android最佳实践
supernlee
Great architect cn
Great architect cn
drewz lin
- 依賴注入 - Unit test - Mocking Objects 另外為此製作的小TDD教學: 使用 測試驅動開發(TDD, Test-driven development)流程 來開發 終極密碼遊戲 https://www.youtube.com/edit?o=U&video_id=r8ZDs7k1jUk
TDD (Test-driven development, 測試驅動開發) 基本教學
TDD (Test-driven development, 測試驅動開發) 基本教學
潘 冠辰
OPOA in Action -- 使用MagixJS简化WebAPP开发
OPOA in Action -- 使用MagixJS简化WebAPP开发
leneli
Taobao数据库这5年
Taobao数据库这5年
yp_fangdong
掌星 移动互联网开发笔记-Vol002
掌星 移动互联网开发笔记-Vol002
rainx1982
淘宝网前端开发面试题
淘宝网前端开发面试题
淘宝网前端开发面试题
Lumend
对“新软攀峰”官网项目中面向对象设计原则和包设计原则的分析与修改
对“新软攀峰”官网项目中面向对象设计原则和包设计原则的分析与修改
对“新软攀峰”官网项目中面向对象设计原则和包设计原则的分析与修改
zhaoyulee
软件工程-- 原理、方法与应用
软件工程
软件工程
bill0077
标题: Architecture and Practice for DAL (5) Data Sharding Architecture and Practice for Data Access Layer (5) Data Sharding 联动优势数据访问层DAL架构和实践之五:分片数据分片 说明: How to implement a dalet to access sharding databases. 和已有DAL软件(如许超前DAL手机之家、陈思儒Amoeba/贺贤懋Cobar等)不一样,在前端访问方式的选择上,抛弃JDBC方式,而是为同一个dalet数据服务,同时提供自定义TCP长连接和HTTP长连接两种接口。 因而通过抛弃JDBC可以获得多方面的好处—— 1)可减少S端协议解析和查询分析的开销; 2)也简化C端编程。 3)后端存储就不再限于RDB了,而可以是任意NOSQL、文件、缓存、甚至是Tuxedo等在线服务。 4)可以实现无状态了,更容易横向扩展。 5)从接口上就可消除join等关键字的误用,避免引起服务端负担过重。
20130626联动优势数据访问层DAL架构和实践5(刘胜)数据分片和分页
20130626联动优势数据访问层DAL架构和实践5(刘胜)数据分片和分页
liu sheng
Redis slideshare
Redis slideshare
liaoxu
百度分布式数据实践与进展
百度分布式数据实践与进展
yp_fangdong
软件工程 第五章
软件工程 第五章
浒 刘
Dreaming Infrastructure
Dreaming Infrastructure
kyhpudding
What's Data ? What's DAL ? DAL 中的不变、变化 ? 电商网站 DAL 特点 (SoC) .NET 世界 ORM 现状
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
Xuefeng Zhang
This slide talks about how to be a software architect from zero to one. Also, there is a section describe clean architecture that is by uncle Bob. This slide is used in 2nd meetup of local tech community(DDD in Taiwan).
Ddd(meetup 2) ddd with clean architecture
Ddd(meetup 2) ddd with clean architecture
國昭 張
Similar to 魏琪君-重构-关于可读性、原则和模式
(20)
重构——关于可读性、原则和模式
重构——关于可读性、原则和模式
N-layer design & development
N-layer design & development
3.架构设计篇2
3.架构设计篇2
浏览器工作原理浅析
浏览器工作原理浅析
Android最佳实践
Android最佳实践
Great architect cn
Great architect cn
TDD (Test-driven development, 測試驅動開發) 基本教學
TDD (Test-driven development, 測試驅動開發) 基本教學
OPOA in Action -- 使用MagixJS简化WebAPP开发
OPOA in Action -- 使用MagixJS简化WebAPP开发
Taobao数据库这5年
Taobao数据库这5年
掌星 移动互联网开发笔记-Vol002
掌星 移动互联网开发笔记-Vol002
淘宝网前端开发面试题
淘宝网前端开发面试题
对“新软攀峰”官网项目中面向对象设计原则和包设计原则的分析与修改
对“新软攀峰”官网项目中面向对象设计原则和包设计原则的分析与修改
软件工程
软件工程
20130626联动优势数据访问层DAL架构和实践5(刘胜)数据分片和分页
20130626联动优势数据访问层DAL架构和实践5(刘胜)数据分片和分页
Redis slideshare
Redis slideshare
百度分布式数据实践与进展
百度分布式数据实践与进展
软件工程 第五章
软件工程 第五章
Dreaming Infrastructure
Dreaming Infrastructure
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
浅谈电商网站数据访问层(DAL)与 ORM 之适用性
Ddd(meetup 2) ddd with clean architecture
Ddd(meetup 2) ddd with clean architecture
More from fangdeng
jQuery底层架构
jQuery底层架构
fangdeng
Building an event driven web
Building an event driven web
fangdeng
浅尝jQuery
浅尝jQuery
fangdeng
Html基础培训
Html基础培训
fangdeng
前端开发之Js
前端开发之Js
fangdeng
Javascript代码注释及文档生成
Javascript代码注释及文档生成
fangdeng
J engine -构建高性能、可监控的前端应用框架
J engine -构建高性能、可监控的前端应用框架
fangdeng
前端单元测试初体验
前端单元测试初体验
fangdeng
Java script测试之js unit ut
Java script测试之js unit ut
fangdeng
2011年方凳年度总结及颁奖
2011年方凳年度总结及颁奖
fangdeng
产品线中的思考
产品线中的思考
fangdeng
产品线中的思考
产品线中的思考
fangdeng
Postoffer前端架构设计
Postoffer前端架构设计
fangdeng
Varnish简介
Varnish简介
fangdeng
Websocket
Websocket
fangdeng
Let's talk about date in javascript
Let's talk about date in javascript
fangdeng
Test driven-frontend-develop
Test driven-frontend-develop
fangdeng
方凳良品1期
方凳良品1期
fangdeng
方凳良品2期
方凳良品2期
fangdeng
Datalazyload
Datalazyload
fangdeng
More from fangdeng
(20)
jQuery底层架构
jQuery底层架构
Building an event driven web
Building an event driven web
浅尝jQuery
浅尝jQuery
Html基础培训
Html基础培训
前端开发之Js
前端开发之Js
Javascript代码注释及文档生成
Javascript代码注释及文档生成
J engine -构建高性能、可监控的前端应用框架
J engine -构建高性能、可监控的前端应用框架
前端单元测试初体验
前端单元测试初体验
Java script测试之js unit ut
Java script测试之js unit ut
2011年方凳年度总结及颁奖
2011年方凳年度总结及颁奖
产品线中的思考
产品线中的思考
产品线中的思考
产品线中的思考
Postoffer前端架构设计
Postoffer前端架构设计
Varnish简介
Varnish简介
Websocket
Websocket
Let's talk about date in javascript
Let's talk about date in javascript
Test driven-frontend-develop
Test driven-frontend-develop
方凳良品1期
方凳良品1期
方凳良品2期
方凳良品2期
Datalazyload
Datalazyload
魏琪君-重构-关于可读性、原则和模式
1.
重构- 关于可读性、原则和模式 中国网站技术部-市场开发部-前端(魏琪君)
UED Team Design
2.
3.
4.
缩进
5.
6.
7.
8.
9.
使用同样的词汇书写和交流
10.
11.
12.
13.
需求 1: OfferChooser
可以渲染在任意节点上
14.
需求 2 :使用
OfferChooserDialog ,可以以对话框的形式使用
15.
OfferChooser 由两部分组成
16.
17.
SearchPanel 由一个自定义的类目下拉框和普通的搜索功能组成
18.
SelectedOfferPart
19.
20.
坏味道 1 :长且重复的方法名
21.
提取,形成 SearchPanel
22.
现在的 ChooserOffer
23.
24.
25.
26.
类图
27.
继承-单例
28.
继承-多例
29.
组合
30.
31.
32.
33.
34.
35.
36.
37.
实现
38.
依赖注入( DI )
39.
40.
引入间接层:使用自定义事件
41.
42.
43.
44.
一个例子
45.
再一个例子
46.
47.
48.
模式新视角
49.
50.
51.
52.
画出类图
53.
54.
Download now