Forum


HomeHomePremiumPremiumDevelopmentDevelopmentIs DNN7 really a viable development platform?Is DNN7 really a viable development platform?
Previous
 
Next
New Post
3/30/2014 4:27 PM
 

I've been away for a while, last developing during DNN5. I wanted to upgrade my CodeSmith module templates and get a number of my older modules up to DNN7 from the DNN4/5 where they started. To be frank, absolutely nothing has worked. Any attempt to go past the bare minimum few fields or have multi-table modules has crashed and burned. Even attempting to refactor old DNN4/5 modules "as is" has ended up with nothing but module load exceptions. At this point my opinion of DNN as a viable development platform is extremely negative. There doesn't seem to be any real reference material, and the volumes of videos show very basic scenarios that when you update them seem to fail. After working on DNN since the version 2 days I'm really doubting there's an ecosystem outside of DNNCorp to build anything. It also seems like DNNCorp is deliberately withholding information from developers to keep the value-add in the "Professional" and "Enterprise" subscriptions. 

At this point is seems like the best option is to develop for DNN5 where there's real documentation and you can get things to work. DNN7 seems terribly twitchy, and all the examples given only seem to work with a very restricted set of circumstances. I built templates off Scott's examples and DAL2 does't work with more than a handful of columns, the ColumnName decorations don't work, anything other than a single column integer primary key doesn't work, and when they don't work you don't get an error and you're only option is loading the full source and stepping line by line. Personally if I've got to debug the CMS on my own it lacks value. If I'm going to develop to a brain-dead CMS I might as well use SharePoint because at least I can get some support.

Based on my earlier experiences I don't see much traffic on any of the development forums. Has everyone bailed and I'm just the last guy to figure it out? 

 
New Post
3/31/2014 5:39 AM
 

Keith,

Sorry to hear about your struggles.  I can't speak for the rest of the community, but I am developing enterprise solutions for clients using DNN7.  There is no shortage of work and clients requesting to use DNN.  I plan on doing some tutorials in the early summer this year to cover the enterprise development topics such as MVP pattern, Unit testing, automated testing, automated deployment, etc.

I assume you went through my Data Access tutorial?  There I demonstrate not just DAL2, but also DAL and other techniques.  I have been successful using DAL2 in conjunction with Linq to do some heavy stuff.  But you still can use DAL or LinqtoSQL, or even Entity Framework for your data access.  If I were trying to update DNN4/5 modules I wouldn't make major changes to the data layer if it was working fine.

I agree that the training material coming from DNN Corp is severely lacking - especially since Chris Hammond left.  I am not complaining because it has helped our subscriptions at DNNHero.com :).  But the community is still there, there are people actively helping others on dnnsoftware.com, dnn-connect.org, dnnhero.com, and dnnchat.com.

If you need a refresher on current DNN development, I suggest going through the tract I laid out in my Blog.  Besides that, if you have specific issues with a piece of code, post it here and we can give you some help.

Thanks and good luck!
Scott

 
New Post
3/31/2014 6:16 AM
 

Scott,

I've been through all your development videos, DAL videos, client centric videos, etc. They are great for learning but when I take what I learn from the videos along with examples and attempt to apply it to "real" situations I hit roadblock after roadblock. For example:

All the work using DAL2 failed. Petapoco won't do anything at all when I use the ColumnName decoration, and when I remove it and force all the properties in the model to match the database it still refuses to map correctly, although it will retrieve rows. Somewhere between the half dozen columns in the examples and the 30 or so in my tables things break and all petapoco does is silently logs something to the event log that says basically nothing. Object reference not found.

All the work moving an old VB module "as is" as much as possible also failed. None of the .ascx will load and punt with a module load exception, so you can't even debug. Even .ascx straight from the Christoc VB template in the same project punt with the same error once I add a control. 

Even taking the simple CS DAL2 template and attempting to alter the controls on the view to use the new fields from a database view failed, absolutely nothing happens, but I suspect that's due to having the column decorations there. I haven't had a chance to go back and redo this test by removing the ColumnName decorations, so maybe one simple thing will work.

In any case not having any usable reference material makes this slow and tedious, and I really don't have the time to do everything hunt and peck. Maybe there's some magic extra decoration that needs to be there to get ColumnName decorations to work, but without a manual or equivalent the only hope I have is finding something in some example somewhere. The fact that the DNN petapoco implementation choses to silently log errors with no indication how to repair them leads me to believe it's not ready for prime time.

 
New Post
3/31/2014 3:35 PM
 

Keith,

Maybe you could provide the CREATE TABLE statement of the table you are having issues with.  I could take a crack at building a DAL2 model class from it.  There are some tricky things about Petapoco that I have run into.  For example, data type mapping and nullables.  Database floats should map to double, real should map to Single, etc. Also, if a column is nullable in the table you should make the type nullable in the class, ie: Nullable<DateTime>.  Again, post your table definition and I can help you.

Scott

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentIs DNN7 really a viable development platform?Is DNN7 really a viable development platform?



Try FREE
30 days money back guaranteed