plank / contentable Goto Github PK
View Code? Open in Web Editor NEWCreate Dynamic pages using Polymorphic relationships and special Module classes
License: MIT License
Create Dynamic pages using Polymorphic relationships and special Module classes
License: MIT License
As the package has a majority of the features it needs, it would be helpful to add a more robust readme, specifically a fully fleshed out "Usage" section which describes how to create content modules, and how they can be attached to contentable models.
When deleting content, the cache should be cleared, similarly to when content is saved.
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
Making new modules should be straight forward. Add a command that can initialize a new module based off a stub included in the package.
There should be some basic modules available to the package from the get-go. Some examples might include:
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,
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.