Developer Tactics

No matter what development software you're using, (this includes FileMaker) there's almost always a more optimized way of getting things done. Over time, you learn "developer tactics" for doing things more easily and more efficiently.

In this video I cover four different topics related to developer tactics. This means doing things better or even doing things you might not have known FileMaker could do.

Using the attached file as a starting point, you can make the development process with FileMaker quite a bit more comfortable.

AttachmentSize
NewShell.zip34.69 KB

Comments

When opening a shared file on the same machine upon which it is hosted, you can also use 'localhost' rather than calling a specific IP address. This works with an fmp7: url or within the Filemaker open remote dialog.

Example:
fmp7://localhost/New%20Shell

On my machine, using localhost does nothing (I'm assuming FileMaker is not resolving that using the hosts file). Given it wants an IP, using the loopback (127.0.0.1) generates and error about "maxiumum number of licensed users..." and I'm assuming this is on purpose because it would be a method that could be exploited for "free webserving" using a single FileMaker client.

Of course, I could be wrong since I've not attempted to do this for production purposes - it's just a guess.

Matt

-- Matt Petrowsky - ISO FileMaker Magazine Editor

Hello Matt, first of all thanks for sharing your knowledge: I appreciate it

I have just watched your screencast and I have noticed that you often use the custom function script.parameters at the begin of your scripts.

Could you please explain to me how it works?
Moreover, why don't you use the built-in Get( ScriptParameter )?

Thanks and have a nice day

To managing multiple parameters which can be required or optional.

I covered this within a video called Function Scripting http://www.filemakermagazine.com/videos/function-scripting.html where you treat the name of the script as a function, which takes parameters.

A very cool custom function was created by Alexander Zuiev and Function Scripting uses this function.

Watch the video for more information.

-- Matt Petrowsky - ISO FileMaker Magazine Editor

In the New Shell file is a table called TEMPLATES. Is there a video that describes it's use?