Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

BATS, the formula

...

for simplicity

In times of Covid-19, bats got a bad name (no pun intended). But they are special animals, equipped with Sonar to navigate. A very effective yet simple tool. Some people are scared of bats, due to the appearance in horror movies. And they sleep upside down…

...

CHILI publisher is a template building engine to enable that enables one smart template to output multiple variants of the same document. How to do you get the most out of the smart template, without overdoing it?

The Formula:

B(ATS){*}

Translated to people who have less affection with with little affection for regex:
Build template - (Add 1 type of logic - Test - Simplify) {repeat until happy}

...

Probably, your smart template journey starts on your desktop. If not, you can skip from this step to “Build your template”.

...

The conversion itself is not the challenge. But it’s “What” you convert.

Reducing the complexity before conversion will greatly benefit the quest to for simplicity.

Imagine a design with a few thousand vector elements, used as a background for a design. When converting, these elements will be converted to vector elements, to be calculated individually to show in your browser window.

If these elements will remain background items, and will do not change with any variant, you can increase simplicity by combining all these elements into 1 vector layer and place this layer as an asset.

...

At this stage, you have a blank document in CHILI publisher, or you have converted a document form from your desktop application. Either way, it’s time to start adding Logic to the document, to make it smart.

...

How can you test? That will differ according to your setup. If you your setup allow allows the interaction with an end-user to fill in the variable, look for challenging variable content. What is the shortest word, what is the longest variant?

Maybe your setup containts contains a datasource, that will auto populate the variables. Best It’s best then to check the shortest and longest variable. Does the datasource contain special characters?

...

Check output with datasources

Simplify

When you your test is successful, now it is a good time to think about simplification, before adding more automation logic.

...

Frame2 is anchored to the left side of Frame1, without offset.

Nothing There’s nothing wrong with this setup, but the left of Frame 1 is Frame1 never changingchanges. So, the second anchor of Frame2 is unnecessary. And it would mean a 4th calculation, where only 3 are necessary.

...

If the outcome is not what is supposed to happen, then it’s time to call in the troops, and inform us you may have found an exceptionsexception.

You could submit a support ticket with the Client Success team, or you could ask for specialist help.

...

Below is an attempt to list features that will make your template smarter. Some features have more impact on complexity than otherothers. This table gives you an insight in less and more taxing features.

...