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.0Dynamic ModuleDynamic Module
Previous
 
Next
New Post
3/14/2007 5:35 PM
 
I'm a DotNetNuke newbie with what is probably a dumb question.  What is the difference between a DotNetNuke Module and a DotNetNuke Dynamic Module?
 
New Post
3/15/2007 12:56 AM
 

To the end user - there is really no difference - they will both do the same things - and work the same way.

Where the difference really lies - is in how they are created.

Dynamic Modules are create insided a DNN website ... with ( as a rule ) all the layout and program code being compiled on demand ... that is - whenever you request a page the layout and code for any dynamic modules on that page are compiled on the fly by the web server.  (Note - the compiled code IS cached by the server - so technically the elements are only re-compiled if the server detects a changed element.

Non-Dynamic or Compile DNN Modules are create as seperate standalone projects ... with as a rule - only the layout elements installed on the server and all the CODE/programming elements precompilled into a .dll file - which is installed in the web sites /bin/ directory.

Which is better - well that really depends on the developer.

One of the strong arguements for Compiled modules is that the developers code is never published in such a way that any can easily copy / reuse it.  This is a reasonably valid arguement but - technically there are also ways to PUBLISH a Dynamic Module in such a way that no source code needs to be distributed with it either.

Personally - I prefer the Dynamic route for development ... as it is possible to debug and modify code on the fly in many circumstances - and the debug cycle is nice and fast since there is no need for a COMPILE before you start a debugging session.

Westa

 
New Post
3/15/2007 8:39 AM
 
wtatters wrote

and the debug cycle is nice and fast since there is no need for a COMPILE before you start a debugging session.

I agree. With VS2005 I simply save the page then go to "Debug" then "Attach to Process"

 You may see more than one "aspnet_wp.exe". Hover your mouse over each one and they will identify the asp.net version (after a second or so). Select the one that is "\v2.0..." and click "Attach"



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
3/15/2007 9:19 AM
 

Thanks for the information.  I have one other question. I am using DNN4.4.1 with Visual Web Developer, when I choose to "Add a new item.." the only options that I get are to create a new skin and a dynamic module.  How do I create a "Compile Module".  Thanks in advance.

Shawn

 
New Post
3/15/2007 3:38 PM
 
VWD does not support WAP modules.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Dynamic ModuleDynamic Module


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