web parts developement

10
Kentico CMS Web parts development Karol Jarkovsky ([email protected] ) Consultant, Kentico Software s.r.o.

Upload: kenticocms

Post on 03-Dec-2014

2.409 views

Category:

Technology


1 download

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

Page 1: Web parts developement

Kentico CMS Web parts developmentKarol Jarkovsky ([email protected])

Consultant, Kentico Software s.r.o.

Page 2: Web parts developement

Motivation

1/8

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

Robert Brault

Page 3: Web parts developement

Agenda

2/8

Web parts Life Cycle

Web parts Architecture

Web parts Development

Web parts Future

Page 4: Web parts developement

Web parts Life Cycle

3/8

OnContentLoaded Init

Init Load

Load

PreRender

PreRender

Page

Web part

Page 5: Web parts developement

Web parts Life Cycle

4/8

CMSPortalManager .CMSPortalManager_Init()

CMSPortalManager .LoadContent()

CMSPagePlaceholder .LoadContent()

CMSAbstractLayout .LoadContent()

CMSWebPartZone .LoadWebPartsContent()

CMSAbstractWebPart .LoadContent()

Page 6: Web parts developement

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()

Page 7: Web parts developement

Web parts Development

6/8

Page 8: Web parts developement

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

Page 9: Web parts developement

Questions

8/8

?

Page 10: Web parts developement

Questions

Thank you