设计模式是什么?
然而,当您设计XML应用程序时,搞清楚用模式做什么更重要。
Yet when you design an XML application, it's even more important to know what to do with the schema.
已经看到了如何把curry过的闭包应用于函数模式,所以现在我们来看看在使用相似的技术重新访问重要的面向对象设计模式时发生了什么。
You've seen how you can apply curried closures to functional patterns, so now let's take a look at what happens when we revisit an important object-oriented design pattern using similar techniques.
由于JSF框架是根据模型-视图-控制器(MVC)模式设计的,我们应该首先考虑视图中要显示什么数据。
Since the JSF framework is designed following the Model-View-Controller pattern, we should first consider the data which each view will display (the Model).
在设计新语言功能时,很难预测开发人员将用它们做什么、它们将如何变更编码模式或者哪些方法会使开发人员在它们的缺点上受挫。
When designing new language features, it's hard to predict what developers will do with them, how they will change coding patterns, or in what ways developers will be frustrated by their shortcomings.
如果您在此部分中提供了足够的细节,那么其他用户将会很好地理解什么时候且如何使用您创建的设计模式。
If you provide enough details in this section, other users will better understand when and how to use a design pattern that you've created.
当然他们的这种执著追求并没有什么不对,但是如果认为它们其中任何一种(技术、框架或者设计模式)可以解决在所有项目里遇到的任何问题那就不对了。
There is nothing wrong with being passionate, but the belief that any one of these technologies, frameworks, design patterns or languages can solve all your problems on every project is misguided.
每个月我们都将探索设计模式、可靠软件设计的原则以及为什么“最佳实践”是最好的,同时也关注如何将它们应用于实际问题。
Each month, we'll explore design patterns, principles of reliable software design, and why "best practices" are best, with an eye to how they are applied to real problems.
设计指导部分解释了什么是模式元素,以及与这些元素相关联的替代和权衡。
A design guide section explains what the elements of the patterns actually are, and the alternatives and trade-offs associated with these elements.
在这里我要讲一下在发掘出代码中的可重用设计之后应该做些什么,介绍获取这些模式所用的方法。
Here I'll talk about what to do once you've unearthed reusable design in code, covering techniques for harvesting those patterns.
设计模式中的设计意图是一个什么样的角色呢?
对于设计模式为什么重要的不同问题,考虑一个管理列表的简单实例。
For a different spin on why design patterns are important, consider the simple example of managing a list.
这一节还解释了为什么需要在企业应用程序中使用XML模式,并介绍了XML设计范式的使用。
This section also explains why you need XML schema in your enterprise applications and introduces the use of XML design patterns.
把闭包应用于函数模式是令人兴奋的,一旦这么做了之后,再把它们应用于面向对象设计模式,就不是什么大事情了。
Applying closures to functional patterns is exciting, and once you've done that, it's not too big a stretch to apply them to object-oriented design patterns.
没什么具体的模式——软件架构师、项目经理、程序员、DBA、业务分析师、UI设计者等等——因此该系列并不会按照这种方式来组织。
There is no overarching scheme of gaps to fill out – software architect, project manager, programmer, DBA, business analyst, UI designer, etc. – so the series is not preplanned in that sense.
这就是他们为什么利用精心设计的定量模式跟踪个人交易商的各种指标,从交易的数量到睾丸激素含量。
That's why they employ elaborate quantitative models and track all sorts of metrics on individual traders, from volume of trades to levels of testosterone.
在前一篇专栏文章中,我描述了如何使用简单和复杂原型(请参阅侧栏什么是原型?)来简化和使XML模式设计有效率。
In my previous column, I described how simple and complex archetypes (see the sidebar What are archetypes?) may be used to simplify and streamline your XML schema designs.
同时,您还应当理解什么是可重用软件资产和模式,以及如何使用Rational Software Architect来将它们包含在您的设计中。
Also, you should understand what reusable software assets and patterns are, and how you can use Rational software Architect to include them in your design.
从外到内的设计模式,先从系统的输出结果开始,调查为什么需要它们,以及软件如何提供这些功能(来自BDD)。
Outside-in design - start with the outputs of the system and investigate why they are needed and how the software can provide them (comes from BDD).
使用工厂方法设计模式的正确方法是什么?
What's the right way to use the Factory method design pattern?
如果您希望了解在何时、为什么要使用XMLSchema规范中的重要特性来设计企业应用程序的生产级XML模式,那么这份教程对您来说将是非常有价值的。
The tutorial will be of value for you if you want to learn when and why to use important features in the XML schema specification to design production-grade XML schemas for enterprise applications.
本文旨在探讨什么是任务型教学中的“诧异”,并试图设计出一个“诧异”教学模式。
This paper mainly discusses what a surprise task is and tries to propose a model for surprise task activity.
我们都知道什么是设计模式。
在GUI页面切换的一种设计模式是什么?
What is an advisable design pattern for switching between GUI pages?
学习C++中处理现实生活中的设计模式的最佳方法是什么?
What is the best way to study design patterns in C++ which deals with real-life situations?
你用过哪些设计模式?在什么场合下用的?
Which design patterns have you used, and in what situations?
对设计模式的一种优秀的文学作品是什么?
对设计模式的一种优秀的文学作品是什么?
应用推荐