mrwatson-de / fmAutoMate

[Towards a FileMaker IDE] A tool for FileMaker developers which extends and automates your script workspace using the MBS Plugin and MrWatsons fmScriptWorkspace Module
Other
17 stars 1 forks source link

fmAutoMate: encapsulate logic #32

Open mrwatson-de opened 8 months ago

mrwatson-de commented 8 months ago

fmAutoMate currently supports code blocks, Which leads to bloated code.

Better would be MBS based custom functions.

Too busy, to be decided, is whether the functions and the menu items are in the same place, or whether the calculation pseudo-code editor needs to be refactored.

mrwatson-de commented 8 months ago

One disadvantage of NBS, custom functions, and possibly a showstopper, is that they will need to be redefined after a fire maker restart before the menus will work.

Maybe this could have automatically using a check at the start of each function. However, Not if this bloats each and every function.

mrwatson-de commented 8 months ago

An alternative way to reduce the memory footprint would be to store the placeholder code and perform the placeholder replacement dynamically.