|
Hi,
In need of some help. I am confused about how to layout my application structure. I have looked at open source apps but still confused as they each have different structures.
I am thinking to have a separate folder for Business Logic. Within that, i will have a class for lets say customerService. This class will contain all linq queries. I will then have another folder under Business Logic for data classes. In this i will have a class customer. This will contain the getters and setters.
I assume that the model folder will contain a CustomerModel.
So the structure will be
Business_Logic
------Data
--------------customer (getters and setters)
------DBAccess
--------------customerService (linq queries)
Model
------CustomerModel (????????)
Controller
-------CustomerController
View
-------Views here etc etc
Questions:
Am i headed in the wrong direction for the MVC application structure? Do I need a Business Logic folder?
If the above example is more or less correct, what functions will the CustomerModel hold? Will it literally just reference the Business Logic customerService class?
I can’t find any relevant material on the Internet. I am literally struggling in getting the structure correct.
__________________
» Please login or register to view this content. Registration is FREE
for web developers
» Please login or register to view this content. Registration is FREE
- Interactive maps for websites
|