What is Zymonic?



Introduction
Zymonic is a framework for building web-based, high-security (sufficient for PCI-DSS_ business applications). The systems that Zymonic produces use processes, and filter to interact with data in database tables.

The Architecture is as follows:



Let’s have a look at how they are produced using simple XML. Further information on everything mentioned can be found in later sections.

The User Interface (UI)
Zymonic URLs are generally of the form https://[domain]/zymonicmp/[system]/[page] the last thing is the ‘Page’.

On this ‘Page’ is a bar at the top and then one or more ‘Blocks’ each of which can contain a Filter or a Process.

If you open a new ‘Block’ on a ‘Page’ it stays there until you close it even if you navigate to a different ‘Page’

The top-bar of each ‘Page' has a list of other ‘Pages’ and user and utility functionality.

Some 'Pages' have a 'Block' that contains a 'Filter' that can show a list of other 'Filters' or 'Processes' - referred to as either 'menu' or ‘FoFaP’ - in the vast majority of cases that 'Block' is on the left.

Examples of Pages
This 'Page' has a 'Filter' of 'SR's (a Process) and one 'SR' open.



This 'Page' has a 'Menu' (on the left) and one 'Filter' (Service Requests List) open.



Processes
A process captures data from the user and enters it into a specified table in the database. It can be defined similarly to below:

 heating_process Heating Process cold  switch_on Switch ON cold</ZName></StateBefore> <StateAfter>getting_hotter</ZName></StateAfter> </Transition> <Transition> switch_off</ZName> Switch Off</DisplayName> <StateBefore>getting_hotter</ZName></StateBefore> <StateAfter>getting_colder</ZName></StateAfter> </Transition> <State> getting_hotter</ZName> <Form> getting_hotter_form</ZName> <Field> temperature</ZName> </Field> <Field> average</ZName> </Field> <Field> date</ZName> <FieldGroup> data</ZName> Data</DisplayName> </FieldGroup> </Field> </Form> </State> <State> too_hot</ZName> <Form> too_hot_form</ZName> <Field> temperature_sensor</ZName> </Field> </Form> </State> </Process>

The above XML would produce the following for the user:



Tables
Data captured by the process are entered into a database table also defined in the XML as follows:

Filters
A filter captures data from the user using search fields and reports back matching results from the database table using report fields. It can be defined similarly to below:

<Filter> <ZName>heating_filter</ZName> <DisplayName>Heating Filter</DisplayName> <BaseTable> <ZName>heating_table</ZName> </BaseTable> <ReportField> <Field> <ZName>temperature_rf</ZName> </Field> <SearchMap> <Condition>ZZRF LIKE ?</Condition> <PercentAfter>true</PercentAfter> <PercentBefore>true</PercentBefore> <SearchFieldName>temperature_sf</SearchFieldName> <ZName>temperature_sm</ZName> </SearchMap> <ZName>cbos_profile_profile_tillno_field_rf</ZName> </ReportField> <ReportField> <Field> <ZName>average_rf</ZName> </Field> <SearchMap> <Condition>ZZRF LIKE ?</Condition> <PercentAfter>true</PercentAfter> <PercentBefore>true</PercentBefore> <SearchFieldName>average_sf</SearchFieldName> <ZName>average_sm</ZName> </SearchMap> </ReportField> </Filter>

The above XML would produce the following to the user:



Putting it all together
A final site might have these separate elements on one page, with multiple filters and processes that can be opened from the menu on the left (the menu is also a filter). Also note that contents XML files must be wrapped in <Zymonic></Zymonic> tags or they won't be included in Zymonic.