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  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Getting started from an inherited app
Previous Previous
 
Next Next
New Post 7/30/2008 10:49 AM
User is offline Dave Frankenbach
4 posts
10th Ranked


Getting started from an inherited app 

DNN newbie question

 
New Post 7/30/2008 1:33 PM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: Getting started from an inherited app 

not quite sure what your question means, but if you mean running dnn as a virtual in an existing app, then see http://ims.co.nz/blog/archive/2005/01/26/328.aspx

 
New Post 7/30/2008 1:45 PM
User is offline gymmedia
59 posts
www.GymnasticsMedia.com
10th Ranked


Re: Getting started from an inherited app 
Modified By gymmedia  on 7/30/2008 3:49:10 PM)

I like turtles!

[Sorry was just trying to be funny.]


GymnasticsMedia.com
The Ultimate Portal for The Ultimate Sport
 
New Post 7/30/2008 1:51 PM
User is offline Dave Frankenbach
4 posts
10th Ranked


Re: Getting started from an inherited app 

Cathal,

I'm not sure why my original post showed up as only one line, I thought it had something to do with the approval process. What I attempted to post was this content:

I'm in the process of taking over a project from a developer that's leaving and I'm looking to fix some things in this app and looking for the correct place to do it.

1) I need to find the correct place and way to implement some common code that all of the modules can use. Currently several modules all use their own copies dbutils.cs.. with some chance that individual module developers tweaked their copy of the code once they got hold of it.

2) I need to find a way to create custom custom UI controls that can again be reused across modules. The original development team each developed their own client selection combobox rather than using an app wide class.

So can someone give me some pointers and/or point me at references to get this project back under decent control?

I'm not sure how IIS virtual directories fit.. or if your reply was just to answer the truncated first post.

Thanks for the help,
df

 
New Post 7/30/2008 5:24 PM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: Getting started from an inherited app 

Dave,

my original answer was for virtual directories, please ignore it.

1. one of the weaknesses of the module deployment module is that modules get their own folder structure under desktopmodules i.e. desktopmodules/module1 and desktopmodules/module2. There is no shared location for common code, this is something we're looking at for an upcoming version - the ability to share common code, and correctly version it. However, there are a number of workarounds. The first is to simply create a class library, and put the code in there, and then to add that dll to each module. The second is a bit of a hack, but you can implement the IUpgradeable interface in your modules, and use it to perform post install items i.e. it runs the first time after install so you could move code to a common location.

2. similar to above, create a class library and use it to host your custom server controls or else move your controls to a common location such as an app_code folder via IUpgradeable.

Finally, you could also consider using the xmlmerge capabilities to add/amend entries to your web.config (http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1844/Default.aspx). These could then allow for additional probing directories (for dll's), or add handlers to support common functionality -look at the default web.config to see how this is used to generate captcha images and support rss feeds etc.

Please note, if you plan to always install modules together, you can deploy multiple items within one module, take a look at the blog module and you'll see it add's a number of modules at the same time to support linked, but optional functions. As the deployment happens in one go, it's easy to add a file containing utility functions.

Cathal

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Getting started from an inherited app
 


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.

 


The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com
DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk

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