docs

Deprecated View Types and Patterns

As of OpenUI5 version 1.120, XML views and Typed Views are the only recommended view types. All other view types and related patterns are deprecated.

Note:

We recommend using XML views for all new development. For programmatic view creation, use Typed views via View.extend().

Deprecated Pattern Deprecated as of Replacement Details
**JSON View** \(`sap.ui.core.mvc.JSONView`\) 1.120 [XML View](/docs/04_Essentials/xml-view-91f2928.html) [JSON View \(deprecated\)](/docs/04_Essentials/json-view-deprecated-91f2852.html)
**Declarative Support** \(`sap.ui.core.plugin.DeclarativeSupport`\) 1.120 [XML View](/docs/04_Essentials/xml-view-91f2928.html) [Declarative Support \(deprecated\)](/docs/04_Essentials/declarative-support-deprecated-91f1301.html)
**View Cloning** 1.120 Call the view factory function again [View Cloning \(deprecated\)](/docs/04_Essentials/view-cloning-deprecated-a575619.html)
**Native HTML in XML Views** 1.120 `sap.ui.core.HTML` control or custom control [Using Native HTML in XML Views \(deprecated\)](/docs/04_Essentials/using-native-html-in-xml-views-deprecated-be54950.html)
**CSS in XML Views** 1.120 External CSS file [Using CSS Style Sheets in XML Views \(deprecated\)](/docs/04_Essentials/using-css-style-sheets-in-xml-views-deprecated-b564935.html)
**HTML View** \(`sap.ui.core.mvc.HTMLView`\) 1.108 [XML View](/docs/04_Essentials/xml-view-91f2928.html) No more known usages as HTML syntax brings no advantages over XML
**JS View** \(`sap.ui.core.mvc.JSView`\) 1.90 [Typed View](/docs/04_Essentials/typed-view-e6bb33d.html) via `View.extend()` Define view class in JavaScript using `sap.ui.core.mvc.View.extend()`
**XML Composite Controls** \(`sap.ui.core.XMLComposite`\) 1.88 [Standard Composite Controls](/docs/07_Developing_Controls/standard-composite-controls-c1512f6.html) [XML Composite Controls (deprecated)](https://help.sap.com/viewer/c442e2a74263451f845549bdbcdebe7b/1.149_SAPUI5_Internal/en-US/b83a4dcb7d0e46969027345b8d32fd44.html "An XML composite control allows you to define a composite control that clearly separates the behavior of the control from the visual part.") :arrow_upper_right:
**Template View** \(`sap.ui.core.mvc.TemplateView`\) 1.56 [XML View](/docs/04_Essentials/xml-view-91f2928.html) or [Typed View](/docs/04_Essentials/typed-view-e6bb33d.html) Include Handlebars template support

Related Information

Views

XML View

Typed View