Where is the best practice for storage/usage of source code after downloaded?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/10/2010 9:24:54 AM
Gravatar
Total Posts 9

Where is the best practice for storage/usage of source code after downloaded?

I've actually used TortoiseHG and downloaded the source code. I've got a few more questions now. I want to use MojoPortal to create a customized portal. I really don't want to modify any of the base code unless I have to. I was actually thinking of using MP as is but add some special functionality to it. Basically, it would work as designed and I'd point certain pages to my own apps that would run within the context of the MP framework. 


My question is, when I approach it from this standpoint, do I still need all of the source code or is what's provided in the Web Platform Installer all I really need?

If I do need the source code, do I just copy the code from where I put the repository to my application folder or should I have created my repository in my application folder.


I'm hoping to create many web-sites with MP in the future. I just want to make sure I start out on the right foot.

Any advice will be most appreciated. Thanks!
Dave :-)

12/11/2010 8:07:24 PM
Gravatar
Total Posts 1204
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Where is the best practice for storage/usage of source code after downloaded?

If your own area of the site is intended to be completely stand-alone outside of mojoPortal, you probably won't need the full source. But if you do that, it will be really difficult to maintain a consistent look and feel for the mojoPortal and custom parts of the site (if that's important to you). If your needs don't extend as far as an entirely separate application, you could do what we have done, which is to develop custom features that run within mojoPortal (and can be placed on pages just like any other delivered feature). Doing this doesn't involve touching the base code at all (which is one of the great things about mojoPortal). If that will work for you, all you need to do is go through the mojoPortal Developer Documentation track, and also watch all of Joe's great videos. An example of a custom feature we developed is here: http://www.escondido.org/parcel-lookup.aspx.

If you decide to follow this recommended mojoPortal development method, you should definitely download all of the source and keep it current with TortoiseHG as you're developing. I just ended up creating a subdirectory off of the root of the mojoPortal source folder, (e.g. _custdev), where I keep all of my source. This is the spot that's recommended in this developer document. We have at least one additional developer at our site who will be working on mojoPortal features, so I plan to explore setting up our own internal source repository on this directory in the future.

I hope that's useful.

Jamie

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