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.0Can I write more functionality into a module than view/edit?Can I write more functionality into a module than view/edit?
Previous
 
Next
New Post
3/29/2006 8:41 AM
 
Hi,

I am new to developing for DNN. I have looked at the video tutorials and read the developers guide and I have some questions :-

Q1) Is the only way to add bespoke content to a DNN site via modules?

If so,

Q2) I use Component One dataobjects and controls in other ASP.NET projects. The modules that I create will be for
inhouse/corporate website use only. I will not be selling them.

How easy is it to completely ignore the DAL/BL layers and use my own data access?

Q3) Am I limited to view/edit functionality or is it possible to have a view, then multiple edit screens with its own menu i.e. to create a mini application within a module?

Sorry for the dumb questions but I am really trying to find my feet. DNN does everything else I could wish for without me having to reinvent the wheel. Good work.

Regards

Mike
 
New Post
3/29/2006 10:36 AM
 
Are there any tutorials that go further than the view/edit page?

i.e. A mini app.

Regards

Mike
 
New Post
3/29/2006 11:01 AM
 

Mike Grace wrote


Q1) Is the only way to add bespoke content to a DNN site via modules?
I am unfamiliar with "bespoke".  But generally adding/displaying content to a DNN site is through modules.  Skin objects can behave similarly in many ways, but are less flexible.


Q2) I use Component One dataobjects and controls in other ASP.NET projects. The modules that I create will be for
inhouse/corporate website use only. I will not be selling them.

How easy is it to completely ignore the DAL/BL layers and use my own data access?

Unfamiliar specifically with Component One, but its fairly easy to make your own data access, especially if you aren't distributing them.  You would just write your data access as you would in any traditional ASP.NET app. (Although arguably providers may be the way traditional apps go in the future.).

Q3) Am I limited to view/edit functionality or is it possible to have a view, then multiple edit screens with its own menu i.e. to create a mini application within a module?

You can any number of functions (views/edits) in your modules just like any ASP.NET control.  There are a couple of ways to implement them which have more or less integration with DNN security.  You can make multiple controls that are invoked by different keywords and stored in module definitions.  You can display these in a DNN traditional way by using the ModuleActions collection (see some of the core modules for info on this).   You can also have multiple edits available through using asp:panels and your own scheme as to when to display them.

Sorry for the dumb questions but I am really trying to find my feet. DNN does everything else I could wish for without me having to reinvent the wheel. Good work.

Its definately a great launching point for a web app of just about any scope.


Jeff Martin
MCSD C#
 
New Post
3/30/2006 3:32 AM
 
O.K, Thanks. Thats good to know that other controls can be used.

I think I need to get my hands dirty by creating a module and start hacking it about.

Using ASP:Panels is a great idea. How would a postback be handled within a module, would if refresh the whole page?

Thanks for the information


 
New Post
3/30/2006 9:54 AM
 

postbacks would refresh the whole page... in general i try to avoid post backs and where I need to have them I try to do a redirect back to a page with a querystring that conveys whatever information changed... the reason is that users seem to be attached to that back button on the browser and they don't understand that nasty page expired message.  

Most of my modules now try to use querystrings whenever possible to prevent that expiration message where it isn't necessary.

 


Jeff Martin
MCSD C#
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Can I write more functionality into a module than view/edit?Can I write more functionality into a module than view/edit?


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