Data Binding

{ }

Users want to see, watch, edit, and touch their objects.

Bon Scott (Person Object)
Property Name Value
fName Bon
lName Scott

The site developer may want to style this as so:

Global Values

In addition to the above types, Chakra7 also offers an additional type called global values. These are system wide categorizations that can be used in various object definitions.

In many systems, data needs to be categorized into one (or more) of several distinct categories. For example, a Book object may have a Genre property which can be any value from the list of available Genres. Further, perhaps within the same system an Author object can have a Genres parameter with multiple Genre values.

For this special case where you have a fully exhausted enumeration of the various options, a new Global Value can be created and used in various ways by different aspects of the system.

User Access (User Sessions)

Most systems worth developing have user accounts which incorporate the notions of user credentials, roles, privileges and other user info. Chakra7 offers this functionality out of the box.

Navigate to the “User Sessions” tab in Chakra7 Studio and check the box to enable user sessions:

This will automatically create two special Object types: SystemUser and SystemPassword:

The system’s designer can add or remove fields as necessary for SystemUser except for “login” which is the username by which the user will access the system. A common field is Role or Privileges which we recommend defining as Global Values. For example:

In web development, sessions are values that are stored on the server for each unique visitor (technically, for every unique browser). It is therefore often convenient to store commonly referenced user properties as a session instead of resorting to a database query. The User Sessions Chakra7 feature allows you to easily select which SystemUser properties are stored as sessions.

Once user sessions are enabled, access to the system will require a username and password. The root user’s credentials by default are:

Username: root
Password: admin123