Издательство: | Книга по требованию |
Дата выхода: | июль 2011 |
ISBN: | 978-6-1304-4554-6 |
Объём: | 96 страниц |
Масса: | 166 г |
Размеры(В x Ш x Т), см: | 23 x 16 x 1 |
High Quality Content by WIKIPEDIA articles! In software engineering, the template method pattern is a design pattern. It is a behavioral pattern, and is unrelated to C++ templates. In a template pattern, the model (data such as XML, or a set of APIs) has no inherent knowledge of how it would be utilized. The actual algorithm is delegated to the views, i.e. templates. Different templates could be applied to the same set of data or APIs and produce different results. Thus, it is a subset of model-view-controller patterns without the controller. The pattern does not have to be limited to object-oriented programming. For example, different XSLT templates could render the same XML data and produce different outputs. C++ templates also make it possible to code the algorithms (i.e. views) without having to use abstract classes or interfaces.
Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.