Frontier Tutorials / Writing an ObjectNotFoundHandler / ONFH Applications

ONFH Applications

The ObjectNotFoundHandler is a very powerful mechanism. You could, for example, use an ONFH to serve an entire website. Some other possible uses:

With Power Comes Responsibility

Be careful what you serve up using ONFHs, though. They allow you to serve up literally anything that is accessible from within Frontier. This includes a lot of stuff that should remain private (or at least, should not be published arbitrarily):

If you do decide to serve up arbitrary Frontier content (text, scripts, etc.), I suggest you carefully restrict what can be served up to a specific table or tables created solely for that purpose.

Here are some ONFH-related resources.

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