MUS
MUS

Reputation: 1450

Application framework building

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

Answers (4)

Doobi
Doobi

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:

  • For Data Access there is Entity Framework or nHibernate .
  • For Presentation there's ASP.NET MVC (Or MVVM for Silverlight and WPF).
  • If you need rich cross cuts and IoC there's Unity and Enterprise library.
  • For complex BL there's Workflow Foundation.

Tying them together neatly will solve pretty much any problem.

Upvotes: 0

Pete Kirkham
Pete Kirkham

Reputation: 49311

YAGNI.

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

Sakhawat Ali
Sakhawat Ali

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

Younes
Younes

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

Related Questions