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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Adding Database Access - General AdviceAdding Database Access - General Advice
Previous
 
Next
New Post
2/6/2012 12:33 PM
 
Hi

I have used DNN6 for a few simple websites but now need to add a simple data management system for maintaining company listing information.

I have written many business/data management systems before in .NET (but not in DNN) and usually use a modified MS Data Access Application Block in a Data Tier for sending/receiving data to/from the database via stored procedures as this whilst using a dataset provides good disconnected functionality, particularly maintaining relationships, cascading IDs and handling optimistic concurrency. I send UI data to a Business Layer for processing and this then connects to the Data Layer for updates.

To incorporate a data management system into DNN, is writing a Module the way forward with this? If so can anyone give me some idea of the best approach I should take in terms of architecture, particularly to ensure that upgrading DNN in the future is as simple as it is now, i.e. a straight data copy.

Many thanks
Terry
 
New Post
2/8/2012 11:15 PM
 
yes, modules are the correct approach - however a module doesnt care how you do dataaccess (e.g. linq2sql, entity framework, MS DAAB etc.) - you can read up on many of these options at http://www.dotnetnuke.com/Resources/Wiki/loc/allpages/Cat/Development.aspx , but if you're looking for best practices the video tutorials at http://www.dotnetnuke.com/Resources/Wiki/Page/Module-Development.aspx is probably the best place to start.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Adding Database Access - General AdviceAdding Database Access - General Advice


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