Mono Support Pro and Cons of API vs Source Code purchase (Closed)

Viewed 29039 time(s), 7 post(s), 6/28/2011 6:33:05 PM - by KrisBethea
6/28/2011 6:33:06 PM
37 Reputation 4 Total posts

So, what is it I can or cannot do with the API that I can do with the Source Code?
I'm under the impression I can pretty much use API calls to create the same functionality as the demo site but design it to be more personalized simply by using the API.

Thoughts?

Thanks,
Kris

1
6/28/2011 8:44:05 PM
7207 Reputation 956 Total posts

Hi Kris,
It depends on your requirements. Getting the functionality similar to the demo site can be only a matter of changing skin CSS and master pages. You can also achieve a lot by simply inheriting the base pages/Web parts and adding or changing the default functionality.
Typically, you will need the access to the source code if you want to make more complex custom applications.

2
6/28/2011 9:06:11 PM
37 Reputation 4 Total posts

So basically, until I get in there and try to make it do what I want it to do, I won't know...

I am hoping to hear input from others' as well. At this point, I don't want to ask my client to purchase the source code, but I also don't want that to come back and bite me.

I saw some the sample Monox sites that are listed but I don't know if they are coded with or without access to the Source Code.

Like, can I control the Reputation points? Make it so that reputation is by popularity only? Is the api accessible to add or subtract points?

3
6/29/2011 10:17:20 AM
15993 Reputation 2214 Total posts

Hi,

reputation points can be controlled in a few ways, you modify the default MonoX reputation points programatically by setting one of the following properties

MonoSoftware.MonoX.ApplicationSettings.Reputation.UserProfile.NewAvatarScore = 20;
MonoSoftware.MonoX.ApplicationSettings.Reputation.Blog.NewPostScore = 30;
MonoSoftware.MonoX.ApplicationSettings.Reputation.SocialNetwork.NewNoteScore = 5;
MonoSoftware.MonoX.ApplicationSettings.Reputation.SocialNetwork.Discussion.NewTopicScore = 15;

please take a look at the MonoSoftware.MonoX.ApplicationSettings.Reputation API documentation to get the full list of available reputation properties.
Note: Reputation default values are read-only in MonoX version prior to 4.1.2757

Every MonoX module (Web Part) uses these default values to initialize his reputation points and you can modify reputation points by using the MonoX Web part properties UI or by setting properties programatically.

Here is an example of setting Reputation points on several modules

Programatically
userProfile.UserReputationNewAvatarScore = ApplicationSettings.Reputation.UserProfile.NewAvatarScore;
or
userProfile.UserReputationNewAvatarScore = 30;
 
blogModule.UserReputationNewPostScore = ApplicationSettings.Reputation.Blog.NewPostScore;
or
blogModule.UserReputationNewPostScore = 35;
 
etc.

Using the MonoX Web part properties UI (see attached screenshot)

For adding or subtracting reputation points in your custom modules you can use the MonoX data model which allows you to modify reputation points (e.g. you can programatically add, subtract, reset points).  

I hope this explains a bit more the MonoX Reputation points layer.

Regards

4
6/29/2011 10:36:15 AM
7207 Reputation 956 Total posts

It is really difficult to give you a definitive answer regarding the source code purchase without more information on your requirements. Most of the sample sites were developed without access to the source code, and that approach usually works for standard content-based sites and social networks. The opposite would be true if you need to develop a complex custom Web application on top of MonoX, or want to see how our infrastructure works behind the scenes, or need to tightly integrate pieces of MonoX functionality into your application, or have a company policy that requires the source code of all products...

5
6/29/2011 1:27:07 PM
37 Reputation 4 Total posts

oooh! khorvat!!!
thank you SOOO much!!!
That was ever so perfect information!!

You RAWK!! :)
Happy Hump Day!
Kris

6
6/29/2011 1:27:34 PM
37 Reputation 4 Total posts


Denis,
You as well have been extremely helpful! As typical of a project, we are in the beginning stages and the specific details often don't show up until you're knee deep in the coding!!

Thanks for your information and your insights!
*hugs*
Kris

7
This is a demo site for MonoX. Please visit Mono Software for more info.