Giter Site home page Giter Site logo

contentable's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

contentable's Issues

Basic Page model must be implemented

Description

This package should ship with the functionality to build arbitrary pages. Create a Page model that will act in this way. It should be able to have modules / content related to it and then display them in order.

This serves 2 functions,

  1. to make the package feature complete and useable out of the box
  2. to serve as an example as to how one might add modules to their own model

Main Contentable model needs to be implemented

Description

There should be a main Polymorphic relation model that allows for any arbitrary model to be related to any other special "module" class / model.

This could also start as only being able to be related to a specific Page model, and then expanded to be relatable to all models.

Renderables should allow for templates

Description

When a user calls a particular contentable to be rendered, each renderable type should be able to have a specific template defined and chosed for it. ie: the same module may render in 2 different ways but use the same content

Some basic modules should exist natively

Description

There should be some basic modules available to the package from the get-go. Some examples might include:

  1. A Text Module - A module that can display a title, subtitle and some body text
  2. An Image module - A module that can show a single image, either full width or a smaller inline image

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.