Back to list
Views:   4.4K
Replies:  1

Which pattern I should Use


In our application users may upload different type of files in ftp folder. All these files will be CSV file but the format (number of columns, purpose, order etc.) could be different. For each type there will be seperate folder. So from folder name we may easily recognise which format is applciable for that file. For each file, we need to read the file and validate some records and need to take some specific action against those records. At this moment we have 14 type of files. But in near future it may increase.

Which pattern I should use to design this solution and why? Is it Factory method?

Angshujit Bhattacharyya, May 19, 2015
Reply 1
Template Pattern.
Alok Saxena, Jun 25, 2015
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.