Creating a custom module (add,edit,delete,view)

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/6/2011 5:21:07 AM
Gravatar
Total Posts 11

Creating a custom module (add,edit,delete,view)

hello friends, I wanted to know your experts thoughts on this. How about IF I create 3 tier architecture projects for a custom module which i need to develop using LINQ. I mean to say is:

[1] CustomModule.Data (This is a class library project which holds the dbml file and other db related classes)

[2] CustomModule.Business (This might hold business related classes and code - but only if required)

[3] Finally CustomModule.Web (The ascx controls- UI)- This is a WAP

and finally writing the build events to copy evrything in main Mojo web portal site. and install the ascx as feature and configure them in a mojo portal page.

How about this method of development? Is it fine to go with this way? anybody find any issue with this way? Please let me know. Any help appreciated.

7/6/2011 6:13:38 AM
Gravatar
Total Posts 18439

Re: Creating a custom module (add,edit,delete,view)

Sounds reasonable to me. There are no rules about how you do data access, you don't have to do it the same way I do, you can use Linq, or Entity Framework or NHibernate or whatever you like. Though using those technologies you may need to add/uncomment/update the connectionStrings section in Web.config whereas the included code uses it from appSettings.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.