Thomas An Posted January 3, 2008 Posted January 3, 2008 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
bcooney Posted January 3, 2008 Posted January 3, 2008 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.
Lee Smith Posted January 3, 2008 Posted January 3, 2008 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
Søren Dyhr Posted March 17, 2008 Posted March 17, 2008 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
Thomas An Posted March 17, 2008 Author Posted March 17, 2008 bcooney, Lee, sd, Thank you. Thank you ... great suggestions indeed. I have been looking into them all. Best, Thomas
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now