Solution to the model problems in Podius
Component == business object. Supplied component types:
- abstract Publishable, Multilingual, AccessControlable
- AccessCenter, AccessUser, AccessGroup
- Page, Edition, Section, Article...
Components consist of properties. Example of properties:
property name | property type | arguments |
---|---|---|
author | Scalar | optional default value |
is_valid | Boolean | optional default value |
articles | ComponentCollection | Article |
schedule | ScalarTable | [ "start_time", "end_time", "worker_name" ] |
Rich set of supplied property types:
- Scalar, Text, Integer, Number, Time, Date, Password, Email, URL, FileSelection
- ScalarList, LimitedScalarList, ScalarTable, DateRanges, ScalarHash, Rating, PerlData
- MultilingualSelection, MultilingualBoolean, MultilingualLanguage, Multimedia, Image
- Selection, Boolean, Country, Currency, CurrencyAmount, MultipleSelections, AccessPermissions
- VComponent, ComponentCollection, VComponentCollection, RComponentCollection
- property mix-ins Automanaged, Constant, Hidden, Multilingual
Hierarchy of component and property classes. Creating custom classes is easy by inheriting.