Showing posts with label SPEAK. Show all posts
Showing posts with label SPEAK. Show all posts

Wednesday, 12 August 2020

SPEAK 2.0 Part 4 - Structures

SPEAK Structure rendering creates a structure/layout for the SPEAK applications.

There are mainly four types of Structure renderings,

  1. DashboardPageStructure
  2. ListPageStructure
  3. TaskPageStructure
  4. DialogPageStructure

NOTE: There are 3 more Lagecy Structures available in Sitecore 9.3. These structures might get removed in next versions of Sitecore.

  • LagecyDashboardPageStructure
  • LagecyListPageStructure 
  • LagecyTaskPageStructure

Wednesday, 5 August 2020

SPEAK 2.0 Part 3 - PageCode

For any SPEAK application, PageCode is the required component. PageCode initializes the SPEAK application.

PageCode serves two purposes,
  • It allows you to write business logic for your SPEAK application.
  • Sets which SPEAK version to use to render the applications.
NOTE: There are two versions available as of now. SPEAK 1.1 and SPEAK 2.0. We will be using SPEAK 2.0 in our examples

You can write business logic for your SPEAK application using PageCode component. You can do it in two ways.
  • Javascript PageCode

    • Javascript business logic is easy to maintain over time and makes application more responsive
    • Prefer this approach if you don't have security constraint over business logic
  • C# PageCode

    • Sitecore gives you provision to write C# code also for writing business logic for your SPEAK application

Monday, 3 August 2020

SPEAK 2.0 Part 2 - Page Layouts

Sitecore provides three layouts to create SPEAK applications. You can find these layouts in core database at this location  /sitecore/client/Speak/Layouts/Layouts

NOTE: All examples and screenshots are taken from Sitecore 9.3 initial release



SPEAK 2.0 Part 1 - Introduction

Greetings Reader!!

This is the first blog in the SPEAK 2.0 series. In this blog, we will understand what is SPEAK, what it is built with and what it offers to Sitecore developers.

What is SPEAK?

SPEAK is an acronym for "Sitecore Process Enablement and Accelerator Kit". Sitecore provides a library of SPEAK compatible components, visual layouts, and styles that developers need in order to implement applications.

SPEAK uses latest browsers standards and HTML5, CSS3 and Javascript libraries like Require JS to build the interface for the controls