Lukas W.
Well-known member
Currently, attempting to extend the proxy system will result in a lot of duplicated, bloated code. To implement a new proxy type, one has to:
What I'd love to see is an extension to the existing system that allows it to accept arbitrary, 3rd party defined, content types and pass them to the respective proxy handlers to be resolved.
- Duplicate the
proxy.php
file, and modify it to accept and route the new file type - Duplicate the proxy subcontainer to be able to forward the whole request to the new controller
- Duplicate the proxy linker to create new proxy links to the files
- Duplicate the proxy controller, as the current one doesn't seem to go through the class proxy, to handle the new file type
- (And for the sake of completeness) Duplicate the on/off option
What I'd love to see is an extension to the existing system that allows it to accept arbitrary, 3rd party defined, content types and pass them to the respective proxy handlers to be resolved.
Upvote
3