If you have a lot of file types, this class explosion would get unmaintainable rather quickly.
On Jan 11, 2008 4:37 AM, Alan Livie <[EMAIL PROTECTED]> wrote: > > > Also, if it was a large project with lots of file writing then why not > subclass FileWriter.cfc with ie GenreFileWriter that would write genre > images to the directory, BookFileWriter that would handle book image > writing. They would be simple cfc's that used FileWriter method > WriteFile but would pass the directory to it. > > You would probably also want FileReader and subclasses if you went > down this route. > > Possibly overkill for what you're doing but a scalable option. > > Alan > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
