Reputation: 1450
I was looking to build a Data Access Layer for my new web based application, I'm using ASP.NET. I'm want to build a framework not only for this application but also want to utilize it for my future projects.
Actually my main aim is to make a framework, from DAC, DAL, BL to GUI. I want suggestions from you guys that what should i adopt, what give me flexibility, which suits for both small and large size applications.
Thanks in advance.
Upvotes: 0
Views: 490
Reputation: 4842
Don't reinvent the wheel. The .NET framework is already pretty rich and adding complexity only makes maintainability and testability more painful.
If you want solid frameworks:
Tying them together neatly will solve pretty much any problem.
Upvotes: 0
Reputation: 49311
If you don't know what you need in your framework, you don't need it in your framework.
Write the framework following the third of your applications, based on what commonalities you observe between them.
Upvotes: 1
Reputation: 405
I dont think DAL is for multiple project, i think you are confusing DAC (Data Access Component) with DAL(Data Access Layer), DAL are usually project specifiec, and on the other hand DAC is something very common.
Upvotes: 1
Reputation: 4823
Well normally DAL's can be utilized in multiple projects anyway. I think you're now talking about Business Logic Layer functionality. Make sure that you implement enough BL functionality to re-use big parts of your BL in future projects. There is alot information to be found on the internet about how to make sure big projects can be re-used in the future.
http://en.wikipedia.org/wiki/Business_logic_layer
http://en.wikipedia.org/wiki/Data_access_layer
Upvotes: 0