Chakra7 Central: Your Chakra7 Headquarters


JSON = JavaScript Object Notation

Serialized JaveScript Objects

A Primer to JSON, JavaScript Object Notation

JSON has quickly displaced XML over the past few years, primarily due to the rise of internet technologies. JSON stands for JavaScript Object Notation and is a standard data serialization method for representing arbitrarily complex data(JavaScript Object) as a series of characters (JSON String)

JavaScript objects are pieces of data that can hold a number of key/ value pairs known as properties and property values. It is useful to start any introduction to JSON with the building block object types(numbers, strings, arrays, and freeform objects) that can be combined and nested to describe almost any data, regardless of its complexity.

User Access (User Sessions)

Most systems worth developing provide users with system access with the notions of user credentials, accounts, 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