Aaron's post made me think (that's only a good thing after coffee you
know)
Currently, we have a fall through where actions that don't match up
to table names fall through to something else (a really basic
template handler right now).
I've been playing with something slightly different.
I've got two sets of experimental code.
The first adds a config option that takes the name of package that
has Exported methods that can be called when there is no matching table.
The second is roughly the same but adds a list of packages. Each
package name is paired with a regular expression that is tested
against the path string. if it matches, the code looks for an
Exported method to call. The method calls are handled pretty well
like the calls into table based code but not the same (obviously).
I'm using this to provide an interface to a global site search that
uses swish-e. However, it's proving fairly useful. Would it be of use
to anyone else? If so, I'll consider turning it into something CPANable.
nic
ps you may eventually see another copy of this as I've already sent
it from the wrong account once and it's in the moderation queue.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel