web parts developement
Post on 03-Dec-2014
2.409 Views
Preview:
DESCRIPTION
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