Best Practice – Presentation Components

Sitecore recommended practices for presentation: Limit the number of layouts in favor of sublayouts. The aim should be to have one layout per site per device. Place components that appear in every single page statically (in the markup) of the layout. Use placeholders to dynamically bind components that only appear in some pages. Group components …

Continue reading Best Practice – Presentation Components

Things to consider – Sitecore and LINQ

The Linq to Items layer does not implement all of IQueryable. Below are list of supported and not supported LINQ items. Supported:  All  Any  Between — with an extra overload for including or excluding the start and end ranges.  Boost — makes this part of the query more important than the …

Continue reading Things to consider – Sitecore and LINQ

Best Practice – Users and Roles

Sitecore recommended practices for security (users and roles): Break inheritance rather than explicitly deny access rights. Apply security to roles rather than users. Limit access to the parts of the content tree that are relevant to the user that is logged into the system. Limit access to the ribbon items by disabling features that are …

Continue reading Best Practice – Users and Roles

Best Practices – Workflow

Sitecore recommended practices for workflow: Avoid email notification of every workflow state. Only provide email notification where it makes sense for a critical workflow event. Alternatively, you can use of the RSS feeds instead of email. Limit workflow publishing to specific roles and users. In the workflow, provide a default final step with the publish …

Continue reading Best Practices – Workflow

Best Practices – Solution Code

Sitecore recommended practices for solution code: Sitecore highly recommends using C#. All of the Sitecore programming examples are in C# and C# is the language spoken by Sitecore Support. Use GUIDs where possible instead of path / name. This will improve performance, as well as prevent any breakage if you move content to a new …

Continue reading Best Practices – Solution Code

Best Practices – System Architecture

Sitecore recommended practices for System Architecture (hardware and software): All servers — Web and Database, should run on Windows Server 2008 R2 64 bit. The Web server(s) should run IIS 7.x with the latest security updates. Use IIS 7.x Integrated mode. The Database server(s) should run Microsoft SQL Server 2008 R2 64 bit with the …

Continue reading Best Practices – System Architecture

Best Practices – Templates and _Standard Values

Sitecore recommended practices for templates and _Standard Values: Naming conventions —Use simple, relevant, and easy to understand names for templates, fields, and sections. By default, Sitecore displays the names you provided to both technical and non-technical users. Choose names that business users, such as content authors, will easily recognize and understand. Folder structure — Provide a folder …

Continue reading Best Practices – Templates and _Standard Values

Best Practices – Media

Sitecore recommended practices for media: We recommended that you store media in the database. Blob bases storage approach is recommended as it simplifies publishing and deployment of media assets. For example, you can easily publish media that is stored in the database to a production target, whereas file system based media requires synchronization of directories …

Continue reading Best Practices – Media

Best Practices- Content Structure

Sitecore recommended practices for content structure (information architecture): Provide a content structure that closely mimics that of the web site. This allows you to easily build navigational controls, allows you to use security rules to easily deny or grant access to various parts of the content tree, as well as, simplifying the task of finding …

Continue reading Best Practices- Content Structure