Git Product home page Git Product logo

andculturecode.csharp.sitefinity.core's People

Contributors

allcontributors[bot] avatar brandongregoryscott avatar cspath1 avatar dylanjustice avatar kevinbusch avatar stefanie899 avatar wintondeshong avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

andculturecode.csharp.sitefinity.core's Issues

Enhance find operations in `IDynamicContentRepositoryConductor.cs` to support typed ordering

See this. Thought is to build something that supports ordering operation on a SitefinityContent object via an expression and therefore can pull the property names strings and types using the object's properties rather than harder code them per the knowledge base article. This could be passed into the find operations in the interface as an operational parameter but it could also be used outside the context of the IDynamicContentRepositoryConductor.cs

Create consolidated means of generically creating Dynamic Content

For one of our client projects, we developed a way to generically create dynamic content items via reflection. Though this was at first just for testing purposes, we now have a need to have functionality available outside of tests. Implement a way to do this so it can be accessible via tests as well as in application code.

Add IncludeBase, Include, and IncludeExtensions to simplify generating Include paths

in DynamicContentExtensions.cs, the MapTo<T> function has an optional includes parameter. This is a string with multiple include paths, separated by commas, e.g. Product.Orders,Category.ParentCategory.

In order to simplify building these include paths, we should add our helper classes to this repository -- namely IncludeBase.cs, Include.cs, and IncludeExtensions.cs to more easily generate the include paths to be passed into the MapTo<T> function.

These classes are currently contained only in proprietary repos, so an andculture engineer should be contacted to get directed to the existing code.

Port SitefinityMetadataAttribute to this repo

We created a SitefinityMetadataAttribute attribute as part of a client project to allow for content to be more generically created via reflection. We should port that over to this project for reuse.

Port over ProviderConstants

In one of our client repositories, we recently added a ProviderConstants file to keep track of the different data layer providers used for accessing the database. We should port this over so it can be reused in other projects

Enhance MapTo extension method to handle mapping enums from strings

When Sitefinity maps values represented by enums into the database, they are stored as strings and pulled back out and mapped to Sitefinity's DynamicContent object as a string. This leads to data not being properly mapped from their DynamicContent model to our internal models when using the MapTo method.

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.