Ruby Scripting in FileMaker

Posted by Alex G Wed, 03 Mar 2010 17:08:00 GMT

There are many cases where FileMaker's scripting isn't always the best tool for the job and where a language like Ruby can bring a lot of power to your FileMaker development. The following is a description of a simple technique for using ruby scripts from within a FileMaker solution without the use of a plugin. I've found this technique useful for employing regular expressions for complex text parsing, making web requests to work with web APIs, and for parsing and generating XML and other serialized data structures. Ruby has a wealth of great libraries for doing anything you can imagine and is just plain fun to write.

Never write a render_foo method again

Posted by Ian Smith-Heisters Thu, 08 Jan 2009 14:35:00 GMT

I’ve probably written a hundred render_not_found methods in my life as a Rails dev. Usually they just render a static file under /public, and maybe, if I’m feeling nice, give an XML response. No more!

Setting the Commit Author to Pair Programmers' Names in Git

Posted by sam Mon, 05 Jan 2009 10:34:00 GMT

In beezwax’s webdev division we generally work in pairs, but our commit logs didn’t used to show this. We wouldn’t bother to reconfigure the git author every time we sat down with a new pair so our git log only recorded one of the programmers’ names. Bryan Helmcamp has a nice script for setting your git commit author in pair programming situations. Here’s another one which works interactively.

Remote Pair Programming: Part II: Sharing The Server

Posted by sam Sun, 28 Dec 2008 17:03:00 GMT

In my last post I described how to use reverse ssh tunnels and screen -x to setup a remote pair programming environment.

Several people have commented that this works well for sharing a console based editor (vim, emacs) but that there is no way for the remote pair to look at how things are rendering in the browser. Well here’s a super simple way to use ssh tunnels to share your development server too. I’ve seen variations on how to do this (Advanced Rails Recipes: Pragmatic Programmers has one). The advantage to the below method is it requires no server configuration and is very secure from snooping.

Alternative FMP/Rails Integration: External SQL Sources

Posted by Ian Smith-Heisters Fri, 12 Dec 2008 16:37:00 GMT

In my last post, I described my preferred methodology for integrating Rails and FMP. In this post, I’ll discuss an alternative technique using FMP’s external SQL sources functionality. Since IANAFMPD (I am not a FileMaker Pro Developer), I’ll skip the implementational details and just cut to when it’s an appropriate solution.

Older Articles