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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Is DNN appropriate for my application?Is DNN appropriate for my application?
Previous
 
Next
New Post
9/28/2008 12:24 AM
 

Totally new to DNN. I have d/l and installed it, and messed around with the user interface. I'm trying to decide if DNN is appropriate for my app.

I have been developing MSSQL Server database apps for years, using a variety of front ends (MS Access, VB, ASP, ASP.NET, etc), and I generally use stored procedures to do the grunt work. I now have an old Access app (10 tables, 20 or so forms) that I want to upgrade to ASP.NET. The primary purpose of the app is data entry (CRUD) and reporting, so using Visual Studio web development would be fine. But I can see the value of using DNN to expand my app into a portal instead of just data entry, and DNN would potentially speed up user interface development/testing.

I want to use GridView/formView/DetailView/ListView, etc. in the application. Conceptually, how would this be developed in DNN? Would each old data entry page be developed as a new DNN module and added to a page? Or would I just develop ASP.NET pages as usual, and call them from DNN?

Thanks!

 
New Post
9/28/2008 11:22 AM
 

One custom DNN module could potentially hold all your data entry pages, or you could indeed break it down into multiple modules depending on requirements. Before jumping into custom module dev, you may want to research the 3rd party module market as there are a number of "GridView/formView/DetailView/ListView" type modules already available.


Tom Kraak
SEO Analyst
R2integrated
 
New Post
9/29/2008 1:17 AM
 

I can appreciate when you first look at DNN modules it can be a bit confusing as to how to start/structure your application.  The term 'module' is heavily overloaded and just confuses the matter. The term 'module' is commonly used to mean a module package.  Ie the 'forums module' is actually a package of modules that work together to make a forum.  The overloading of Module is so built-in to the community lexicon it's not going away, so you just have to acquaint yourself with what it means.  For most people it is no problem because they aren't developing a module.

Here's how it's logically laid out:

- 'Desktop Module' aka 'Module' or 'Module Package' 

--Folder[s] (one or more per Desktop Module.  These are created under the 'DesktopModules' path when you install a module package.)

----Module[s] One or more modules.  Each one of these shows up in the 'install module' drop down in the control panel

------Control[s]  One or more controls.  Each of these maps to a physical usercontrol (.ascx file) in your DesktopModules\Folder\ path.

Note that each control can either be the 'default' control for that module (<key> property omitted) or it can have a <key> value supplied.  The difference is in the Url : mypage/tabid/66/default.aspx will show the default module, mypage/tabid/66/mid/185/ctl/controlname/default.aspx - will show the control named where controlname = <key>controlname</key> in the dnn file.  You can see this in action in most of the standard modules because they have an 'Edit' control, and when you choose 'edit' you can see the ctl/edit in the Url for the edit page.

You can see this relationship if you look at the .dnn file for a module installed on your system, then look at the file structure of your site and see how the two fit together.

There's really two ways of attacking the module development problem:

1) build a module package that contains one folder, and one 'Module' within that folder.  This is how the DNN blog module is put together.  When you install the module,  DNN throws about 8 controls onto the page and you have to manually move them about to get your desired outcome.

In your case, you might build a 'Data Entry Module', which contained a couple of different controls in a single module, contained in a single folder.   You'll probably have one view and one edit control per logical page. 

2) build a module package that contains a couple of folders and a couple of modules.  This helps with implementing the module into your DNN pages, because you can logically construct things a bit easier, but clogs up the module install drop down with lots of different bits.  If this was the case, you'd have a 'GridControl' module for doing grid edits, and a 'listcontrol' for doing lists.

Which one suits best will depend on the nature of the application you're going to build.

But, to conclude, I will +1 to Tom as this has all been done before, and if you're looking at plain vanilla data-in, data-out applications, there's a couple of mature modules around to handle this.  ListX, IndooGrid and XMod spring to mind, though I've never worked with any of them - because I'm a diehard roll-your-own-module developer :)

 
New Post
9/29/2008 11:16 PM
 

Many thanks for the responses. I had casually considered commercial module. After your posts, I think I need to evaluate them in detail, and I just took an in depth look at the ones available. They will certainly do what I want for basic data entry, and speed up my development. I've also usually favored the roll you own approach, because I have been burned several times purchasing controls/libraries from companies that subsequently "vaporized" and I had no upgrade path. I am going to try out the demo versions of a couple of them to see how they fit.

 

The description of the module development structure and layout is extremely helpful. That helps to clarify several things for me. I think I am going to put together a simple data access module, and then I should be able determine the pros and cons of commercial vs. rolling my own.

 

Thanks again!!

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Is DNN appropriate for my application?Is DNN appropriate for my application?


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