Giter VIP home page Giter VIP logo

puck-core's Introduction

NOTE: this is an asp.net core migration of the mvc 5 project which you can find here.

puck cms

Fast, scalable, code-first, unobtrusive and extensible with powerful querying and Lucene integration.

Wiki

why use puck

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 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

  • 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.
  • 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
  • basic user permissions to grant/deny permissions to particular actions and limit access to content based on a start path
  • 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
  • can be used headless or decoupled
  • supports sql server, mysql (with pomelo ef core provider), postgresql and sqlite

puck-core's People

Contributors

yohsii avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.