Series

Kentico 12 - Design Patterns

A 25-part, 14-month walk through applying classic software design patterns to Kentico 12 MVC development — starting from writing testable code and unit tests, through dependency injection, caching, and application structure, and ending at full solution architecture and MVC widget tips.

25Posts
– Timespan

Also published on dev.to →

01 / 25
Kentico 12: Design Patterns Part 1 - Writing Testable Code

Learn how identify un-testable dependencies and write testable code

02 / 25
Kentico 12: Design Patterns Part 2 - Writing Unit Tests

Learn some helpful design patterns for writing effective unit tests for Kentico 12 MVC libraries

03 / 25
Kentico 12: Design Patterns Part 3 - Tips and Tricks, Application Structure

We identify five tips and tricks you can use to help structure and organize your MVC code base when integrating with Kentico 12.

04 / 25
Kentico 12: Design Patterns Part 4 - Adding Dependency Injection to the CMS

Photo by Rich Tervet on Unsplash Now that Kentico has empowered its developers to build...

05 / 25
Kentico 12: Design Patterns Part 5 - Front-End Dependency Management

How to setup front-end dependency management in a Kentico 12 MVC project, the issues with the default MVC approach, and an elegant solution using client-side development tools.

06 / 25
Kentico 12: Design Patterns Part 6 - Rendering Meta Tags in Kentico 12 MVC

Discover a great way to handle setting and displaying meta tags in your Kentico 12 MVC application

07 / 25
Kentico 12: Design Patterns Part 7 - Integrating Web API 2

Learn some best practices and design patterns when integrating Web API 2 into your Kentico 12 MVC projects.

08 / 25
Kentico 12: Design Patterns Part 8 - Setting Up Integration Tests

Learn how to configure Integration Tests for Kentico, so you can be confident in your CMS data and the code that access it.

09 / 25
Kentico 12: Design Patterns Part 9 - The Different Ways to Store Content in Kentico 12 MVC

Learn about the various ways we can store and manage content in Kentico 12 MVC, the pros and cons of each, and in which scenarios they are most useful.

10 / 25
Kentico 12: Design Patterns Part 10 - MVC Routing with NodeAliasPath

Learn how to build your Kentico 12 MVC applications with the same dynamic routing, based on NodeAliasPath, used in Kentico CMS Portal Engine sites.

11 / 25
Kentico 12: Design Patterns Part 11 - Unit Testing Custom Page Types

Learn how to unit test Kentico custom Page Types, including "File"-type fields, and best practices for writing testable data access for Kentico 12 MVC apps.

12 / 25
Kentico 12: Design Patterns Part 12 - Database Query Caching Patterns

Learn how to apply caching to database queries across your code base using a testable, and type-safe design.

13 / 25
Kentico 12: Design Patterns Part 13 - Generating Page URLs

Learn how to use MVC's APIs to generate valid URLs and a custom approach for linking to content in the CMS tree.

14 / 25
Kentico 12: Design Patterns Part 14 - DocumentQuery and ObjectQuery Tips

Learn some tips and tricks for working with Kentico's DocumentQuery and ObjectQuery types to help improve the quality of your code and developer experience.

15 / 25
Kentico 12: Design Patterns Part 15 - Output Caching and User Context

Learn how to leverage output caching in our Kentico 12 MVC applications, specifically scenarios with User Context rendered in the response HTML.

16 / 25
Kentico 12: Design Patterns Part 16 - Integrating Vue.js with MVC

Learn how to integrate Vue.js with our Kentico 12 MVC applications in a way that maximizes functionality and developer experience.

17 / 25
Kentico 12: Design Patterns Part 17 - Centralized Cache Management through Decoration

Learn how to combine SOLID principles to ensure valid, centralized cache dependency key creation for both query and output caching.

18 / 25
Kentico 12: Design Patterns Part 18 - Preparing for Kentico 2020

Learn how to prepare your Kentico 12 applications for the eventual upgrade to Kentico 2020 and ASP.NET Core.

19 / 25
Kentico 12: Design Patterns Part 19 - Protecting An API Against XSRF

Learn how to protect your JSON-based API endpoints against XSRF attacks and still enable XSRF-validated requests from your client code.

20 / 25
Kentico 12: Design Patterns Part 20 - Choosing a Solution Architecture

Learn how to decide which solution architecture is best for your Kentico 12 MVC projects

21 / 25
Kentico 12: Design Patterns Part 21 - MVC Widget Tips

Learn some concepts and best practices when developing and integrating Widgets into your Kentico 12 MVC site

22 / 25
Kentico 12: Design Patterns Part 22 - Improving Our Projects for Developer Experience

Learn how to improve the Developer Experience in your Kentico 12 MVC projects.

23 / 25
Kentico 12: Design Patterns Part 23 - Improving Our Projects with Documentation

Learn about the many different ways we can use documentation to improve our projects.

24 / 25
Kentico 12: Design Patterns Part 24 - Improving Our Projects with Configuration

Learn how to improve the configuration of a Kentico 12 MVC project.

25 / 25
Kentico 12: Design Patterns Part 25 - MVC Page Templates

Learn about Kentico 12 MVC Page Templates, what they're for, how they work, and the details behind them.