-
Notifications
You must be signed in to change notification settings - Fork 10
Repositories
Trevor Fayas edited this page Jan 2, 2022
·
2 revisions
-
IMediaRepository: Methods to retrieve Attachments (
AttachmentItem
) and Media Files (MediaItem
) which include relative / absolute / permanent Urls. - IPageCategoryRepository: Methods to get the Node Categories of the given page or pages. By Pages is useful for items such as Blog or Article listings, where you want to get all the possible Categories to filter by.
-
IPageContextRepository: Non-Xperience version of the
PageRetriever
/IPageDataContextRetriever
, gets thePageIdentity
of either the current page (Page builder context) or the page by theDocumentID
,DocumentGuid
,NodeID
, orNodeGuid
- IRoleRepository: Helper methods for User Role management.
-
ISiteRepository: Non-Xperience version of the
ISiteService
to get the current site or the Sitename given the SiteID. Used in most repository building as well. - ISiteSettingsRepository: Any data retrieved through Xperience's Site Settings should have a method listed here to retrieve that data. You should add your own custom methods as you build in new Site Settings.
- IUserRepository: Methods to get the Current User (based on the HttpContext.User.Identity.Name, "public" is default) or the user given their username, email, userID, or user Guid.
-
IUserWidgetProvider: This is implemented on the MVC site, and can be used on the editable areas tag helper to have full control over what widgets users should be able to see based on your own logic.
- Example:
<editable-area area-identifier="main" area-options-allowed-widgets="@await UserWidgetProvider.GetUserAllowedWidgetsAsync()" />
- Example:
-
IBreadcrumbRepository: Methods used in the
<vc:breadcrumbs/>
and<vc:breadcrumbs-json/>
View Components -
IMetaDataRepository: Methods used in the
<vc:page-meta-data/>
View Component -
INavigationRepository: Methods used in the
<vc:main-navigation/>
and<vc:secondary-navigation/>
View Components - ISearchRepository: Search method used on the Search Page/View Component
- ISiteMapRepository: Sitemap node retrieval methods used to build the SiteMap for the SiteMap feature.
- ITabRepository: Methods used by the Tab Parent / Tab Features
- Solution architecture
- Feature Folders
- Page Template View Component
- Interface Model Implementation Map
- Cache Dependency Building and Async
- Post Redirect Get
- Front End Asset (CSS/JS Parsing
- Navigation
- Page Builder Header/Footer
- SEO Meta Data
- Navigation Redirection
- Page Types
- Partial Widget Page / ShareableContent
- Widgets
- Account Management
- External Authentication/Two Factor Authentication
- Ecommerce Ready
- Error Pages
- Sitemap
- Robots.txt
- Form Bootstrapification
- Bundling css/javascript + Gzip
- Bootstrap and Containers