CSModule or not

This post has 5 Replies | 2 Followers

Not Ranked
Posts 17
Points 265
HMobius Posted: Tue, Jan 9 2007 7:13 AM

Hi,

I would like to add a few extra pages with custom non-CS related functionality into my copy of CS much like Dave Burke does in the SDK Guide with his Database file size example. But then I look around at what else has been made available as a plug-in or an add-on and it mostly seems to be implemented as a CSModule. So I'm a bit confused now. I think I want to use Dave Burke's example as a template because as Keyvan describes it, the CSModule is for tweaking input\output that normally occurs rather than creating something from scratch.

Have I got this right?

Dan

Top 25 Contributor
Posts 2,115
Points 27,605
MVPs
Can you give some details about what you want to do?  Then we can give you better thoughts and suggestions.
  • | Post Points: 20
Top 75 Contributor
Posts 316
Points 4,305

HMobius:

... as Keyvan describes it, the CSModule is for tweaking input\output that normally occurs rather than creating something from scratch.

Have I got this right?

Dan

Keyvan is right.
A CSModule handles events that occur within CS. Here is a list of events that you can capture and then act on:
http://developer.communityserver.org/default.aspx/CS.CSApplication 

If you want to create a new "application" that runs along side CS, then a CSModule is not the way to go. 

CarKnee's Blog
  • | Post Points: 5
Not Ranked
Posts 17
Points 265
HMobius replied on Tue, Jan 9 2007 11:30 AM

So I'm pretty much on the right track. I want to enable some basic reporting against a different database in CS. I figure that I need to create a data provider as the SDK guide shows and then build a couple of pages that use the provider to show the data as required.

 

  • | Post Points: 20
Top 25 Contributor
Posts 2,115
Points 27,605
MVPs
So yes, CSModule isn't the choice for you and yes again, you can follow Dave's approach.
  • | Post Points: 20
Top 10 Contributor
Posts 3,323
Points 73,040
MVPs

Thanks for the compliment, but I'm pretty sure we're referring to Dave Stokes' SDK guide.

http://www.davestokes.net/files/folders/installation_guides/entry53.aspx

When it comes to the SDK, Dave Stokes is The Man. :-)

-Dave

 

 

  • | Post Points: 5
Page 1 of 1 (6 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com