Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Writing user interface based galleryserverpro model
meigs
#1 Posted : Thursday, 13 January 2011 2:10:54 PM(UTC)
Rank: Advanced Member

Joined: 16/03/2008(UTC)
Posts: 86
Man
Location: Pennsylvania

Hi, I really like the galleryserverpro backend system - the object model is really great! One of the things I have wanted to do is get my relatives to add comments to some old family photos. So over christmas I decided to write my own simple interface based on GSP .. and I used vb as I am most comfortable with that language.

I actually have made a lot of progress and have some things working well for my purposes. When I get it a little farther along I was going to post the code here for others if they are interested. I set it up so that you drop a subdirectory into the GSP root directory and everything runs off that.

Question:
is there one single routine to call from the web page to initialize the application when it first loads. I know this happens in the model but I am not sure if it is a routine or set of routines.

Thanks!

Roger Martin
#2 Posted : Thursday, 13 January 2011 2:59:24 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I'll be keeping an eye on this, as I would like to get comment functionality into the app.

As to your question, this is the first thing that must run when the app starts:

Code:
if (!GalleryController.IsInitialized)
{
GalleryController.InitializeGspApplication();
}


You will notice it in a few places that are possible entry points when the app is idle.

FYI, the function named InitializeGspApplication is a renamed version of a previous function, so if you don't see it, you probably don't have the latest release.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
meigs
#3 Posted : Thursday, 13 January 2011 3:17:57 PM(UTC)
Rank: Advanced Member

Joined: 16/03/2008(UTC)
Posts: 86
Man
Location: Pennsylvania

Thanks! I ll give it a try tonight.

Edit: I tried this and it worked well. Thanks.
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.