layers and classes
my application consist of 4 layres- GUI, BL, DAL and DB (is DB is considers as a layer?) BL - my business objects (objects that moves from GUI to DB and visa versa). DAL - usualy static objects that have static methods that take BL objects and moves them to DB or visa versa. here is an example of a class in my DAL- public static class ProductsDAL { //bring all products of specific location public static BL.Products GetAllProducts(BL.Location myLocation) { BL.Products myProducts; WebService.POS_WS service = new WebService.POS_WS(); myProducts = service.GetAllProducts(myLocation); return myProducts; } } I have another class - Barcode. this class responsible for all kind of Barcodes activities - creating Barcodes number, printing Barcodes and more. what layer is this class belongs to? is it part of the BL? i thought that BL is for classes that moves between layers, and not calculation or processing stuff. Maybe i should add another layer - Utilities, and add this class to the new layer. what do you suggest?