Parsware Platform: an overview
What Parsware is and how its parts fit together, shown through one real application, from the tables underneath it to the phone screen, the approval process and the printed report.

Parsware is an app platform for business applications. You describe the parts of an application: the data it keeps, the screens people use, the steps work goes through, and the reports it prints. The platform runs it as an app your people sign in to, on servers you choose.
This overview follows one real application through every part of the platform. Capital planning is a sample that ships with Parsware. Someone raises a funding request on a phone, the amount decides who approves it, the decision is recorded, and finance prints the budget position. Every picture below is that application, running.
This is the place to start. Every other article on this blog assumes you have read it.
Two places: where you build, and where you work
Parsware has two front doors. Makers build in the maker portal, the Admin Control Center. Everyone else opens the apps list and uses what was built.

The apps list shows every app the signed-in person may use in this environment. There are two kinds: model-driven apps, built from tables, forms and views, and Studio apps, whose screens are drawn. Both run on the same data and the same security.

The maker portal's home page leads to everything else: solutions to build in, and users, roles, teams and environments to administer. It also has an assistant you can ask about the environment in plain language. With Allow changes off, it only reads and explains. With it on, it can create and edit solutions, tables, fields, apps and users, acting as you.
Environments that are actually separate
Work happens in environments, such as Development, Test and Production. Each environment gets its own database schema, so data from one can't leak into another even through a bug.

Each environment also has its own address, which is where its people open their apps.
Everything travels in a solution
Nothing is copied between environments by hand. An application lives in a solution, a versioned package that is exported from one environment and imported into the next. Capital planning arrived in this environment exactly that way:
A package can carry rows as well as design. Here the solution brings three rows of configuration it needs to work, which always come with it. It also brings 198 rows of demonstration data, which you choose whether to import.

Opened in the maker portal, the solution lists what it contains: six tables, nine option sets,
an app, two saved queries, two reports, a Studio app, four security roles and one process.
Everything a maker builds is a named, versioned part of a solution. Every name starts with the
publisher's prefix, here par_, so two solutions never collide.
Tables, forms and views
Underneath every application are tables. A table is a list of fields, and each field has a type that decides how it is stored, shown and checked.

Capital request has text, numbers, dates and yes/no fields. It has option sets for fixed lists, such as the department or the risk level. And it has a lookup that links each request to its budget line. Every field records its changes in the audit log unless you choose otherwise.
Views decide which columns and rows a list shows, and forms decide how one record is edited. Together they make a model-driven app:

To build your own table, fields and view step by step, see Build your first table and view.
Screens you draw
Some screens need to look a particular way, such as a phone form or a front desk. For those, the Application Studio lets you draw the screen and say what each shape does.
The drawing is the app. Here is the same screen running, part-way through a request:
The panel above Submit answers while you type. Choose Radiology and Medical equipment, and it shows what that budget line has left. Type £150,000, and the approver becomes the Finance director, because the amount crossed a band in the approval thresholds table. Change the band in that table and every request after it routes differently, with nothing rebuilt.
Processes that run
Submitting the request starts a process, drawn in swimlanes, one lane per role.

This one starts by itself whenever a capital request is created. The budget holder decides the request, or sends it on to the Capital Investment Group when its threshold band says so. Each outcome is written back onto the request and into its approval history. People find their steps in their own task list. The designer checks the process as you draw it, and says so when nothing is wrong.
Reports that print
Reports are designed on a canvas and print exactly as drawn.

This one is the budget position a finance director asks for before a meeting: every budget line, what is committed, and what is left, least remaining first. It opens from the app's navigation, reads the live data, and prints from the Print button.
Logic in one language
When a rule needs more than a setting, you write it in BS Lang, Parsware's one scripting language. The same language, and the same editor with checking and completion, is used for form rules, rules that run on the server when a record is saved, process conditions and the logic behind custom APIs. A rule written once can be shared by several of them.
Security and audit
People get security roles, and a role says what they may create, read, update and delete in each table, and on which records. Roles travel in the solution, like everything else: Capital planning brings four. Changes to records are captured in the audit log, with who made them and when.
Your language, and your direction
The whole platform runs in English, Persian and Arabic, and Persian and Arabic run right to left:

