Forum


HomeHomePremiumPremiumDevelopmentDevelopmentAdvise needed for templating projectAdvise needed for templating project
Previous
 
Next
New Post
4/4/2014 6:06 PM
 

If I can every get my module coding back on track I wish to finish upgrading my code smith template suite. I starting this in the dnn 4/5 days and got it to the point where about 85% of a vb module would generate! and maybe 50% of a c#. The idea was a fully operational module out of the gate, with a dal and ui that was set up to match your tables. By tables  I mean plural, and I'm testing with one database with 50 tables, another with 20.

i'm part of the way through upgrading to dnn7 as I intended to use this as my means to upgrade my modules. For now I'll fix the dal bits and go back to dal2 later, but I'd like to add knockout generation, giving the option of dal/ dal2 and web forms vs knockout. The idea being a working crud module out of the box that does things the "dnn way", that got all the  tedious stuff out of the way so you concentrate on ui enhancement and business logic. Ideally this module would be free of custom libraries or odd build processes that would make it difficult to finish the coding without learning some "special" framework.

i'd really like recommendations on the folder structure, namespace organization, and default functionality. I would also appreciate some reviews of the resulting code. For example if someone sends me some DDL I could run my templates against it and send the code back. If you already have code smith I'd be happy to share the templates in exchange for feedback.

 
New Post
4/5/2014 4:14 AM
 

Keith,

I have my own template that is open source on Codeplex that you can download and get ideas from.

http://dnnmvptemplate.codeplex.com/

 
New Post
4/5/2014 5:02 AM
 

Thanks Scott, 

I'm already using that as a guide, along with the Christoc template. I'm also looking at the Client Centric examples as a base. Those are good examples, but you and Chris Hammond have slightly different topologies for both the file systems and name spaces. When I look at other core modules and examples I see more differences. I would like to have a matrix put together that shows put your models here, and use this namespace, and your utilities here, and use that namespace, and your UI elements, etc, and import these name spaces and use those name spaces. A cookbook that takes you past the fairly simple examples that are available. When I look at more complicated modules, like Events, there's yet another topology, so without knowing WHY they are put together that way it's difficult to know which model to follow.

Ideally I'd like to use the templates to completely refactor other modules I have to the "new" standards. Some are kinda messy, since I was learning how to so something while I did it and a redo would make cleaner and more maintainable code. Get a nice clean structure, UI, and DAL, and use that as a base to pull the rest of the code forward.

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentAdvise needed for templating projectAdvise needed for templating project



Try FREE
30 days money back guaranteed