Zymantics <XML/>

<rapidWeb/>

Data

Data involves both frontend, backend and the data source.

Relational Data

The relational data part of the system consists of a dedicated and separate markup syntax for defining data tables and views. It basically has two level:

  • A simple markup for doing the basic stuff.
  • SQML - a full XML markup of SQL.
XML & JSON

The frontend component of the database system consists of it's own namespace for marking up the frontend features of the databasesystem. In short, it consists of the following tags:

  • ds:data
  • ds:master
  • ds:details
  • ds:search
  • ds:lookup

For tables, it has the following key features:

  • ds:search
  • ds:sort

Backend

The backend part of the system is almost entirely automatically enabled. The way to configure the system is by marking up in the frontend.

Relational Data

The relational data part of the system consists of a dedicated and separate markup syntax for defining data tables and views. It basically has two level:

  • A simple markup for doing the basic stuff.
  • SQML - a full XML markup of SQL.

XML & JSON

Data Table

IdNameEmail
123Peter Hansenpeter@hansen.com

@name

<?xml version="1.0" encoding="UTF-8"?>
−
<bs:table name="user" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql">
−
<bs:head>
−
<bs:row>
<bs:cell>Id</bs:cell>
<bs:cell>Name</bs:cell>
<bs:cell>Email</bs:cell>
</bs:row>
[3 lines]
</bs:head>
[4 lines]
−
<bs:body>
−
<bs:row>
<bs:cell>Id</bs:cell>
<bs:cell>Name</bs:cell>
<bs:cell>Email</bs:cell>
</bs:row>
[3 lines]
</bs:body>
[4 lines]
</bs:table>
[10 lines]

<ds:part>

<?xml version="1.0" encoding="UTF-8"?>
−
<bs:table name="user" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql">
−
<bs:head>
−
<bs:row>
<bs:cell>Id</bs:cell>
<bs:cell>Name</bs:cell>
<bs:cell>Email</bs:cell>
</bs:row>
[3 lines]
</bs:head>
[4 lines]
−
<ds:part>
−
<ds:row>
<bs:column name="@id"/>
<bs:column name="name"/>
<bs:column name="email"/>
</ds:row>
[3 lines]
</ds:part>
[4 lines]
</bs:table>
[10 lines]

Data Cards

Data Accordion

Data Carousel

bs:code

Data object.

bs:image

Data object.

Master Data

Data Details

Data Search

Data History

Data Versioning

Row Privilege

Details Next Screen

Details Next Tab

Outline Details

Inline Details

Details Dialog

Filter & Sort

Details Button

New Row Button

  • Insert at end of table
  • Insert Before or After this row

Delete Button

Duplicate Button

LookUp Button

Populate and/or select Select Control option

Populate and/or select Radio option

Populate and/or select Menu item

Value-of @select

Relational Database

It is optional to install/use a relational database (mySQL or MariaDB).

If you choose to setup a RDBMS then it will include a standard system part and a custom part. The system tables are needed for sign in, privilege management and more.

XML

It is possible to run the sign in and privilege system entirely based on XML files.

However, XML files are also useful for business data optionaly in combination with an RDBMS.

JSON

Sign Up

To sign up the users, you will need to make a HTML form like this:

required: true
datatype: text
Please enter your name
type: email
required: true
Please enter your email
required: true
datatype: text
Please enter your password
required: true
datatype: text
Please retype your password
<?xml version="1.0" encoding="UTF-8"?>
−
<bs:form validate="submit" data-content="signup" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql">
−
<bs:input required="true" name="name">
−
<bs:label>
<bs:icon name="person" margin-right="1"/>
Name
</bs:label>
[1 lines]
<bs:invalid-text asTooltip="true">Please enter your name</bs:invalid-text>
</bs:input>
[3 lines]
−
<bs:input type="email" name="email" required="true">
−
<bs:label>
<bs:icon name="envelope" margin-right="1"/>
Email
</bs:label>
[1 lines]
<bs:invalid-text asTooltip="true">Please enter your email</bs:invalid-text>
</bs:input>
[3 lines]
−
<bs:input type="password" name="password" required="true">
−
<bs:label>
<bs:icon name="key" margin-right="1"/>
Password
</bs:label>
[1 lines]
<bs:invalid-text asTooltip="true">Please enter your password</bs:invalid-text>
</bs:input>
[3 lines]
−
<bs:input type="password" required="true">
−
<bs:label>
<bs:icon name="key" margin-right="1"/>
Retype Password
</bs:label>
[1 lines]
<bs:invalid-text asTooltip="true">Please retype your password</bs:invalid-text>
</bs:input>
[3 lines]
−
<bs:button type="submit" color="success">
<bs:icon name="translate" margin-right="1"/>
Sign Up
</bs:button>
[1 lines]
−
<bs:close>
<bs:icon name="x" margin-right="1"/>
Close
</bs:close>
[1 lines]
</bs:form>
[20 lines]

