Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Real Benefits of DALReal Benefits of DAL
Previous
 
Next
New Post
2/3/2006 7:40 PM
 
 I'm not sure about the benefits for the DAL model shown in the 4.x / .net 2.0 tutorials on building modules - except for the xxxInfo class object.  Can someone shed some more light on this?
  1. If my data structure changes, I have to update at least five files (DataProvider Abstract methods, SQL DP, stored proc calls, controller for returns, and info class structure, and at least one control file) - correct?  Maybe I'm not getting the abstract part of the scenario.
  2. I do see the value of the object orientation in the classes and I love the controller.vb concept.  But the SqlDataProvider.vb and DataProvider.vb seem to add more work - unless there is a lot of presentation controls/BLL involved.  So is that the real benefit?  Having a number of complex BLL and UI items, referring to the data class structures?  Is there a for Dummies section on this?

  3. Is there a correct order for developing these files? I used the starter template, modified to put my company namespace in by default, generated the template module, and then altered the DB, SP's, and then edited the code files one by one - but am wary I may miss something.  Is there a better way to do this?  
Thanks in advance for any advice!
 
New Post
2/5/2006 8:47 AM
 
Have you ever thougth that it is the work of a programmer to get the data to the user? :). So If your data structure changes you get real trubles at all levels DAL, BLL, PL no matter what model is used. One of the aspects of this model is that the BLL is completly independent from the Data Layer except for the structure. This means that Database changing (from SQL Server to Oracle for example) results in a little or no code changing at all. Despite this fact this happens quite rearly :)) The DNN model seems a bit sophisticated... May be the situation would get better at further versions.

Best regards, Evgeny
 
New Post
2/6/2006 9:28 PM
 
Oh of course that is the job of a full fledged programmer... I'm a hack one just trying to sell the concept to an organization still struggling with HTML and basic asp.
I spent the weekend digging into DAL, and understand it a bit better now - but am still struggling with the DNN starter kit modules.  Probably more of an issue since I'm trying to port previous .net 1.1 work over.  DNN will save me a ton of time, but I need to proof things, hence trying to pick it up quickly. 
Thanks though.

 
New Post
2/7/2006 2:23 AM
 
You should look at DAL code generators like LLBLGen Pro and CodeSmith. LLBL has a pretty steep learning curve, but the advantage is clear when you change your schema and simple re-generate your DAL :)

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Real Benefits of DALReal Benefits of DAL


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out