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

Installing Sitecore


To start developing with Sitecore Experience Platform (XP), we will consider the simplest and most convenient approach of installing Sitecore using its setup program. You can find different Sitecore versions to download at https://goo.gl/kelRnC, where you can choose the required Sitecore Experience Platform version and download the Sitecore web application installer, which provides you with an easy EXE-based Sitecore setup. For further help on the installation, you can download the Sitecore installation guide from https://goo.gl/b4cnAQ, which describes the prerequisites and hardware and software requirements for a Sitecore XP host and client computers. It also provides a step-by-step guide on installing Sitecore with different options.

Before installing Sitecore, ensure that your browsers, IIS, .NET Framework, and SQL server meet Sitecore's recommended requirements. You can check this compatibility table at https://goo.gl/4kkCHe. Also, you must determine some configuration values for system components, as shown in the following table:

Component

Description

Example Value

Installation path

A directory where Sitecore will be installed with Sitecore subdirectories and files

C:\inetpub\wwwroot\SitecoreCookbook

Website name

The name of the IIS website to host the Sitecore solution

SitecoreCookbook

Hostname

A hostname to route Sitecore requests, which will be bound to the IIS website and have an entry in the host's file

sitecorecookbook or sitecorecookbook.net

Database prefix

A prefix to name Sitecore databases, helpful in differential multiple versions of Sitecore on the machine

SitecoreCookbook

License

A valid license file to run Sitecore XP

license.XML

Once the setup is complete, launch Sitecore using the hostname that we used, that is, http://sitecorecookbook /. After the Sitecore installation, you will find three directories in the installation path: Website, Data, and Databases. Here, Website is the web root of the Sitecore application. You can read more about the Sitecore System Components installed by the web application installer at https://goo.gl/0JKatR.