Don't understand need for Codesmith

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/10/2011 11:39:31 AM
Gravatar
Total Posts 7
Stop The World, I want To Get Off

Don't understand need for Codesmith

Hello.

I'm trying to follow the developer documentation training video at this location: http://www.mojoportal.com/dev-series-3-custom-solution.aspx

I got lost trying to follow this presentation after the Codesmith part of it.

First, I don't understand the need for Codesmith since it seems like the person in the presentation is simply copying code from Codesmith into Visual Studio.  Couldn't i just copy the code from one of those Codesmith files into my solution?

Do I really need Codesmith?

Also, the video moves too quickly for me to follow.  Is there another video or document that explains how to accomplish the same task?

Any help would be gratefully appreciated.

Thanks,
Tony

1/10/2011 11:54:23 AM
Gravatar
Total Posts 18439

Re: Don't understand need for Codesmith

Codesmith is a tool for speeding up development by generating code. The code is generated by pointing the template a table in the database and it generates code based on the table structure so the template does not have any code you need until you use Codesmith and point the template at a table to generate code.

You don't need Codesmith, you can code everything by hand, but it can speed up productivity and is a very useful tool.

There is a lot to learn in software development and especially in web development, all I can suggest is pause and rewind the parts that you are having trouble with. It is expected that one have some experience with ASP.NET development before learning mojoPortal specific ASP.NET development. If you don't have that background you could get a book and study that first, there are also tons of tutorials online for learning ASP.NET development.

The videos really give you a step by step walkthrough with a lot of concepts covered. This article by Steve Land may give you a better condensed summary: http://techblog.strongeye.com/archive/2009/12/16/creating-a-mojoportal-module.aspx

Hope it helps,

Joe

1/10/2011 12:12:10 PM
Gravatar
Total Posts 7
Stop The World, I want To Get Off

Re: Don't understand need for Codesmith

Thanks for your reply Joe.

Although it is not much, I do have the experience of creating two web sites using ASP.NET 2.0 and VS 2008.  I have been studying and playing with various .NET projects for about three years now.

To avoid downloading a new software and possibly experiencing additional problems, i think i will try to create my mojoPortal projects using my own code.

I guess i missed the part in the video where the code is generated by Codesmith.

Thanks again for your help.

Tony

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