Book Image

Sitecore Cookbook for Developers

By : Yogesh Patel
Book Image

Sitecore Cookbook for Developers

By: Yogesh Patel

Overview of this book

This book will get you started on building rich websites, and customizing user interfaces by creating content management applications quickly. It will give you an insight into web designs and how to customize the Sitecore architecture as per your website's requirements using best practices. Packed with over 70 recipes to help you achieve and solve real-world common tasks, requirements, and the problems of content management, content delivery, and publishing instance environments. It also presents recipes on Sitecore’s backend processes of customizing pipelines, creating custom event handler and media handler, setting hooks and more. Other topics covered include creating a workflow action, publishing sublayouts and media files, securing your environment by customizing user profiles and access rights, boosting search capabilities, optimising performance, scalability and high-availability of Sitecore instances and much more. By the end of this book, you will have be able to add virtually limitless features to your websites by developing and deploying Sitecore efficiently.
Table of Contents (20 chapters)
Sitecore Cookbook for Developers
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Creating a SPEAK application to list and sort products


The traditional Sitecore applications were designed for developers and content authors. Sitecore Process Enablement & Accelerator Kit (SPEAK) UI is a third-generation framework introduced in Sitecore 7.2. There are many SPEAK applications in Sitecore such as dashboard pages, list pages, task pages, and others.

In this recipe, we are going to create a SPEAK application that will be helpful to content authors to see all products on one page and allow them to sort products based on different fields. The SPEAK 2.0 framework was released with Sitecore 8.1 but, as it is not stable and changes are expected in it, we will cover these SPEAK recipes in the 1.1 framework itself.

Getting ready

Creating or editing SPEAK applications is not supported in the Content Editor, so we will use the Sitecore Rocks plugin from Visual Studio to prepare this recipe. You can download this plugin from https://goo.gl/hHK6S9.

To list products, we will use the Products...