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  |  

PortalWebHosting
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Can I write more functionality into a module than view/edit?
Previous Previous
 
Next Next
New Post 3/29/2006 6:41 AM
User is offline Mike Grace
206 posts
www.computastat-group.co.uk
9th Ranked


Can I write more functionality into a module than view/edit? 
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 8:36 AM
User is offline Mike Grace
206 posts
www.computastat-group.co.uk
9th Ranked


Re: Can I write more functionality into a module than view/edit? 
Are there any tutorials that go further than the view/edit page?

i.e. A mini app.

Regards

Mike
 
New Post 3/29/2006 9:01 AM
User is offline Jeff Martin
61 posts
www.jeffmartin.com
10th Ranked


Re: Can I write more functionality into a module than view/edit? 

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#
My Site
 
New Post 3/30/2006 1:32 AM
User is offline Mike Grace
206 posts
www.computastat-group.co.uk
9th Ranked


Re: Can I write more functionality into a module than view/edit? 
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 7:54 AM
User is offline Jeff Martin
61 posts
www.jeffmartin.com
10th Ranked


Re: Can I write more functionality into a module than view/edit? 

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#
My Site
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Can I write more functionality into a module than view/edit?
 


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.

 


DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com
Smart-Thinker
DNN Modules for Social Networks for as low as $69 for 6 modules! We also maintain the DotNetNuke Directory - http://DNNDir.com
www.smart-thinker.com
DNN Photo Gallery
Complete Photo Gallery Management!
www.dnnPhotoGallery.com

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