Sitecore Cookbook for Developers
eBook - ePub

Sitecore Cookbook for Developers

  1. 338 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Sitecore Cookbook for Developers

About this book

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

About This Book

  • Build enterprise-level rich websites quickly and deliver the best possible content management to your website
  • Get maximum usage of functionalities like different user interfaces, workflow, publishing, search, analytics, etc and learn different rendering techniques using presentation components for data bindings, events, handlers, schedulers, media, etc.
  • Add a surprising amount of functionality just by customizing the Sitecore architecture through the best practices contained in this book

Who This Book Is For

If you are a Sitecore developer or a programmer who wants to expand your Sitecore development skills, this book is ideal for you. You will need working knowledge of ASP.NET WebForms or MVC, as well as HTML, and a basic knowledge of Sitecore installation.

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

In Detail

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.

Style and approach

This easy-to-follow guide is full of hands-on recipes on real-world development tasks to improve your existing Sitecore system. Each topic is presented with its benefits and detailed steps to achieve it through well-explained code and images.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Sitecore Cookbook for Developers


Table of Contents

Sitecore Cookbook for Developers
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Instant updates on new Packt books
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Basic Presentation Components
Introduction
Creating a simple content page using template and layout
How to do it…
How it works…
Creating a sidebar menu using view rendering and RenderingModel
Getting ready
How to do it…
How it works…
There's more…
Creating breadcrumb using the view and custom model
Getting ready
How to do it…
How it works…
See also
Creating carousel using view and controller renderings
How to do it…
How it works…
See also
Placing renderings dynamically using placeholders
How to do it…
How it works…
See also
Empowering the Experience Editor using placeholder settings
Getting ready
How to do it…
How it works…
Restricting or swapping rendering controls on placeholders
Getting ready
How to do it…
How it works…
2. Extending Presentation Components
Introduction
Altering rendering behavior using component properties
Getting ready
How to do it…
How it works…
Creating strongly typed rendering parameters
Getting ready
How to do it…
Achieving asynchronous operations using a custom device
How to do it…
How it works…
Creating multilingual content pages
How to do it…
How it works…
There's more…
Generating RSS feeds for syndicated items
Getting ready
How to do it…
There's more…
Improving site performance by caching renderings
Getting ready
How to do it…
How it works…
HTML cache statistics
When to avoid caching
There's more…
See also
Personalizing components
Getting ready
How to do it…
How it works…
There's more…
3. Customizing the User Interface Framework
Introduction
Adding a custom command to item context menu
How to do it…
How it works…
There's more…
See also
Creating a gutter to show unpublished items
How to do it…
There's more…
Creating a Sheer UI application using XAML control to list products
How to do it…
How it works…
There's more…
xamlControls
Creating a SPEAK application to list and sort products
Getting ready
How to do it…
How it works…
See also
Searching and filtering products using SPEAK
How to do it…
There's more…
Building a custom form to bind product details using SPEAK
Getting ready
How to do it…
There's more…
See also
Creating a custom editor tab in the Content Editor
How to do it…
How it works…
There's more…
Creating a custom experience button using the Field Editor
Getting ready
How to do it…
There's more…
Creating a custom rule to validate item fields
How to do it…
How it works…
There's more…
Creating a custom sorting routine to sort the content tree items
Getting Ready
How to do it…
How it works…
Creating a custom field to save the date time with time zones
How to do it…
How it works…
Making fields editable from the Experience Editor
There's more…
4. Leveraging the Sitecore Backend
Introduction
Working with multiple sites
How to do it…
How it works…
There's more…
Customizing pipelines to achieve a custom 404 page
Getting ready
How to do it…
How it works…
Patch configuration
There's more…
Creating a custom event handler to auto-publish on an item save
Getting ready
How to do it…
How it works…
There's more…
See also
Achieving a site-specific URL pattern for a multisite environment
How to do it…
How it works…
There's more…
See also
Initializing hooks to subscribe events to prepare an audit trail
How to do it…
How it works…
There's more…
Creating jobs to accomplish long-running operations
Getting ready
How to do it…
How it works…
See also
Using a scheduling agent to delete older item versions
How to do it…
How it works…
Scheduling database tasks
How to do…
How it works…
5. Making Content Management More Efficient
Introduction
Using dictionary domains for multilingual sites on a multisite environment
How to do it…
How it works…
Bind a dictionary to a site
A fallback dictionary domain
See also
Creating vanity URLs for marketing purposes using an alias item
How to do…
How it works…
See also
Centralizing common content using a clone item
Getting ready
How to do it…
How it works…
See also
Using a wildcard item to integrate external content
Getting ready
How to do it…
How it works…
There's more…
Placing dynamic content in the Rich Text Editor by replacing tokens
Getting Ready
How to do it…
How it works…
There's more…
Adding a custom tool to the Rich Text Editor to generate tokens
Getting Ready
How to do it…
How it works…
Dealing with user-generated content using an Item Web API
Getting Ready
How to do it…
There's more…
Storing external content using a custom cache
Getting Rea...

Table of contents

  1. Sitecore Cookbook for Developers

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Sitecore Cookbook for Developers by Yogesh Patel in PDF and/or ePUB format, as well as other popular books in Computer Science & Content Management Systems. We have over one million books available in our catalogue for you to explore.