Sources for Gallery Remote and best approach to develop a Win app to talk to a Gallery site

totem

Joined: 2008-03-04
Posts: 25
Posted: Thu, 2008-07-10 03:30

Hi,

Where can I get the sources to Gallery Remote?

I'm thinking of developing a Windows application (C#) to talk to a Gallery2 site (login, upload pictures, etc) and looking at how Gallery Remote does it would be a great start. Is the best way to use the Gallery Remote Protocol? If I go this route, I'm assuming I need to have the Gallery Remote module installed on the Gallery2 site right?

Is there a better approach for my needs?

thank you

 
conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Thu, 2008-07-10 04:32

Yup, the best (only?) way to develop it is to use the Gallery Remote Protocol. There is at least one other client listed in the Gallery Codex written in C#, but I don't know how active a project is.

I'm the developer of a Windows screensaver/desktop changer for Gallery called GLoSS. You can find out more about it here (http://codex.gallery2.org/GLoSS) or at my website below.

It's written in Delphi, not C#, but in terms of general accessing of the Gallery Remote Protocol, I may be able to help with questions that you have.

Have fun. I enjoyed developing GLoSS which started out as a bit of an experimental project for me.

Cheers,

Conor
Christchurch, NZ

GLoSS: Gallery2 Local Screen Saver & Desktop Changer

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2008-07-10 06:24

The sources for GR are on the Sourceforge SVN server like the rest of Gallery. As Conor mentioned, other projects are using the GR protocol and some of them are open-source so you can take a look at them, too.

One of the major planned features for Gallery 2.4 should be a replacement for the Gallery Remote protocol. Work on that hasn't started yet, so no documentation, I just thought you should know since you're embarking on a new project...

--
Gallery Remote developer

 
totem

Joined: 2008-03-04
Posts: 25
Posted: Thu, 2008-07-10 17:21

Thanks for the pointers Conor/Paour. Conor, I may contact you later on if I have any questions, thanks for the offer.

Paour, does the replacement mean that there will be no backwards compatibility? Could you please plan for a migration path for those of us that have applications built on the GR protocol? I hope there will be an easy tutorial on how to migrate to the new protocol. (hint hint)

:-)

Thanks

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2008-07-10 17:47

The new protocol will be a clean break from the current one, so no migration path. Of course, both protocols will co-exist within the same server, so code based on the current protocol will continue to run, but new features will probably only be developped on the new protocol.

--
Gallery Remote developer

 
fweeee

Joined: 2006-12-16
Posts: 46
Posted: Sat, 2008-07-12 12:30

You could also contribute to an existing project rather than starting one from scratch. This is what I did when I wanted to upload photos using my photo manager database (Photoshop Elements). I wrote an add-on to an existing uploading utility, written in C# (Pix2Gallery2). Half the code was already written for me - I just had to write the bits to connect to photoshop elements database.