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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Business Logic *only* ExampleBusiness Logic *only* Example
Previous
 
Next
New Post
1/22/2009 9:40 AM
 

Does anyone have a good example of building a Business Logic only module?  It seems every sample I've seen is built around a user control - but I have need for a module to handle strictly business logic.

 

Thanks!

Bob

 
New Post
1/23/2009 4:17 AM
 

I am not really sure what you are asking for.  if you want to contain all business logic in one part of your custom code, that is typically something that is implemented in classes that are contained outside of the actual .ascx control files.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/23/2009 3:00 PM
 

Mitch,

What I'm attempting to do is create a module that has absolutely no UI.  I'm not sure if a FriendlyURL or an HTTP Module are "examples" of non-UI modules that can be "replaced".  If they are, then something like this would be an example.

Every example I've noticed assumes we have .ascx controls, and we have access to Entities.Modules.PortalModuleBase.

Let me use an example, it's not actually what I want to write, but is a good example.

One of the items "management" has wanted for many years is a "filter" for data passed into our website. (Yes, I know, there are a LOT of hardware based filters...  But bare with me in my example...)

To implement a filter, I'd write an HTTP Module.  One item I'd want to do, to keep performance up, would be to restrict the data the HTTP Module would process.  It should be possible to restrict what my module processes based, for example, on ModuleId and PortalId.  These fields are not quickly available to the HTTP Module.

Lastly, how would I build an install package that includes my HTTP Module into the system.  The examples I see, all implement my module on top of an active DNN site, and use DNN itself to build an install package.  If I'm an independant developer, it would be really nice to do my development without altering my "reference" copy of the installed DNN on my development machine.  The installer allows me to install and test the finished product.

Are there any examples of developing FriendlyURLs or HTTP Modules?

 

Thanks!

Bob

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Business Logic *only* ExampleBusiness Logic *only* Example


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