Log In

To log in the users, you will need to make an HTML form like this:

type: email
required: true
type: email
required: true
Please enter your email
required: true
datatype: text
required: true
datatype: text
Please enter your password
<?xml version="1.0" encoding="UTF-8"?>
−
<bs:form validate="submit" data-content="login" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql">
−
<bs:input type="email" name="email" required="true" addon="true" autofocus="true">
−
<bs:placeholder>
<bs:lang code="en">your email</bs:lang>
<bs:lang code="da">din email</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<!--<bs:icon name="envelope" margin-right="1"/>-->
<bs:lang code="en">Email</bs:lang>
<bs:lang code="da">Email</bs:lang>
</bs:label>
[2 lines]
−
<bs:invalid-text asTooltip="true">
<bs:lang code="en">Please enter your email</bs:lang>
<bs:lang code="da">Skriv email</bs:lang>
</bs:invalid-text>
[2 lines]
</bs:input>
[9 lines]
−
<bs:input type="password" name="password" required="true" addon="true">
−
<bs:placeholder>
<bs:lang code="en">your password</bs:lang>
<bs:lang code="da">din adgangskode</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<!--<bs:icon name="key" margin-right="1"/>-->
<bs:lang code="en">Password</bs:lang>
<bs:lang code="da">Adgangskode</bs:lang>
</bs:label>
[2 lines]
−
<bs:invalid-text asTooltip="true">
<bs:lang code="en">Please enter your password</bs:lang>
<bs:lang code="da">Skriv din adgangskode</bs:lang>
</bs:invalid-text>
[2 lines]
</bs:input>
[9 lines]
−
<bs:button type="submit" color="success">
<bs:icon name="box-arrow-in-right" margin-right="1"/>
<bs:lang code="en">Log In</bs:lang>
<bs:lang code="da">Log På</bs:lang>
</bs:button>
[3 lines]
</bs:form>
[24 lines]

Forgot Password

To create a "forgot password" dialog, you will need to make an HTML form like this:

<?xml version="1.0" encoding="UTF-8"?>
−
<bs:form data-content="forgot" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql">
−
<bs:input type="email" name="email" required="true" addon="true" autofocus="true">
−
<bs:placeholder>
<bs:lang code="en">your email</bs:lang>
<bs:lang code="da">din email</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<!--<bs:icon name="envelope" type="bs" margin-right="1"/>-->
<bs:lang code="en">Email</bs:lang>
<bs:lang code="da">Email</bs:lang>
</bs:label>
[2 lines]
−
<bs:invalid-text asTooltip="true">
<bs:lang code="en">Please enter your email</bs:lang>
<bs:lang code="da">Skriv din email</bs:lang>
</bs:invalid-text>
[2 lines]
</bs:input>
[9 lines]
−
<bs:input type="text" name="key" addon="true">
−
<bs:placeholder>
<bs:lang code="en">key code (check your mailbox)</bs:lang>
<bs:lang code="da">kode (check din mailbox)</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<!--<bs:icon name="key" type="bs" margin-right="1"/>-->
<bs:lang code="en">Code (from email when received)</bs:lang>
<bs:lang code="da">Kode (fra email når du har modtaget den)</bs:lang>
</bs:label>
[2 lines]
</bs:input>
[6 lines]
−
<bs:button type="submit" color="success">
<!--<bs:icon name="box-arrow-in-right" margin-right="1"/>-->
<bs:lang code="en">Send</bs:lang>
<bs:lang code="da">Send</bs:lang>
</bs:button>
[2 lines]
−
<bs:close margin-left="1">
<bs:lang code="en">Close</bs:lang>
<bs:lang code="da">Luk</bs:lang>
</bs:close>
[2 lines]
</bs:form>
[23 lines]

Activate Account

