{"id":543,"date":"2015-08-24T17:42:14","date_gmt":"2015-08-24T12:12:14","guid":{"rendered":"http:\/\/www.idslogic.com\/blog\/?p=543"},"modified":"2025-02-26T12:06:34","modified_gmt":"2025-02-26T06:36:34","slug":"what-to-avoid-when-creating-a-sitefinity-website","status":"publish","type":"post","link":"https:\/\/www.idslogic.com\/blog\/what-to-avoid-when-creating-a-sitefinity-website","title":{"rendered":"What to Avoid When Creating A Sitefinity Website?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_72 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.idslogic.com\/blog\/what-to-avoid-when-creating-a-sitefinity-website\/#Huge_Data_Transfer\" title=\"Huge Data Transfer:\">Huge Data Transfer:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.idslogic.com\/blog\/what-to-avoid-when-creating-a-sitefinity-website\/#Not_Considering_Sitefinity_Sitemap_Generator\" title=\"Not Considering Sitefinity Sitemap Generator:\">Not Considering Sitefinity Sitemap Generator:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.idslogic.com\/blog\/what-to-avoid-when-creating-a-sitefinity-website\/#Memory_Leaks\" title=\"Memory Leaks:\">Memory Leaks:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.idslogic.com\/blog\/what-to-avoid-when-creating-a-sitefinity-website\/#4_Not_Using_Jquery_Library_in_Sitefinity_CMS\" title=\"4. Not Using Jquery Library in Sitefinity CMS:\">4. Not Using Jquery Library in Sitefinity CMS:<\/a><\/li><\/ul><\/nav><\/div>\n<p><span style=\"font-size: 14pt;\">Telerik\u2019s Sitefinity is an ASP.Net content management system that helps you to create dynamic and fully editable websites. Selecting the best CMS for your business has become crucial as it is important to display information related to the company and the services on the site to keep the customers updated. Sitefinity is a popular tool that makes it easy and quick to construct functional and attractive websites.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-544\" src=\"http:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2015\/08\/Avoid-when-creating-sitefinity-website.jpg\" alt=\"Avoid-when-creating-sitefinity-website\" width=\"590\" height=\"221\" srcset=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2015\/08\/Avoid-when-creating-sitefinity-website.jpg 590w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2015\/08\/Avoid-when-creating-sitefinity-website-300x112.jpg 300w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><br \/>\nWeb developers can use its built in functionalities to <span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"\/sitefinity-development\/\">develop customized Sitefinity websites<\/a><\/span>. Its extensible architecture and design allows extending any functionalities of almost any module or widget. Although there are various options that offer the same function and allows you to decide on the best, this also leads to a problem if they are not aware of what they are doing.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><span style=\"color: #003366;\"><em>In this blog, I will discuss few practices that developers should avoid with Sitefinity development<\/em><\/span><\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Huge_Data_Transfer\"><\/span><span style=\"font-size: 18pt; color: #008000;\"><strong>Huge Data Transfer<\/strong>: <\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\">Sitefinity is specifically designed to expose the data in the CMS and it is the developer who should understand and select the data that they need. By default, the CMS returns all items of a certain type and using all of them are very rare. It is better to use paging and filtering if possible to reduce the amount of data transfer from the database.<\/span><\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Not_Considering_Sitefinity_Sitemap_Generator\"><\/span><span style=\"font-size: 18pt; color: #008000;\"><strong>Not Considering Sitefinity Sitemap Generator<\/strong>: <\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\">There is a navigation widget by default in Sitefinity, which can be used in different scenarios. Many developers decide to implement customized navigation for a better control of what is displayed or to change the style of navigation.<br \/>\nBut it is not a good practice to use the Page API for navigation as it only exposes data and doesn\u2019t scale. Calling an API on each request does not offer the best performance. It is always a good idea to bind to the Sitefinity sitemap generator, as this will enhance the performance by utilizing caching.<\/span><\/p>\n<blockquote>\n<p style=\"box-shadow: 0 0 16px #cccccc; padding: 10px;\"><span style=\"font-size: 14pt;\"><strong>Also Read: <\/strong><a href=\"\/blog\/whats-new-in-sitefinity-13-3-lets-find-out\"><span style=\"color: #ff0000;\">What\u2019s new in Sitefinity 13.3? Let\u2019s Find Out!<\/span><\/a><\/span><\/p>\n<\/blockquote>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Memory_Leaks\"><\/span><span style=\"font-size: 18pt; color: #008000;\"><strong>Memory Leaks<\/strong>: <\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\">Whenever a Sitefinity developer creates customized widget to meet the client\u2019s requirements, they are written in client script controls that act as the bridge between the JavaScript and ASP.NET. This makes it easy to change the client behavior based on the server side controls.<br \/>\nMS Ajax offers two methods for constructors and destructors that are initialize() and dispose(). Developers don\u2019t always remember to dispose everything they use in client script. Two important candidates for disposal are event handlers and delegates.<\/span><\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"4_Not_Using_Jquery_Library_in_Sitefinity_CMS\"><\/span><span style=\"font-size: 18pt; color: #008000;\"><strong>4. Not Using Jquery Library in Sitefinity CMS<\/strong>: <\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-size: 14pt;\"><span style=\"color: #008000;\"><a style=\"color: #008000;\" href=\"http:\/\/www.idslogic.com\/sitefinity-development\/\">Sitefinity web development<\/a><\/span> is done in JavaScript and this includes customized widget designers, the backend and etc. with JavaScript comes jQuery which is like a defacto library used in every client\u2019s project. jQuery makes selecting DOM elements much easier, but it also comes with certain overhead. So when using it multiple times, it is always a good idea to cache the results of a selection.\u00a0We recommend using the built-in jQuery library to avoid multiple registration or versions conflicts.<\/span><\/p>\n<hr \/>\n<p><span style=\"font-size: 14pt; color: #000000;\">In brief, all the above practices should be avoided while creating a site so as to enhance the performance of the site and to attain the best benefits of Sitefinity.<\/span><\/p>\n<blockquote>\n<p style=\"box-shadow: 0 0 16px #cccccc; padding: 10px;\"><span style=\"font-size: 14pt;\"><strong>Also Read: <\/strong><span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"\/blog\/tips-to-increase-security-of-your-sitefinity-website\">Tips to Increase Security of Your Sitefinity Website<\/a><\/span><\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Telerik\u2019s Sitefinity is an ASP.Net content management system that helps you to create dynamic and fully editable websites. Selecting the best CMS for your business has become crucial as it is important to display information related to the company and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9311,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"gallery","meta":{"footnotes":""},"categories":[251,104],"tags":[227,226,225],"class_list":["post-543","post","type-post","status-publish","format-gallery","has-post-thumbnail","hentry","category-sitefinity","category-web-development","tag-sitefinity-certified-company","tag-sitefinity-development","tag-sitefinity-website-development","post_format-post-format-gallery"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/comments?post=543"}],"version-history":[{"count":9,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/543\/revisions"}],"predecessor-version":[{"id":10986,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/543\/revisions\/10986"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/media\/9311"}],"wp:attachment":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/media?parent=543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/categories?post=543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/tags?post=543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}