Sitecore Cookbook for Developers

Over 70 incredibly effective and practical recipes to get you up and running with Sitecore development
Preview in Mapt

Sitecore Cookbook for Developers

Yogesh Patel

1 customer reviews
Over 70 incredibly effective and practical recipes to get you up and running with Sitecore development
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Sitecore Cookbook for Developers Book Cover
Sitecore Cookbook for Developers
$ 39.99
$ 28.00
BPEL Cookbook: Best Practices for SOA-based integration and composite applications development Book Cover
BPEL Cookbook: Best Practices for SOA-based integration and composite applications development
$ 26.99
$ 18.90
Buy 2 for $35.00
Save $31.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781784396527
Paperback338 pages

Book Description

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

Chapter 1: Basic Presentation Components
Introduction
Creating a simple content page using template and layout
Creating a sidebar menu using view rendering and RenderingModel
Creating breadcrumb using the view and custom model
Creating carousel using view and controller renderings
Placing renderings dynamically using placeholders
Empowering the Experience Editor using placeholder settings
Restricting or swapping rendering controls on placeholders
Chapter 2: Extending Presentation Components
Introduction
Altering rendering behavior using component properties
Creating strongly typed rendering parameters
Achieving asynchronous operations using a custom device
Creating multilingual content pages
Generating RSS feeds for syndicated items
Improving site performance by caching renderings
Personalizing components
Chapter 3: Customizing the User Interface Framework
Introduction
Adding a custom command to item context menu
Creating a gutter to show unpublished items
Creating a Sheer UI application using XAML control to list products
Creating a SPEAK application to list and sort products
Searching and filtering products using SPEAK
Building a custom form to bind product details using SPEAK
Creating a custom editor tab in the Content Editor
Creating a custom experience button using the Field Editor
Creating a custom rule to validate item fields
Creating a custom sorting routine to sort the content tree items
Creating a custom field to save the date time with time zones
Chapter 4: Leveraging the Sitecore Backend
Introduction
Working with multiple sites
Customizing pipelines to achieve a custom 404 page
Creating a custom event handler to auto-publish on an item save
Achieving a site-specific URL pattern for a multisite environment
Initializing hooks to subscribe events to prepare an audit trail
Creating jobs to accomplish long-running operations
Using a scheduling agent to delete older item versions
Scheduling database tasks
Chapter 5: Making Content Management More Efficient
Introduction
Using dictionary domains for multilingual sites on a multisite environment
Creating vanity URLs for marketing purposes using an alias item
Centralizing common content using a clone item
Using a wildcard item to integrate external content
Placing dynamic content in the Rich Text Editor by replacing tokens
Adding a custom tool to the Rich Text Editor to generate tokens
Dealing with user-generated content using an Item Web API
Storing external content using a custom cache
Chapter 6: Working with Media
Introduction
Restricting malicious files being uploaded to the media library
Downloading the media library folder
Protecting media files under a disclaimer
Achieving responsive images
Serving media files from CDN or external storage
Chapter 7: Workflow and Publishing
Introduction
Creating a custom action using workflow
Achieving time-based automated publishing
Unpublishing of items
Using publishing events to send a publish completion e-mail
Publishing file-based items using web deploy
Clearing an HTML cache based on published items for a multisite environment
Customizing the publishItem pipeline to avoid duplicate names on a live site
Chapter 8: Security
Introduction
Working with a custom user profile
Creating custom access rights for an item
Achieving a single sign-on by creating a virtual user with custom roles and rights
Preventing Sitecore from applying security
Implementing extranet login
Chapter 9: Sitecore Search
Introduction
Indexing, searching, sorting, and paging content using a search query
Creating a computed index field for categorization
Refining search results by tagging based facets
Achieving the autocomplete feature with a wildcard
Influencing search results with boosting
Hunting MoreLikeThis results
Correcting a search with did you mean
Managing millions of items using an item bucket
Chapter 10: Experience Personalization and Analytics Using xDB
Introduction
Personalizing experience based on goals and Engagement Values
Personalizing content by predicting a visitor's profile
Storing visitor information in xDB contacts
Extending xDB by creating a custom contact facet
Creating a custom rule and condition for personalization
Automating the engagement plan
Finding nearby places using the Geolocation service
Aggregating xDB data to generate custom reports
Extending analytics reports using custom dimensions
Creating section-specific analytics reports using custom dimensions
Chapter 11: Securing, Scaling, Optimizing, and Troubleshooting
Introduction
Profiling and tracing content pages to find out the slowest operations
Transferring items from one database to another
Making security-hardened environments
Adding multiple publishing targets for scalability or preproduction
Creating clustered instances for scalability and performance
Getting high availability of Sitecore instances
Improving the performance of Sitecore instances

What You Will Learn

  • Create, access, and personalize your website content using different Sitecore presentation components
  • Learn how to extend the presentation components to fulfill some real-life requiremnts such as improving the site’s performance, generating Rss feeds and so on
  • Work with multiple websites on a single Sitecore instance and create multilingual websites
  • Customize the Sitecore interfaces as per your business requirements to provide easier and error-free user interface to content authors to save time and improve accuracy
  • Customize the Sitecore backend architecture as per your business needs
  • Automate tasks and achieve scalability by altering the development and configuration settings
  • Integrate external systems with Sitecore to import or export content and secure user interactions
  • Integrate the advanced features of analytics and personalization, to get the best possible customer experience and generate its reports

