Simultaneous meta and data manipulation in Blaise Marien Lina - - PowerPoint PPT Presentation

simultaneous meta and data manipulation in blaise
SMART_READER_LITE
LIVE PREVIEW

Simultaneous meta and data manipulation in Blaise Marien Lina - - PowerPoint PPT Presentation

Simultaneous meta and data manipulation in Blaise Marien Lina Statistics netherlands Statistics netherlands 1. Separate meta and data handling Data and Meta used to be separated issues data handling meta handling In separate


slide-1
SLIDE 1

Simultaneous meta and data manipulation in Blaise

Marien Lina Statistics netherlands Statistics netherlands

slide-2
SLIDE 2
  • 1. Separate meta and data

handling

slide-3
SLIDE 3

Data and Meta used to be separated issues…

data handling meta handling

slide-4
SLIDE 4

In separate li ti applications…

  • DEP

data handling

  • DEP
  • Manipula
  • Delta

meta handling

  • Cameleon

Str ct re Bro ser Delta

  • Structure Browser
slide-5
SLIDE 5

2 The blaise API

  • 2. The blaise API
slide-6
SLIDE 6

Blaise API Enables you to:

  • Combine data and meta

h dli i VB li ti handling in one VB application U th VB li ti i

  • Use the VB application in

Blaise and Manipula p

slide-7
SLIDE 7

Blaise API For some there may be some For some there may be some constraints to use the API:

  • Programming skills (VB) required

Programming skills (VB) required

  • API Components must be

registered on every machine registered on every machine that uses the application

slide-8
SLIDE 8
  • 3. Calling Manipula from the

DEP in Blaise 4.7

slide-9
SLIDE 9

Blaise 4.7 Blaise 4.7 feature:

  • Calling Manipula in the DEP

This could be activated i th DEP via the DEP menu.

slide-10
SLIDE 10

Blaise 4.7 If you activate Manipula calls via If you activate Manipula calls via the DEP menu (in Blaise 4.7) you h i can use the setting: INTERCHANGE=TRANSIT in the Manipula setup.

slide-11
SLIDE 11

Blaise 4.7

  • INTERCHANGE=TRANSIT
  • INTERCHANGE=TRANSIT

A copy of the current DEP record is py available in the Manipula. Changed values are returned to the DEP values are returned to the DEP.

slide-12
SLIDE 12
  • 4. Calling Manipula from the

DEP in Blaise 4.8

slide-13
SLIDE 13

Blaise 4 8 Blaise 4.8 New development: BASIL

  • New development: BASIL
  • A downloadable Data Entry

Program that runs on its own

  • With API like functionality and

With API like functionality and layout features Witho t ha ing to install API

  • Without having to install API

components on every machine y

slide-14
SLIDE 14

Blaise 4 8 Blaise 4.8 Solution: Solution: More flexible communication b t R l d M i l between Rules and Manipula. Making it possible to call Manipula procedures directly from the rules from the rules

slide-15
SLIDE 15

How? How? Call a Manipula procedure as:

  • Alien Procedure
  • Alien Router in the rules
  • Alien Router connected to a

Alien Router connected to a field type (datamodel properties)

slide-16
SLIDE 16

Notice In Blaise 4.8 you can use Notice INTERCHANGE=SHARED

The current DEP record is available in Manipula The current DEP record is available in Manipula, including routing and error information! It is not a copy!

In Blaise 4.7 with INTERCHANGE=TRANSIT

The DEP record was copied to manipula The DEP record was copied to manipula

slide-17
SLIDE 17

Blaise 4 8 R i M i l i th DEP Blaise 4.8 Running Manipula in the DEP Example W it b k f th t Write a backup of the current record in a temporary file p y

slide-18
SLIDE 18

5 Meta in Manipula

  • 5. Meta in Manipula
slide-19
SLIDE 19

Meta in Manipula Meta in Manipula Blaise 4.8 introduced new methods for addressing meta methods for addressing meta information in Manipula Makes it possible to combine meta and data information in one meta and data information in one Manipula setup

slide-20
SLIDE 20

Meta in Manipula Main methods: Meta in Manipula Main methods:

  • GETFIELDINFO
  • GETMETAINFO
  • GETTYPEINFO

GETTYPEINFO

Can for example be used to disclose: Field names answer names values datamodel Field names, answer names, values, datamodel name, texts, types, category names, value range, current language, field text in language[x], field tags and many things more

slide-21
SLIDE 21

Meta in Manipula Meta in Manipula Use Manipula to Address META – Use Manipula to Address META E l Example

slide-22
SLIDE 22

Meta in Manipula Meta in Manipula – Combining Meta and Data, M i l d fil th t Manipula can produce files that contain meta and data (XML). – Manipula may be used to write ( ) p y setups for the same purposes as Cameleon scripts as Cameleon scripts

slide-23
SLIDE 23

6 Meta in the Rules

  • 6. Meta in the Rules
slide-24
SLIDE 24

Meta in the Rules Meta in the Rules How to use Meta in the rules? – Manipula reads Meta info Manipula reads Meta info – Rules calls Manipula ( li d ) (alien procedures or routers).

slide-25
SLIDE 25

Meta in the Rules Example: read the name of an Meta in the Rules Example: read the name of an enumeration and assign it to a fi ld field Example p

slide-26
SLIDE 26

Meta in the Rules Meta in the Rules The example used the method GETTYPEINFO to get the GETTYPEINFO to get the category name when you know a category number category number.

slide-27
SLIDE 27

7 Flexible Meta

  • 7. Flexible Meta
slide-28
SLIDE 28

Fl ibl MSU’ Flexible MSU’s USES MyMeta Using this syntax, a manipula setup always needs to be prepared again to use it for prepared again to use it for another meta (or after a change of the checksum) the checksum).

slide-29
SLIDE 29

Fl ibl MSU’ Flexible MSU’s USES MyMeta (VAR) Using this syntax you can pass Using this syntax, you can pass ANY meta file name to the setup d it ill t b j t d f and it will not be rejected for manipulation. p

slide-30
SLIDE 30

Fl ibl MSU’ Flexible MSU’s USES MyMeta (VAR) The Meta information of MyMeta is not included in the MSU file is not included in the MSU file. The BMI is connected at run time This is called “Late Binding”. The BMI is connected at run-time. This is called Late Binding .

slide-31
SLIDE 31

Fl ibl MSU’ USES MyMeta (VAR) Flexible MSU’s USES MyMeta (VAR) When calling Manipula in the alien When calling Manipula in the alien procedure, the current meta must be connected to MyMeta (the variable meta name in Manipula). variable meta name in Manipula). /KM M t $di ti /KMyMeta=$dictionaryname

slide-32
SLIDE 32

Meta in the Rules Meta in the Rules Adapted example of using a variable meta (VAR) variable meta (VAR) Example p

slide-33
SLIDE 33

7 Conclusion

  • 7. Conclusion
slide-34
SLIDE 34

C l i P f l t i i 4 8 Conclusion Powerful extension in 4.8

  • Combination of data and meta

information in Manipula Flexible way to define

  • Flexible way to define

Manipula calls in the rules

  • Making meta information

available to the DEP available to the DEP

slide-35
SLIDE 35

Thank You