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.0custom data providers, web services, and ListXcustom data providers, web services, and ListX
Previous
 
Next
New Post
3/21/2008 2:59 AM
 

Hi All,

If you don't know the listX module, my basic understanding is that It can be used to grab data from databases (via queries calles) and web services to create custom views and forms.  The basics of the module are very attractive to me for rapid development using web service data that drives DNN content via taxonomy and projects

My problem is that I don't want to call my web service directly in listX because I'd like to cache the data in my own object to prevent large numbers of calls to the web service (which has preformance issues).  I can access .NET runtime properties from listX, such as PortalSettings, PageSettings, Content Properties, System Properties, etc.  If I went this route, is there a simple way to include my own business logic into the DNN page at runtime without to much banging on the DNN structure?  One untested idea was to create a hidden module on pages where I need to run my business logic to cache or grab my cached webservice information and then pull it into the listX module but there is the user control heirarchey issue.  This seem sloppy anyways.  Though I'd like something that I could add different Business logic to different Tabs if possible.  How simple is this to do?

Another option, I was thinking, was to create my own web service (which I may be doing anyways regarding much of this data).  My web service would be programmed to call my business logic (which envolves me caching objects from my other web service call).  Then, my listX modules could call my custom web service.

Would either of these work or make sense?  Or should I go the doublicate data road and dump my taxonomy into DNN?  If so, how would you synchronize this data easily?

Somewhat complex but I'd appreciate the help.  This is my first DNN project.

Thanks,
Ben

 
New Post
3/21/2008 6:31 AM
 

For support with 3rd party components, please use the support options of the vendor/developer, thank you.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/21/2008 8:55 AM
 

I am using my vendors support for specifics on the module options on this.  But my question here has more to do with how DNN might allow me to turn my own provider classes into something I can access from the page objects, like Portal Settings.  In this way, it's not module specific and lends itself to be used by some third party modules and also custom built modules and processes.  Though, yes, my other option with using a web service is more specific to this 3rd party module, but that's really an asp.net question of best practices.  But, yes, I'll try to keep it more DNN basic topics in the future.

Thanks.

 
New Post
3/21/2008 10:46 AM
 

Would you want to expose objects or just specific bits of information. For example. I have a webservice that I use in this example:

http://dnnsilverlight.adefwebserver.com/Silverlight20/SilverlightWebservice/tabid/66/Default.aspx

I could expose the UserInfo object and obtain the name from it or I can JUST return the users name (the information I want). While objects can be convenient, I would rather keep my object oriented programming in server side code. "My Page" (JavaScipt or Silverlight) simply gets only the information it needs. I do not try to "maintain any objects" at that level.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0custom data providers, web services, and ListXcustom data providers, web services, and ListX


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