Authors

Table of Contents

Chapter 1: Basic Presentation Components
Introduction
Creating a simple content page using template and layout
Creating a sidebar menu using view rendering and RenderingModel
Creating breadcrumb using the view and custom model
Creating carousel using view and controller renderings
Placing renderings dynamically using placeholders
Empowering the Experience Editor using placeholder settings
Restricting or swapping rendering controls on placeholders
Chapter 2: Extending Presentation Components
Introduction
Altering rendering behavior using component properties
Creating strongly typed rendering parameters
Achieving asynchronous operations using a custom device
Creating multilingual content pages
Generating RSS feeds for syndicated items
Improving site performance by caching renderings
Personalizing components
Chapter 3: Customizing the User Interface Framework
Introduction
Adding a custom command to item context menu
Creating a gutter to show unpublished items
Creating a Sheer UI application using XAML control to list products
Creating a SPEAK application to list and sort products
Searching and filtering products using SPEAK
Building a custom form to bind product details using SPEAK
Creating a custom editor tab in the Content Editor
Creating a custom experience button using the Field Editor
Creating a custom rule to validate item fields
Creating a custom sorting routine to sort the content tree items
Creating a custom field to save the date time with time zones
Chapter 4: Leveraging the Sitecore Backend
Introduction
Working with multiple sites
Customizing pipelines to achieve a custom 404 page
Creating a custom event handler to auto-publish on an item save
Achieving a site-specific URL pattern for a multisite environment
Initializing hooks to subscribe events to prepare an audit trail
Creating jobs to accomplish long-running operations
Using a scheduling agent to delete older item versions
Scheduling database tasks
Chapter 5: Making Content Management More Efficient
Introduction
Using dictionary domains for multilingual sites on a multisite environment
Creating vanity URLs for marketing purposes using an alias item
Centralizing common content using a clone item
Using a wildcard item to integrate external content
Placing dynamic content in the Rich Text Editor by replacing tokens
Adding a custom tool to the Rich Text Editor to generate tokens
Dealing with user-generated content using an Item Web API
Storing external content using a custom cache
Chapter 6: Working with Media
Introduction
Restricting malicious files being uploaded to the media library
Downloading the media library folder
Protecting media files under a disclaimer
Achieving responsive images
Serving media files from CDN or external storage
Chapter 7: Workflow and Publishing
Introduction
Creating a custom action using workflow
Achieving time-based automated publishing
Unpublishing of items
Using publishing events to send a publish completion e-mail
Publishing file-based items using web deploy
Clearing an HTML cache based on published items for a multisite environment
Customizing the publishItem pipeline to avoid duplicate names on a live site
Chapter 8: Security
Introduction
Working with a custom user profile
Creating custom access rights for an item
Achieving a single sign-on by creating a virtual user with custom roles and rights
Preventing Sitecore from applying security
Implementing extranet login
Chapter 9: Sitecore Search
Introduction
Indexing, searching, sorting, and paging content using a search query
Creating a computed index field for categorization
Refining search results by tagging based facets
Achieving the autocomplete feature with a wildcard
Influencing search results with boosting
Hunting MoreLikeThis results
Correcting a search with did you mean
Managing millions of items using an item bucket
Chapter 10: Experience Personalization and Analytics Using xDB
Introduction
Personalizing experience based on goals and Engagement Values
Personalizing content by predicting a visitor's profile
Storing visitor information in xDB contacts
Extending xDB by creating a custom contact facet
Creating a custom rule and condition for personalization
Automating the engagement plan
Finding nearby places using the Geolocation service
Aggregating xDB data to generate custom reports
Extending analytics reports using custom dimensions
Creating section-specific analytics reports using custom dimensions
Chapter 11: Securing, Scaling, Optimizing, and Troubleshooting
Introduction
Profiling and tracing content pages to find out the slowest operations
Transferring items from one database to another
Making security-hardened environments
Adding multiple publishing targets for scalability or preproduction
Creating clustered instances for scalability and performance
Getting high availability of Sitecore instances
Improving the performance of Sitecore instances

Book Details

ISBN 139781784396527
Paperback338 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Bootstrap for ASP.NET MVC Book Cover
Bootstrap for ASP.NET MVC
$ 19.99
$ 14.00
AngularJS Web Application Development Cookbook Book Cover
AngularJS Web Application Development Cookbook
$ 29.99
$ 6.00
AngularJS UI Development Book Cover
AngularJS UI Development
$ 26.99
$ 18.90
C# 6 and .NET Core 1.0: Modern Cross-Platform Development Book Cover
C# 6 and .NET Core 1.0: Modern Cross-Platform Development
$ 39.99
$ 28.00
Mastering Ninject for Dependency Injection Book Cover
Mastering Ninject for Dependency Injection
$ 19.99
$ 14.00
Learning .NET High-performance Programming Book Cover
Learning .NET High-performance Programming
$ 39.99
$ 28.00