Since I took this project over, some of the code is not mine, and many of my changes are kludged in making for a general mess, so I have decided a complete rewrite is in order...
The meat of the question...
I want to do this right, and allow people to use FTP, ssh, telnet, email, whatever as a backend...
so I have decided to write a transparent backend module for transferring
files. Something that allows you to use an api as close as possible to
Net::FTP (I think, anyway) so that many people will just be able to
plug it in and go... what I want to know is...
1) is there anything like this out there already
2) since so far I've found nothing, what suggestions might the venerable monks have to give on the subject of writing my own. I've used OO some, but not to the level I am looking at... I believe I want to create something like DBI (which may be a backend at some point as well)... but what is the best way to go about this? How do I load the existing modules on the fly and how do I pass calls through to them? do I make a master class with many methods that get overloaded by child classes, and each child class knows how to talk to its module? I believe this is right, but am by no means sure. How do I make it go for the proper subclass when FTP is specified to the super class? Any and all discussion will be appreciated. Thanks a lot.
- Ant
In reply to Transparent file transfer module by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |