Version 0.4a of bBox Now Available

Posted by Simon Brown Mon, 03 May 2010 19:19:00 GMT

A new version of our free FileMaker plug-in is now available. 

Changes in this version include:

  • Ruby function for executing scripts passed as a parameter or via a file path
  • Execute shell scripts with the Bash interpreter
  • Creation of Python global variables using the bBox_PythonSetVar function
  • Execute SQL queries against your FileMaker database

The plug-in is now compiled against the Mac OS 10.5 libraries. The main reason for this change was to allow use of a newer version of Python (2.5.4) for Python related calls. Because of this however, Mac OS 10.4 is no longer supported.

You can download the latest version at http://www.beezwax.net/download/bbox.

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.

FM/Web Integration Architecture Design

Posted by Ian Smith-Heisters Tue, 30 Jun 2009 14:43:00 GMT

This is the first of several articles on designing and implementing FM/Web integrations. Future articles will give in-depth discussion of implementation details.

One of the basic questions when considering a FM/Web hybrid solution is how FM and the Web will relate to each other as clients, servers, or peers1. Each possible architecture has characteristic strengths and weaknesses.

A client is essentially a frontend to a server. It relies upon the server to house and process data, and does not share its resources with any other nodes (nodes are any other entities) in the network.

FMPRoRHTTP, or, making Filemaker interface with Rails over HTTP

Posted by Ian Smith-Heisters Fri, 30 Jan 2009 09:23:00 GMT

I’ve been doing work on a couple projects integrating Rails with FMP over HTTP. There are a few different FMP features and plugins the FMP developers use to connect to Rails, none of which I truly grok. Notwithstanding my lack of FMP knowledge, I wanted to write-up what I expect from FMP as an HTTP client, and what I think would be neat to see.

A Good Foundation

When I’m integrating with another system over HTTP, I usually provide usage examples for my Rails-based service using the lingua franca of *nix system tools like Bash, Curl, WGet, LWP, and Telnet. I expect an integrating client like FMP to be able to perform the same basic functions those commandline tools perform.

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.

Remote Pair Programming: How We Do It

Posted by sam Thu, 18 Dec 2008 07:52:00 GMT

There’s a lot of talk about remote pair programming, but the fact is it can be a pain to set up.  Using iChat screen sharing is a popular method, but can feel a little cludgy, and doesn’t work for developers running linux.  Here’s another method using reverse ssh tunnels and screen -x we use a lot at Beezwax.

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.

FMP/Rails Integration Methodology

Posted by Ian Smith-Heisters Wed, 10 Dec 2008 13:56:00 GMT

Here’s a synopsis of my findings on integrating Rails with FMP.

Goals:

  • allow two-way data transmission between FMP and Rails
  • minimize development time required for both FMP and Rails
  • accommodate as many clients (which may be another application written with FMP, Rails, or anything else) as possible

Older Articles