web parts developement

Post on 03-Dec-2014

2.409 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Kentico CMS offers you great possibilities of extending the set of existing features and thus enhancing the functionality delivered to the website visitors and CMS users. One of the most powerful elements of the Kentico CMS are web parts. Web parts are controls adding unique functionality to your website. You can develop custom web parts delivering the functionality you need. The session will present you with all the considerations of the web part development process. You will see how to create a web part from scratch and how to use it with Kentico CMS afterwards.

TRANSCRIPT

Kentico CMS Web parts developmentKarol Jarkovsky (karolj@kentico.com)

Consultant, Kentico Software s.r.o.

Motivation

1/8

“Learning is a lifetime process, but there comes a time when we must stop adding and start updating.”

Robert Brault

Agenda

2/8

Web parts Life Cycle

Web parts Architecture

Web parts Development

Web parts Future

Web parts Life Cycle

3/8

OnContentLoaded Init

Init Load

Load

PreRender

PreRender

Page

Web part

Web parts Life Cycle

4/8

CMSPortalManager .CMSPortalManager_Init()

CMSPortalManager .LoadContent()

CMSPagePlaceholder .LoadContent()

CMSAbstractLayout .LoadContent()

CMSWebPartZone .LoadWebPartsContent()

CMSAbstractWebPart .LoadContent()

CMSAbstractWebPart class

Web parts Architecture

5/8

Properties

bool RenderEnvelopeobject RelatedData

CMSWebPartZone ParentZonebool StandAlone

bool StopProcessingstring NotResolveProperties

string SQLPropertiesViewModeEnum ViewMode

string CacheItemNamestring CacheDependencies

bool IsWidget

Methods

GetValue()/SetValue()

ClearCache()

ReloadData()

ReloadConsumers()

GetCacheDependency()

Web parts Development

6/8

Web parts Future

7/8

• New base class CMSAbstractLayoutWebPart• Advanced layout as web part• Saves development time

Layout web parts

• New section in CMS Desk-> My Desk and Site Manager-> Dashboard

• Personalized content• Widget support

Dashboard

• Allows developers define template as ASPX• Allows editors to further enhance template from

CMS Desk-> Design tab

Portal Engine for ASPX templates

Questions

8/8

?

Questions

Thank you

top related