> How do I layout the directories and tell the handler for TT2 to call the > appropriate controller for each level ?. >
Hi Jon, I had the same problem about a year ago, when I'd written my own custom handler to go off and require the appropriate controller subclass; it didn't feel very mvc though. At that time Perrin, I think it was, pointed me to Apache::Dispatch ( I think it was? ) which fit the problem pretty well. It allowed me to associate paths structures with handlers; admitedly, I ended up writing my own custom version of this, however it's a good starting point. As already mentioned though, I would try to go for a generic pattern for your cat/sub-cat/product relationships. Check out Dispatch, though. Have a look through the archives on either here or the mod_perl list. I received some helpful suggestions for a similar problem in around June or July or last year, I think it was. :) Well, good luck. Raf _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
