Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6096 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Curious how the experts are organizing their scripts.

In the beginning it made a lot of sense to organize all scripts thematically by function (scripts that add new records, scripts that sort records, scripts that popup selection windows, script to do common tasks etc) ... however, after a year and 120 layout later, the thematic approach proved quite cumbersome to me. It became difficult to maintain, to add new things, and generally to follow the script logic and all its calls after you've forget how (or why) you did certain things originally. It is starting to feel like one tangled mesh of spaghetti.

Currently, I am experimenting with a "per layout" scripting method. (Each layout is one script divided into sections, based on a template). It remains to be seen if that approach will help.

What scripting habits / organizing have you found to be most efficient ?

-Thomas

Posted

It's still an evolving approach, but I tend to group scripts by Table. I also have a System Wide group for subscripts I call very often.

Posted

There are some PDFs about Standards, do a search for [color:blue]Standards, and Lee Smith, and you should find some links I have pointed to in the past.

Start with this one, Here and check for the link for Core Solutions.

HTH

Lee

  • 2 months later...
Posted

What scripting habits / organizing have you found to be most efficient ?

Normalize the hell out of the solution, to prevent scripting gets out of hand and use object methods (usually auto-enters) when ever posible, design the script in a re-usable manner with script paramters and call's to custum functions. There is a great example of this here:

http://web.mac.com/zueiv/iWeb/FileMaker/Script%20Killing%20Techniques/AFA363C6-2D85-4C6D-82E2-273F3722A69E.html

--sd

This topic is 6096 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.