What is Rendering

In Sitecore CMS, web pages are divided into blocks, each handled by separate components with specific functions. These components use logic to create HTML, known as renderings. When all renderings come together, they form the full HTML for the webpage. Renderings in Sitecore are used to display content or functionality on webpages. They help structure and present content from Sitecore's content management system onto the website. Rendering refers to the implementation of a component or module that defines how content is rendered and displayed on a web page. Renderings are associated with placeholders within page layouts and are responsible for rendering the content dynamically within those designated areas.

The following types of renderings are accessible in Sitecore 10.3.

Xsl rendering: XSL rendering helps to transform XML data into different formats for display, like HTML. It's useful for customizing how content appears on web pages without directly modifying the original content.

Webcontrol: This could be a type of rendering that represents a web control, which is essentially a server-side control that encapsulates user interface and other related functionality.

Method rendering: Method Rendering lets you execute custom C# code and display the result on a webpage. It's useful for dynamic content or performing specific actions when rendering a page.

Url rendering: Url rendering helps generate web page URLs for content items, making it easy to link to specific pages on a website.

Rendering Folder: This folder serves as a convenient location for managing and organizing the available renderings within the Sitecore instance.

Json rendering: Json rendering in Sitecore 10.3 is used to output data in JSON format from Sitecore layouts and templates. This allows developers to create APIs and integrate Sitecore content with other systems or applications easily.

JavaScript rendering: The Sitecore JavaScript Rendering SDKs (JSS) represent a set of JavaScript packages and sample applications that add first-class support for JavaScript frameworks and enable the development of modern applications that consume Sitecore data.

Controller rendering: A Controller Rendering helps to connect Sitecore with external systems or custom logic by allowing developers to write code in C# that generates HTML content for webpages. It helps to customize and extend the functionality of Sitecore-powered websites

Item rendering: Item rendering is used to display content stored in Sitecore items on web pages. It helps you to show data dynamically from Sitecore in your website.

View rendering: View Renderings are used to define how content is presented to website visitors. They determine the layout and design of web pages by combining HTML markup with dynamic data from Sitecore.

Insert from template is a feature within the Sitecore Experience Editor. It allows users to insert a rendering onto a webpage using a template-based approach. This feature provides a convenient way to add new renderings to a page layout by selecting from predefined templates.

要查看或添加评论,请登录

Praveen Dubey的更多文章

社区洞察

其他会员也浏览了