Constellation.Foundation.Mvc.Patterns
Requires Sitecore 10.3 Requires .NET Framework 4.8 Constellation is a collection of utilities for .NET CMS implementers. The Foundation.Mvc.Patterns library is an opinionated library that provides some base Controller and Repository classes for jumpstarting a Sitecore project. The purpose is to get developers to better separate data access logic from controllers and also to hide some uninteresting concerns. Repositories: Classes which accept a context to specify the conditions for accessing data in Sitecore along with facts for use in the query. The Repository is responsible for getting the results of a query, any caching, and any transformation into ViewModel output. Base Repositories: Repository - Just the basics of setting up the relationship between the repository and the controller. CachingRepository - Adds caching of the repository's output to the mix. SingleItemRepository - Includes both of above and is centered around queries that will retrieve a single Item. ItemListRepository - Includes the first two and is centered around queries taht will retrieve multiple Items. Controllers: Classes which are responsible for handling the transition from Sitecore to the View, including setting up a Repository Context, and getting the results from the Repository for sending to the View. Base Controllers: DatasourceRenderingController - Use when a Rendering has a Datasource Item and that Item is what's being rendered. ItemListController - Use when a Rendering will present a number of Items that have to be looked up in some fashion. On Sitecore startup, this package will scan all assemblies for IController and IRepository implementations and automatically add them to Dependency Injection. This feature can be disabled/changed via the config file for this package.
Activity
- Latest release
- 3y ago
- Total releases
- 27
- Cadence
- ~17 days
- Last 12 months
- 0
Details
- License
- MIT
- First release
- Oct 29, 2018
| Version | Released | |
|---|---|---|
10.3.0.24483
minor
|
10.3.0.24483
minor
Dependencies (8)
|
|
10.2.0.20319
minor
|
10.2.0.20319
minor
Dependencies (8)
|
|
10.1.0.29615
minor
|
10.1.0.29615
minor
Dependencies (7)
|
|
10.0.3.25139
patch
|
10.0.3.25139
patch
Dependencies (8)
|
|
10.0.2.29575
patch
|
10.0.2.29575
patch
Dependencies (7)
|
|
10.0.1.24225
patch
|
10.0.1.24225
patch
Dependencies (7)
|
|
10.0.0.23384
major
|
10.0.0.23384
major
Dependencies (7)
|
|
9.3.1.28598
patch
|
9.3.1.28598
patch
Dependencies (9)
+ 1 more |
|
9.3.0.18395
minor
|
9.3.0.18395
minor
Dependencies (9)
+ 1 more |
|
9.1.11.23057
patch
|
9.1.11.23057
patch
Dependencies (10)
+ 2 more |
|
9.1.10.19145
patch
|
9.1.10.19145
patch
Dependencies (10)
+ 2 more |
|
9.1.9.15398
patch
|
9.1.9.15398
patch
Dependencies (10)
+ 2 more |
|
9.1.8.22180
patch
|
9.1.8.22180
patch
Dependencies (10)
+ 2 more |
|
9.1.7.16430
patch
|
9.1.7.16430
patch
Dependencies (8)
|
|
9.1.6.30505
patch
|
9.1.6.30505
patch
Dependencies (8)
|
|
9.1.5.18706
patch
|
9.1.5.18706
patch
Dependencies (8)
|
|
9.1.5.17261
patch
|
9.1.5.17261
patch
Dependencies (8)
|
|
9.1.4.26376
patch
|
9.1.4.26376
patch
Dependencies (8)
|
|
9.1.3.27077
patch
|
9.1.3.27077
patch
Dependencies (16)
+ 8 more |
|
9.1.2.17568
patch
|
9.1.2.17568
patch
Dependencies (16)
+ 8 more |
|
9.1.2.16902
patch
|
9.1.2.16902
patch
Dependencies (18)
+ 10 more |
|
9.1.1.29364
patch
|
9.1.1.29364
patch
Dependencies (18)
+ 10 more |
|
9.1.0.19060
minor
|
9.1.0.19060
minor
Dependencies (17)
+ 9 more |
|
9.0.3.19412
patch
|
9.0.3.19412
patch
Dependencies (6)
|
|
9.0.2.25395
patch
|
9.0.2.25395
patch
Dependencies (6)
|
|
9.0.1
patch
|
9.0.1
patch
Dependencies (6)
|
|
9.0.0
initial
|
9.0.0
initial
Dependencies (6)
|