Mitchel's Forums

Subject: dal
Prev Next
You are not authorized to post a reply.

AuthorMessages
MaryVUser is Offline
New Poster
New Poster
Posts:2

05/21/2008 3:46 PM  

mitchel,

i have a question regarding the dal of dnn. i've been programming asp.net for a while and am used to coding data access via sqldatasource, coding directly in a function or in a web service. i began dnn about 6 months back. it has the dal/bll suggested setup. can you tell me what are the advantages/disadvantages to coding your data access via dal or web service or directly in code? i've been writing custom modules but i use either sqldatasource (for simple selects for example) or directly in a function or sub. thanks for your input and advice as i haven't really pursued using the dal setup in dnn as it seemed like so much more overhead so i'm wondering what is it's advantage? thanks in advance.

MaryV

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

05/21/2008 4:56 PM  
the DAL/BLL setup that is suggested in DotNetNuke development helps to abstract the data functions to allow for different data stores to be used. Also having al business/data elements inside classes that are outside of your presentation code is helpful as it helps to keep operations separate and allow for re-use.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.



ActiveForums 3.7