To activate the user accounts, you will need to make an HTML form like this:

<?xml version="1.0" encoding="UTF-8"?>
−
<bs:form data-content="activate" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql">
−
<bs:input type="email" name="email" required="true" autofocus="true">
−
<bs:placeholder>
<bs:lang code="en">email</bs:lang>
<bs:lang code="da">email</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<!--<bs:icon name="envelope" type="bs" margin-right="1"/>-->
<bs:lang code="en">Email</bs:lang>
<bs:lang code="da">Email</bs:lang>
</bs:label>
[2 lines]
−
<bs:invalid-text asTooltip="true">
<bs:lang code="en">Please enter your email</bs:lang>
<bs:lang code="da">Skriv din email</bs:lang>
</bs:invalid-text>
[2 lines]
</bs:input>
[9 lines]
−
<bs:input type="text" name="key" placeholder="">
−
<bs:placeholder>
<bs:lang code="en">key code from email</bs:lang>
<bs:lang code="da">kode fra email</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<!--<bs:icon name="key" type="bs" margin-right="1"/>-->
<bs:lang code="en">Code (from email when received)</bs:lang>
<bs:lang code="da">Kode (fra email når du har modtaget den)</bs:lang>
</bs:label>
[2 lines]
</bs:input>
[6 lines]
−
<bs:button type="submit" color="success">
<!--<bs:icon name="box-arrow-in-right" margin-right="1"/>-->
<bs:lang code="en">Send</bs:lang>
<bs:lang code="da">Send</bs:lang>
</bs:button>
[2 lines]
−
<bs:close margin-left="1">
<bs:lang code="en">Close</bs:lang>
<bs:lang code="da">Luk</bs:lang>
</bs:close>
[2 lines]
</bs:form>
[23 lines]

Log Out

User Profile

For the user to change name, password and more, you will need to make an HTML form like this:

