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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke and the MVC frameworkDotNetNuke and the MVC framework
Previous
 
Next
New Post
11/7/2007 8:58 PM
 

Hi there,

We're extensively using DotNetNuke at the institution where I work and it's been serving us well.  We're currently at the OpenForce conference and are very excited about the new release that was announced.  And we are also very excited about the MVC framework that was announced a few weeks ago at the Alt.Net conference.

Now, I'm just wondering if there are any plans to integrate DotNetNuke over the MVC framework.  I know that this would be a huge undertaking, but I'm just wondering if there is interest from the community for such an integration.

Hoping to here from you

Olivier Dupuis

 
New Post
11/7/2007 9:56 PM
 

It will be interesting to see what shape the MVC framework takes when it ships with the first CTP sometime in the next few weeks, per Scott Hanselman. it is probably to soon to comment at this time. I think there are quite a few places for the DNN core to change where it uses the current post Back model. I do not think it will happen.

It will be interesting to see if the MVC could be used for some modules as an option. it would be to much to ask all developers to change to MVC.

I would be interested in how you are doing testing now for your dnn Modules. I have seen some users have some success with doing unit testing, Here is a good reference, http://www.codeproject.com/useritems/DnnUnitTesting.asp

Unit testing and TDD is one of the biggest advantages of the MVC.

What do you see as the benefits of the MVC Framework ?


Jim www.walkspoiled.com
 
New Post
11/8/2007 1:52 AM
 

I'm presently working on a Rails project, where I'm discovering the benefits of an MVC framework.  So far, I think the clear separation of concerns is definitely the most interesting aspect of it.  The point of entry being the controller and not the presentation layer makes it easier to test and makes just more sense.  As for TDD, it definitely is easier to see the separation between unit, functional and integration testing.  So for me, the biggest advantage of the MVC framework is clarity and the enforcement of a better architecture.

Testing is a continuous challenge for us.  But that's good, since it forces us to always challenge the way we do things.  As far as implementation, unit testing is not a major issue and for functional testing, we use Selenium.  But when it comes to integration testing, this is where our heads spin.  Testing against a database is a pain.  We've read and heard of many approaches but none seem to be just plain good.  For a while we used MbUnit, with the rollback feature, but since then we have moved to an ORM, ActiveRecord.  The switch was done recently so I'm still in the process of finding the right way to approach this.

You mention that "MVC could be used for some modules as an option".  I'm curious as to what exactly you mean by that.  Are you saying that modules could implement an MVC architecture while DNN remain to its classic architecture?

What is your approach to TDD?

 

 
New Post
11/8/2007 6:50 PM
 

Selenium and tools like Watin/Watir are good choices for testing the application in a deployed mode.

I agree that the trick is trying to get more testability at a lower level and the seperation of concerns is key.

The trouble that I have with TDD and Unit testing in general with DNN is the HttpContent object and the number of DNN methods that depend upon things like the server MapPath. Functions like the localization getstring from the resx files do not work. I was able to incorporate Phil Haacks HTTP Simulator with the tips outllined in the Unittesting DNN post on codeproject. This worked for most httpcontext objects, except for portions that were sealed.

My gut feel is that MVC will be for new applications and it will be not be an easy port for complex web applications. But there are smart people out there that may pull this off!!! That is why I am thinking to set my sights on doing hooking some modules into MVC as an option, but I guess if the problem is solved for some modules, then perhaps it will be solved for all...I will ask some of the core team members here at openforce and do another post.


Jim www.walkspoiled.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke and the MVC frameworkDotNetNuke and the MVC framework


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