Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Real Benefits of DAL
Previous Previous
 
Next Next
New Post 2/3/2006 3:40 PM
User is offline Edward Beck
190 posts
9th Ranked


Real Benefits of DAL 
 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 4:47 AM
User is offline Evgeny Shapiro
30 posts
10th Ranked


Re: Real Benefits of DALD 
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 5:28 PM
User is offline Edward Beck
190 posts
9th Ranked


Re: Real Benefits of DALD 
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/6/2006 10:23 PM
User is offline Ben Allfree
20 posts
10th Ranked


Re: Real Benefits of DALD 
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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Real Benefits of DAL
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP