HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...PA Install/Uninstall Best Practices and .DNN ConfigPA Install/Uninstall Best Practices and .DNN Config
Previous
 
Next
New Post
8/20/2006 12:13 PM
 
Hello All,

I am trying to find out which is the preferred way of logically and physically packaging and deploying my controls within a module definition.

My current UserProfile module has 6 .ascx files (controls in it). Currently when I package it, I have them all under one folder in the .DNN file. This means there is one entry in the Module List and one module to select from. When I add it to a page I get all 6 controls and I have to tell user's how to move them etc (confusing to some).

I noticed other complex modules break up their modules into multiple folders by partiitioning their .DNN files. This means you get multiple entries in the drop down list so it's easier to install and manage the module. BUT I also noticed that they are treated atomically, so if you uninstall one then it does not affect the others, and the directory it was in still remains.

I am trying to work out what the core PA uninstaller expects, because it looks to me like partitioning your module in this manner means it won't completely uninstall (ie. it leaves folders). This means it would not pass the DNN Module Certification program. Is the module configuration wrong? Is the DNN PA Core installer limited? What should I do today when I package my modules? I know this area is being refined, but I don't want to make the wrong choice now.

PS. I raised this on Scott McCulloch's site as I noticed his (brilliant) News Article module uses the split approach, and it also does not uninstall completely. You can read it here.

Opinions please...


Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
New Post
8/20/2006 12:45 PM
 
Just to clarify, when they are all under one <FOLDER> element (ie. no logical partitioning) as I currently use it, the folder is deleted on uninstal, and the .dlls are removed from the .bin.

Also, it would be good to get some guidance on what each of these do (under a typical Folder node):
    <folder>
      <name>Smart-Thinker - UserProfile - Birthdays</name>
      <friendlyname>Smart-Thinker - UserProfile - Birthdays</friendlyname>
      <foldername>Smart-Thinker - UserProfile</foldername>
      <modulename>Smart-Thinker - UserProfile - Birthdays</modulename>


I am trying to logically separate the Birthdays, but keep it in the same physical folder. This installs correctly (all to the Smart-Thinker - UserProfile folder), but then it falls over when you add it because the control module defintion is looking in Smart-Thinker - UserProfile - Birthdays. What is "name"?

Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
New Post
8/20/2006 2:24 PM
 
So it seems that you can install the modules to different physical locations by using this:

<folder>
    <name>Smart-Thinker - UserProfile - Birthdays</name>
    <friendlyname>Smart-Thinker - UserProfile - Birthdays</friendlyname>
    <foldername>Smart-Thinker - UserProfile - Birthdays</foldername>
    <modulename>Smart-Thinker - UserProfile - Birthdays</modulename>
 
But I think it's better to install them to a single folder (physical location) with multiple logical "modules" within a module by doing this:
 
<folder>
    <name>Smart-Thinker - UserProfile</name>
    <friendlyname>Smart-Thinker - UserProfile - Directory</friendlyname>
    <foldername>Smart-Thinker - UserProfile</foldername>
    <modulename>Smart-Thinker - UserProfile - Directory</modulename>

* Note the Name and FolderName are the same in the bottom scenario.

In my case, it is better to use the same physical folder as some users will be upgrading and their systems will be using the old Module Defintions which expect these files in that folder.


Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
New Post
8/24/2006 12:25 PM
 
*bump*

Thanks,
Rodney
Smart-Thinker - Home of SmartSocial - the 100% Free DotNetNuke Social Networking Product Suite
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
PokerDIY - Example Implementation of DNN Social Network
 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...PA Install/Uninstall Best Practices and .DNN ConfigPA Install/Uninstall Best Practices and .DNN Config


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.