Module Develop

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.
3/3/2008 12:25:59 PM
Gravatar
Total Posts 13

Module Develop

Hi,

how can i create in  new Module a table for to store a retrieve date? There is  documentation over the access layer? I follow the training videos over the develop of WebStore Module, but there aren't reference to how create, store and write from a table of database.

Can you help me?

Thank you so much.

3/3/2008 1:42:59 PM
Gravatar
Total Posts 18439

Re: Module Develop

Hi,

I'm sorry I don't have videos to cover more of development techniques. I plan to do more but of course I'm a very busy developer so its difficult to find time.

The best advice I can offer you is to study the code for an existing feature, set breakpoints in Visual Studio and step through it and see where the code that does the work is and then examine that code and write similar code for your own needs.

If you're new to C# and ASP.NET and new to mojoPortal its a lot to learn. The more you learn about C# and ASP.NET then it will get much easier for you to understand the code. Also studying the mojoportal code is a good way to learn C# and ASP.NET.

You can create the business logic and data access code for a table using Codesmith Tools and my generation scripts located in the CodesmithTemplates folder inclusded with the source code. There is also an oler freeware version of Codesmith included in codesmith_26.zip. Using this tool you can point my template files at a database table and generate the code to get you started. The table must have a primary key. I think the freeware version will only work with MS SQL but the newer version supports generating agaisnt MySql, or Oracle as well and there may be third party drivers for postgresql.

Hope it helps,

Joe

 

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