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.0DNN Newbie - Module Development & SQL TablesDNN Newbie - Module Development & SQL Tables
Previous
 
Next
New Post
2/27/2008 5:28 AM
 

I need to write a simple module that deals with currency conversions.

All the currencies, exchange rates and stored procedures already exist in my database.

I have created my new module called CurrencyConverter.

My question is do I still need to keep the standard tables, SP's and functions that are automatically created for my by the starter kit?

I am referring to the following functions in the App_Code/CurrencyConverter/CurrencyConverterController.vb & DataProvider.vb & SQLDataProvider.vb

Hope this all makes sense

  • GetCurrencyConverters
  • GetCurrencyConverter
  • AddCurrencyConverter
  • UpdateCurrencyConverter
  • DeleteCurrencyConverter

What about the optional Interfaces also created in App_Code/CurrencyConverter/CurrencyConverterController.vb

  • GetSearchItems ImportModule
  • ExportModule
  •  

I don't need to store any data when the module is in use, but are these tables needed by DNN to control the module?


Blue & White hooped blood runs through my veins!
 
New Post
2/27/2008 9:18 AM
 

Assuming you really don't use the tables and stored procs that the starter kit generated for you, there is no reason to keep them.  They are there to give the starting boost towards developing a fully-functional module which includes database access.

On the same token, those optional interfaces are just that -- optional.  They are there to try and show you how you *could* implement them if you wanted, but you certainly don't have to if you don't want to.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
2/27/2008 10:55 AM
 

As fooberichu mentioned you can remove anything and everything that you need.

The template projects created by the VS templates are just that.  They are designed to provide you with a "general" layout that you can use to build a module, but it is very possible that you will need to clear out a large amount of stuff that is not needed due to your specific implementation.

The optional interfaces, if not needed should be removed as well, this prevents extra overhead from impacting DNN.


-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
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Newbie - Module Development & SQL TablesDNN Newbie - Module Development & SQL Tables


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