The non-virtual interface pattern (NVI) controls how methods in a base class are overridden. Such methods may be called by clients and overridable methods with core functionality. It is a pattern that is strongly related to the template method pattern. The NVI pattern recognizes the benefits of a non-abstract method invoking the subordinate abstract methods. This level of indirection allows for pre and post operations relative to the abstract operations both immediately and with future unforeseen changes. The NVI pattern can be deployed with very little software production and runtime cost. Many commercial software frameworks employ the NVI pattern.
Attributes | Values |
---|
rdf:type
| |
rdfs:label
| - Non-virtual interface pattern (en)
- Шаблон невиртуального интерфейса (ru)
|
rdfs:comment
| - The non-virtual interface pattern (NVI) controls how methods in a base class are overridden. Such methods may be called by clients and overridable methods with core functionality. It is a pattern that is strongly related to the template method pattern. The NVI pattern recognizes the benefits of a non-abstract method invoking the subordinate abstract methods. This level of indirection allows for pre and post operations relative to the abstract operations both immediately and with future unforeseen changes. The NVI pattern can be deployed with very little software production and runtime cost. Many commercial software frameworks employ the NVI pattern. (en)
- Шаблон невиртуального интерфейса (англ. non-virtual interface pattern, NVI) управляет переопределением методов в базовом классе. Такие методы могут вызываться из клиентского кода и переопределяемых методов, содержащих основную функциональность. Этот шаблон тесно связан с шаблонным методом. Шаблон невиртуального интерфейса имеет все преимущества неабстрактного метода, вызывающего абстрактные методы, выполняющие реальную работу. Этот уровень косвенности позволяет выполнять операции до и после абстрактных операций — как непосредственно, так и при условии возможных непредвиденных изменений в будущем. Шаблон невиртуального интерфейса может быть использован с весьма малыми затратами на производство программного обеспечения и его высокой производительностью. Многие коммерческие программные фреймв (ru)
|
dcterms:subject
| |
Wikipage page ID
| |
Wikipage revision ID
| |
Link from a Wikipage to another Wikipage
| |
Link from a Wikipage to an external page
| |
sameAs
| |
dbp:wikiPageUsesTemplate
| |
has abstract
| - The non-virtual interface pattern (NVI) controls how methods in a base class are overridden. Such methods may be called by clients and overridable methods with core functionality. It is a pattern that is strongly related to the template method pattern. The NVI pattern recognizes the benefits of a non-abstract method invoking the subordinate abstract methods. This level of indirection allows for pre and post operations relative to the abstract operations both immediately and with future unforeseen changes. The NVI pattern can be deployed with very little software production and runtime cost. Many commercial software frameworks employ the NVI pattern. (en)
- Шаблон невиртуального интерфейса (англ. non-virtual interface pattern, NVI) управляет переопределением методов в базовом классе. Такие методы могут вызываться из клиентского кода и переопределяемых методов, содержащих основную функциональность. Этот шаблон тесно связан с шаблонным методом. Шаблон невиртуального интерфейса имеет все преимущества неабстрактного метода, вызывающего абстрактные методы, выполняющие реальную работу. Этот уровень косвенности позволяет выполнять операции до и после абстрактных операций — как непосредственно, так и при условии возможных непредвиденных изменений в будущем. Шаблон невиртуального интерфейса может быть использован с весьма малыми затратами на производство программного обеспечения и его высокой производительностью. Многие коммерческие программные фреймворки используют шаблон невиртуального интерфейса. (ru)
|
prov:wasDerivedFrom
| |
page length (characters) of wiki page
| |
foaf:isPrimaryTopicOf
| |
is Link from a Wikipage to another Wikipage
of | |
is Wikipage redirect
of | |
is Wikipage disambiguates
of | |
is foaf:primaryTopic
of | |