/puck-cms-platform

Open source, easy to learn and use, cross platform .NET Core CMS. Fast, scalable, code-first, unobtrusive and extensible with powerful querying and Lucene integration.

Primary LanguageJavaScriptMIT LicenseMIT

Commits not carried over from bitbucket but they were all pre-dotnet core

Puck CMS Platform

Pure dotnet core MVC, CMS platform. Fun to use and easy to learn, Fast, scalable, code-first, unobtrusive and extensible with complete querying and Lucene integration.

Puck is inspired by the great Umbraco. Which is best, is up to you

Build status

Wiki

Why use Puck (use it and you'll understand)

There are no unnecessary abstractions, if you're already using asp.net mvc then you'll know how to use Puck. Your pages are based on ViewModels which are just classes optionally decorated with attributes and the edit screen is made up of Editor Templates just like in standard .net mvc. Your razor views (unless you're using Puck headless) will receive instances of the appropriate ViewModel as its Model property and you query for content in a strongly typed manner using the properties of your ViewModels and query expressions.

It's fast, with queries avoiding the database and instead using Lucene. It's also scalable, syncing between servers in a load balanced environment.

Features

  • Can be used headless or decoupled, as an integrated CMS or a searchable datastore for your apps
  • Live Preview / Visual Editor
  • Multi-site - multiple site roots mapped to different domains
  • Multilingual - associate languages with nodes so you can for example, have different site roots with different associated languages. this is recursive so you can associate different languages to nodes further down the hierarchy if necessary. Each content node may also have translations, opening up the possibility for 1:1 and multi-site approaches to multilingual websites.
  • Customizable and flexible workflow system helping you keep track of what needs to be done next
  • Strongly typed design - data querying is done in a strongly typed manner, making use of query expressions and a fluent api. templates are also strongly typed.
  • Not much to learn - models designed as regular poco decorated with attributes as you normally would with .net mvc
  • Full text search - data storage is lucene based and you can set analyzers and field settings (analyze,store,ignore,keep casing) per property in your model
  • Spatial search
  • Image cropping and similarity search
  • User permissions to grant/deny permissions to particular actions and limit access to content based on start paths
  • Hooks - you can transform data before it is indexed using attributes to modify how a field is indexed and how it is stored
  • supports conditional template switching (display modes were removed from asp.net core but this works in the same way)
  • Redirects - you can manage both 301/302 redirect mappings
  • Works in load balanced environments
  • Caching - customisable output caching. (per node-type or catch-all. also supports explicit exclusion for any particular node)
  • Streamlined pipeline - data retrieval is fast
  • Media - media is handled just like any other content, you can expose a IFormFile property in any of your models and it will be properly bound. You can then use data transformer attributes to decide what should happen to that file before indexing takes place. There are two included transformers which store your images on the local file system or upload them to azure blob storage
  • Task api - supports one-off and recurring background custom tasks with editable parameters
  • Scheduled publish
  • Sync content between databases (e.g. staging to production)
  • References between related content are kept, so you have an idea about which pages or images are dependant on others
  • Supports sql server, sqlite, mysql, postgresql