<?xml version="1.0" encoding="UTF-8"?>
−
<bs:data name="S_USER" format="db" history="true" mode="HTML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql">
−
<ds:details>
−
<sql:where>
<sql:column name="S_USER"/>
<sql:variable name="currentuser"/>
</sql:where>
[2 lines]
−
<bs:form data-content="user">
−
<bs:input required="true" name="D_USERNAME" addon="true">
−
<bs:placeholder>
<bs:lang code="en">your name</bs:lang>
<bs:lang code="da">dit navn</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<bs:lang code="en">Name</bs:lang>
<bs:lang code="da">Navn</bs:lang>
</bs:label>
[2 lines]
−
<bs:invalid-text asTooltip="true">
<bs:lang code="en">Please enter your name</bs:lang>
<bs:lang code="da">Skriv dit navn</bs:lang>
</bs:invalid-text>
[2 lines]
</bs:input>
[9 lines]
−
<bs:display name="D_ROLE" disabled="true" color="grey" addon="true">
−
<bs:label>
<bs:lang code="en">Role</bs:lang>
<bs:lang code="da">Rolle</bs:lang>
</bs:label>
[2 lines]
−
<bs:datalist>
−
<bs:option code="0">
<bs:lang code="en">Public</bs:lang>
<bs:lang code="da">Offentlig</bs:lang>
</bs:option>
[2 lines]
−
<bs:option code="1">
<bs:lang code="en">User</bs:lang>
<bs:lang code="da">Bruger</bs:lang>
</bs:option>
[2 lines]
−
<bs:option code="2">
<bs:lang code="en">Dynamic</bs:lang>
<bs:lang code="da">Dynamisk</bs:lang>
</bs:option>
[2 lines]
−
<bs:option code="3">
<bs:lang code="en">Lingual</bs:lang>
<bs:lang code="da">Sprog</bs:lang>
</bs:option>
[2 lines]
−
<bs:option code="4">
<bs:lang code="en">Live</bs:lang>
<bs:lang code="da">Levende</bs:lang>
</bs:option>
[2 lines]
−
<bs:option code="5">
<bs:lang code="en">API</bs:lang>
<bs:lang code="da">API</bs:lang>
</bs:option>
[2 lines]
−
<bs:option code="8">
<bs:lang code="en">Admin</bs:lang>
<bs:lang code="da"/>
</bs:option>
[2 lines]
−
<bs:option code="9">
<bs:lang code="en">System</bs:lang>
<bs:lang code="da">System</bs:lang>
</bs:option>
[2 lines]
</bs:datalist>
[24 lines]
</bs:display>
[28 lines]
−
<bs:input type="email" name="D_USEREMAIL" required="true" disabled="true" addon="true">
−
<bs:placeholder>
<bs:lang code="en">your email</bs:lang>
<bs:lang code="da">din email</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<bs:lang code="en">Email</bs:lang>
<bs:lang code="da">Email</bs:lang>
</bs:label>
[2 lines]
<bs:invalid-text asTooltip="true">Please enter your email</bs:invalid-text>
</bs:input>
[7 lines]
−
<bs:radio name="D_NEWSLETTER" inline="true" margin-bottom="2">
<!---->
−
<bs:label>
<bs:lang code="en">Newsletters</bs:lang>
<bs:lang code="da">Nyhedsbreve</bs:lang>
</bs:label>
[2 lines]
−
<bs:option code="1" checked="true">
<bs:lang code="en">Yes</bs:lang>
<bs:lang code="da">Ja</bs:lang>
</bs:option>
[2 lines]
−
<bs:option code="0">
<bs:lang code="en">No</bs:lang>
<bs:lang code="da">Nej</bs:lang>
</bs:option>
[2 lines]
</bs:radio>
[9 lines]
−
<bs:input type="password" name="D_PASSWORD" required="true" datatype="text" noload="true" addon="true">
−
<bs:placeholder>
<bs:lang code="en">your password</bs:lang>
<bs:lang code="da">din adgangskode</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<bs:lang code="en">Password</bs:lang>
<bs:lang code="da">Adgangskode</bs:lang>
</bs:label>
[2 lines]
−
<bs:invalid-text asTooltip="true">
<bs:lang code="en">Please enter your (new) password</bs:lang>
<bs:lang code="da">Skriv din adgangskode</bs:lang>
</bs:invalid-text>
[2 lines]
</bs:input>
[9 lines]
−
<bs:input type="password" required="true" datatype="text" addon="true">
<!-- name="REPASSWORD" nosubmit="true" -->
−
<bs:placeholder>
<bs:lang code="en">retype your password</bs:lang>
<bs:lang code="da">gentag Adgangskode</bs:lang>
</bs:placeholder>
[2 lines]
−
<bs:label>
<bs:lang code="en">Retype Password</bs:lang>
<bs:lang code="da">Gentag Adgangskode</bs:lang>
</bs:label>
[2 lines]
−
<bs:validation>
−
<bs:complexType>
−
<bs:simple control="D_PASSWORD" litteral="true">
−
<bs:message>
<bs:lang code="en">Must be same as password</bs:lang>
<bs:lang code="da">Koden skal være den samme</bs:lang>
</bs:message>
[2 lines]
</bs:simple>
[3 lines]
</bs:complexType>
[4 lines]
</bs:validation>
[5 lines]
−
<bs:invalid-text asTooltip="true">
<bs:lang code="en">Please retype your password</bs:lang>
<bs:lang code="da">Gentag din adgangskode</bs:lang>
</bs:invalid-text>
[2 lines]
</bs:input>
[15 lines]
−
<bs:submit color="success" margin-right="1">
<bs:lang code="en">Save</bs:lang>
<bs:lang code="da">Gem</bs:lang>
</bs:submit>
[2 lines]
</bs:form>
[86 lines]
</ds:details>
[90 lines]
</bs:data>
[91 lines]

Group

For the administrative purpose managing users and groups, you will need to make HTML forms like this:

Role & Profile

Roles and Profiles are related to the user profile and used to control access throughout the application.

<?xml version="1.0" encoding="UTF-8"?>
<bs:carousel role="2" profile="3" xmlns:bs="http://www.bootstrap-cms.org" xmlns:bs-e="http://www.bootstrap-extensions.org" xmlns:ds="http://www.bootstrap-data.org" xmlns:dia="http://www.rapidweb.tools/diagram" xmlns:sql="http://www.rapidweb.tools/sql"/>

Role

@role is being used for giving hierarchical access rights:

Roles
RoleDescription
0Standard non-signed in public user
1Basic signed in user
-1Cookie logged in user
2-7Custom roles
8Admin
9System

Profile

@profile is used for optionally "horisontal" access control.

The standard profile is 0.





Oops

Your browser is not supported

A modern browser with Javascript ES6 is required

Any major browser from 2015 onwards will be suitable