The interface, the navigation and the layout switch. The words a maker wrote, such as table and column names, stay as they were written. Dates can be shown in the Persian calendar too.
Underneath, everything is a document
Every part you have just seen, from a table to an approval process, is stored as a plain document with a published schema. The designers are one way to write those documents. They are not the only way, and they never hide anything a document can't say. This is the start of the Capital request table as the solution carries it:
{
"logicalName": "par_capital_request",
"displayName": "Capital request",
"displayCollectionName": "Capital requests",
"publisherPrefix": "par",
"primaryField": "par_name",
"isAuditEnabled": true,
"fields": [
{ "logicalName": "par_name", "displayName": "What is needed",
"dataType": "Text", "maxLength": 200, "isRequired": true, "isPrimary": true },
{ "logicalName": "par_requestnumber", "displayName": "Request number",
"dataType": "AutoNumber", "autoNumberFormat": "CR-{yyyy}-{SEQ:000}" },
{ "logicalName": "par_budget", "displayName": "Budget line",
"dataType": "Lookup", "targetEntity": "par_capital_budget" },
{ "logicalName": "par_department", "displayName": "Department",
"dataType": "OptionSet", "optionSet": "par_capital_department" }
]
}
You can read the whole application this way: the request number that numbers itself, the lookup to the budget line, the option set of departments. Three things follow from it.
- Every document is checked the same way, whoever wrote it. A table saved from the designer, a file written by hand and a file generated by the assistant all go through the same schema validation before anything is stored. A mistake is refused with a message that names the field, rather than discovered later as a screen that won't open.
- Changes can be reviewed. Because a solution is made of documents, two versions of it can be compared line by line, the way a developer compares code. You can see that a field became required, or that a threshold moved, without opening every screen.
- The assistant can build. An assistant that writes a document the platform validates can create a real table or process. It does not have to click through screens on your behalf.
Rules are the same. When capital planning has to make sure that one approval band doesn't overlap the next, a short BS Lang script runs on the server before every save of a threshold:
import 'par_approval_limit_rules';
// `getValue` reads the limit as it will be stored.
var problem = limitProblem(getValue('par_minamount'), getValue('par_maxamount'), getValue('par_sequence'));
if (!isEmpty(problem)) {
throwValidationError(problem);
}
The actual check, limitProblem, lives in a shared solution script,
so the same words explain the problem whether it is found when somebody edits a band, creates one or
deletes one.
How the parts fit
Each part of the platform has its own series on this blog. This table is the map: what each part is for, and where its series starts.
| Part | What it does | Start with |
|---|---|---|
| Tables and data | The records an application keeps, and the rules every value obeys | Every field type, explained |
| Model-driven apps | Forms, views and navigation built from the tables, with no screen drawn | Your first app |
| The Platform Shell | Where people sign in, open apps and work with records | Sign in and open an app |
| Queries | Saved questions about your data, used by views, reports and scripts | Design a query |
| BS Lang | The one scripting language, for every rule and condition | BS Lang in ten minutes |
| Business rules | Logic on a form, and on the server before and after a save | Which one to use |
| Processes | Work that passes between people, drawn in swimlanes | A tour of the process designer |
| Graphic Designer and Studio | Screens and reports you draw | A tour of the Graphic Designer |
| Reports | Pages that print exactly as designed | A report that prints exactly as designed |
| Solutions | Moving work from development to production | Dev to Test to Prod |
| Integration | Other systems reading and writing your data | Connecting to your other systems |
| Security | Roles, teams, sign-in and who may see what | Security in Parsware |
| Portals | Websites for customers and partners on the same data | A customer portal |
The parts are not separate products bolted together. They share one sign-in, one security model, one scripting language and one package format. That is why a process can read a table's approval bands, a report can print what a phone form saved, and all of it moves to production in one import.
Who does what
A Parsware application usually involves three kinds of people, and the platform gives each a different place to work.
- Makers build in the Admin Control Center. They create tables, forms, views, processes and reports inside a solution, usually in a Development environment. A maker needs to understand the business, not a programming language; BS Lang is there for the rules that need it.
- Administrators decide who may do what. They create environments, invite users, give out security roles and import solutions into Test and Production. The security series is theirs.
- Everyone else uses the apps. They sign in, open an app from the apps list, work in views and forms and pick up their tasks. They never see the maker portal, and nothing they do can change how the application is built.
In a small company one person can be all three. The separation still helps: what is built is in a solution, what is allowed is in roles, and what happens day to day is in records and tasks. Each can change without disturbing the others.
Questions people ask first
Do I need to write code? No. Tables, forms, views, apps, processes and reports are all built in designers. BS Lang is for the rules a setting can't express, such as a limit that depends on two other fields, and it comes with an editor that checks what you type.
Where does my data live? In PostgreSQL, in a schema that belongs to one environment. Large files go to object storage.
Can I start from something? Yes. The platform's sample solutions, Capital planning among them, import in a minute, and many articles on this blog begin by importing one. Each sample's tables come with a form and a view, so nothing you open is half built.
What happens when I change something already in use? You change it in Development, export a new version of the solution and import it into Test, then Production. The import applies the changes to that one environment and no other. The solutions series explains how versions, upgrades and removing a solution work.
Where to go next
- Build something: Build your first table and view takes you from an empty solution to a working app in about ten minutes.
- Understand the foundations: Publishers and solutions in Parsware explains the prefix every name starts with and why work lives in a solution.
- Find your way around: The maker portal is a tour of the Admin Control Center.
- See a whole application: the Capital planning tour follows a request from the phone to the board report, written for the people who would use it.
- Read everything in order: Start here lists every article on this blog in reading order.