New custom module

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.
1/9/2011 9:16:00 PM
Gravatar
Total Posts 37

New custom module

I hope to phrase this question so that it makes sense. This is a design question but I want to get it right the first time. Suppose I am developing two or three new custom features in mojoportal (say a Guest Book feature and Comment feature)?  Would the proper way to add these new features, be to add different projects named by feature (with their own data and business class libraries) or would I place all new features in one project. Sorry but I am not real familiar with the internal workings yet and want to design this the right way. Is each feature a separate module?

1/10/2011 12:00:52 AM
Gravatar
Total Posts 245
mojoPortal Community Expert

Re: New custom module

Separate projects for each feature/module.  This will provide you greater flexibility and control.

Rick (Arvixe)

 

1/10/2011 2:48:10 AM
Gravatar
Total Posts 37

Re: New custom module

Would I still need a [myproject].Web.UI project to control each custom module? This is how it appeared to be set up in Joe Audettes tutorial but he did not really mention it one way or the other He was only discussing adding one new feature during the tutorial. But he showed his disc files and it appeared set up with several custom features in their own project and an additional [myproject].Web.UI.  I wasn't sure how if I can ask him directly?

1/10/2011 6:44:09 AM
Gravatar
Total Posts 18439

Re: New custom module

How you structure your projects is really up to you, the main thing is to keep your code separate from mojoPortal code.

You could use a separate set of projects for each of your custom features if you want to be able to package them separately for deployment that is probably the way to go, but if you plan to deploy all your custom features together anyway there is certainly nothing wrong with just having one set of 3 projects for all your custom features, ie a web UI layer, a business layer and a data layer. This is how the mojoPortal.Features set of projects is constructed, we don't have separate projects for each feature like blog, forums, etc, the mojoPortal.Features set of projects contains a lot of different features grouped in the same projects.

Hope it helps,

Joe

12/7/2011 5:55:27 AM
Gravatar
Total Posts 8

Re: New custom module

Hi Joe,

I have develop Custom careers Module .I have following the step upon following link .

http://www.mojoportal.com/flashtutorials/mojo-featurestubbing-codesmith/mojo-featurestubbing-codesmith.html

http://geekswithblogs.net/strongeye/archive/2009/12/16/creating-a-mojoportal-module.aspx

I was struck in below mentioned stuff.

Open CodeSmith Studio. In Template Explorer, open the folder "Codesmith4x" found in \mojoportal\CodeSmith Templates\

How can i implemented the code smith in mojoportal "Codesmith4x".

Please help me ..

Thx.

Yusuf.A

 

12/7/2011 11:20:22 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: New custom module

You'll need to get the CodeSmith Generator software to use those templates. If you're going to do mojoPortal development, especially database layers, it's well worth the licensing cost.

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