Developer’s Guide

Table Of Contents
Chapter 6
Publishing your database on the Web
The FileMaker Pro Web Companion plug-in makes it possible for
you to publish your database on the Internet or an intranet in several
different ways, giving you more choices and control over the design
and functionality of your web pages.
These methods include:
1 custom web publishing using XML
1 FileMaker Pro database-aware Java applets using the FileMaker
JDBC Driver or the proprietary FileMaker Java Class Library
1 custom web publishing using CDML
1 FileMaker Pro Instant Web Publishing (automatically creating the
web interface for you)
1 static web publishing (exporting data into an HTML table)
When you serve your databases and your instant or custom web
pages via the Web Companion, users can access your databases from
their web browsers using a simple URL.
You can use the Web Security Database included with
FileMaker Pro 5 to publish your databases on custom web pages
using XML, CDML, or JDBC. However, it’s not designed to work
with Instant Web Publishing. For information, see “Using the Web
Security Database” on page 6-16.
Moving forward using open web standards
In earlier versions of FileMaker Pro, the Web Companion allowed
you to use Instant Web Publishing or Custom Web Publishing (using
the FileMaker proprietary CDML format) to publish your databases
on the Web. Now, in addition to these features, the Web Companion
lets you publish your database using XML or JDBC formats.
Custom web publishing with XML
You can use the Web Companion to generate data from your
FileMaker Pro databases into Extensible Markup Language (XML)
documents. With these XML documents, you can (for example) use
JavaScript and the W3C Document Object Model to dynamically
manipulate data after it has been downloaded from your database.
Many of the actions (such as searching) can be performed without
the need to reconnect to the database, making the web user’s
interaction with the database happen much faster.
For information on custom publishing your database with XML, see
chapter 7, “Using FileMaker Pro XML to deliver your data.”
For a list of XML resources and examples, and an overview of what
XML is and how it can be used with FileMaker Pro, see “XML and
FileMaker 5—a Technology Preview” on the FileMaker Developer
support pages at www.filemaker.com. As a shortcut, double-click
FileMaker on the Web (installed in the FileMaker Developer 5 folder).
Custom web publishing with JDBC
FileMaker Developer 5 provides a JDBC (Java database
connectivity) API-compatible driver that allows you to create
FileMaker Pro database-aware Java applets for your web site using
any Rapid Application Development (RAD) tool. This is an
improvement from using the proprietary FileMaker Java classes that
are not recognizable by RAD tools.
With a FileMaker Pro database-aware Java applet, you can provide a
richer functionality for your databases on the Web, making them
function more like they were being used in FileMaker Pro rather than
in a web browser.