tidyui/Piranha — Issue #18: Strongly typed properties persisted as JSON
Author: tidyui
Created: 2012-02-24 07:58:06+00:00
State: open
Labels: Feature Request

In the current implementation properties are named free text fields. The property implementation should be redesigned to be strongly typed and when created in the template the administrator should be able to choose between the native type (string/int/bool) and custom designed objects implementing an interface (like IProperty or so).

Partial editor view for custom object properties should be loaded dynamically in the template view and all property values should be persisted to the database as JSON. When retrieved to the client API they sould be deserialized to their type so the webpage can access any object data.