Business Logic
Last updated
Was this helpful?
Last updated
Was this helpful?
Separating Concerns
Write scripts that can be called from both FM Client and BF Web apps equally. This is a paradigm change for most FileMaker developers.
Consider a workflow that creates a new record when a user initiates some action like clicking a button.
[Button Clicked] - Run script "Create Record"
Do not assume data has been validated. Anything that comes from the client (browser) can be hacked. If you are using the database native field validations (not empty, unique etc) then make sure you trap for errors on commit. These errors should be echoed back to the client in the form of a or .