Frontier Tutorials / Writing an ObjectNotFoundHandler / ONFH Resources

ONFH Resources


The XFile Suite provides tools for managing downloadable files in Frontier websites. It works with static and dynamic (mainResponder) websites. It provides a Mode 3 ONFH script that returns to the caller if it is unable to handle a given URL, designed to work with an master ONFH script such as those described on the Mixing Modes and Bonus: The "Ultimate" Master Script pages.

I highly recommend you use XFile rather than the ReturnBinaryObject script in this tutorial. XFile provides much greater capability, and will automatically generate valid download links for you.


The #objectNotFoundHandler feature was briefly introduced to the Frontier community in the mainResponder.respond Update 9/10/99.

The Frontier Site Hierarchy Feature is built using an #objectNotFoundHandler (Mode 1).

Dr. Matt's Exploring Mainresponder articles, especially:

Jason Levine's Manila and #objectNotFoundHandler article: How to add your own ONFH processing to a Manila site--Manila uses ONFH for its own purposes.

Here's a bonus: the "penultimate" ONFH master script.

Tutorial Contents
Writing an ObjectNotFoundHandler
ONFH Overview
ONFH Modes of Operation
About The Examples
Mode 1 Example
Mode 2 Example
Mode 3 Example
Mixing Modes
Misdirected URLs
ONFH Summary
ONFH Applications
ONFH Resources
Bonus: The "Penultimate" Master Script
Bonus: Mode 3 Utility Script
About the Author