Last post Feb 27, 2006 01:46 PM by arctain
Feb 20, 2006 01:07 PM|hgrewa|LINK
Is there any way a static web form can be used in DNN.
I have about 4-5 web pages that are small yet complicated ( Heat and mass transfer calculations , Engineering fatigue analysis programs etc. ) programs that I want to use on DNN. Is there any way I can use these existing web forms ( asp.net
2.0 compliant *.aspx files ) ?
One simple ways it to make each of these programs as modules and then insert them in to DNN portal. My understanding is that modules are the best suited for web items that are intended to be used
at multiple instances in your web site and have a need to communicate with databases to store/take the data from a particular instance.
Here is my concern regarding incorporating these web forms/programs as modules.
These web forms do not need to communicate with databases. They just take the data that user provided do the engineering calculations, get the results and post it back to the user.
Since these web forms are unique, I don’t need multiple instances of these programs on my website.
I have made couple of these web forms as module but that has resulted in very significant performance issues (SLOW!)
that I don’t want to afford. At the same time however, I really liked DNN (still a newbie) for rest 90% of my site. Is there any other way around it ? I would appreciate any guidance or advice on this!
Feb 20, 2006 04:39 PM|arctain|LINK
There are a couple ways of doing what you are trying to do, but perhaps the simplest way is to use the Links module (standard) and link to the pages in a new window. Or, perhaps use the I-Frame module and nest the page as an I-frame within DNN.
On a different note, the pages (no database calls, etc..) shouldn't be really slow as a module unless the amount of data they are caching in page is extremely large. You might check and see if the dat they are caching is, in fact, necessary for page loading.
If they are, then you might need to throw some of that information within the page onto the db to avoid slowing.
Hope this helps!
Feb 21, 2006 11:54 AM|hgrewa|LINK
Thanks Arctain for your help. I liked the I-Frame idea to accomplish that as the website will have a consistent look throughout. On the seperate note, you mentioned storing page data in db. I don't know how to do that. Can you provide a dirrection or a link
that can help me out. I looked in my pages and it appears that there is large amount of data being cached.
Feb 27, 2006 01:46 PM|arctain|LINK
To a certain degree, DNN 3.x and 4.x already do the page-level caching for you - that's one of the huge benefits of module development in 3.x and 4.x. That being said, I would take a look at module development tools and templates from DNN Jungle (http://dnnjungle.vmasanas.net/Development/Templates/tabid/28/Default.aspx).
I have found these tools indespensible for module development.
I hope this helps.