G2 and SSP module... how can I start.

scrumpy

Joined: 2004-05-29
Posts: 21
Posted: Mon, 2006-02-13 08:53

Hi,

I'd like to put together a module for linking slideshowpro and G2, I don't think there is anything at the moment out there that does this so I thouht I would have a try myself (might teach myself something!). I've done some html/css/php programming in the past but nothing really too serious; certainly nothing with an API or with a modules system.

Could someone help get me started with some basic code or how I can start to understand/work with G2 (perhaps a very very basic G2 module?), and how to use the API.

Hope I've put this in the right Topic area.

Thanks in advance,

scrumpy

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-02-13 09:05

http://codex.gallery2.org/index.php/Gallery2:Development_Concepts

http://gallery.menalto.com/dev

http://codex.gallery2.org/index.php/Gallery2:Developer_Starterkit

you'll need to first create a module/yourmodulename/module.inc file, best learn from the existing modules.
you'll then need to decide what you need. i have no idea what the module should do.
maybe generate some xml to feed ssp with it? then i guess you want a controller where you can set some options and a "immediate view" which generates the xml.

MVC and other concepts explained:
http://gallery.menalto.com/node/36885#comment-134279

 
scrumpy

Joined: 2004-05-29
Posts: 21
Posted: Mon, 2006-02-13 09:17
valiant wrote:
http://codex.gallery2.org/index.php/Gallery2:Development_Concepts

http://gallery.menalto.com/dev

http://codex.gallery2.org/index.php/Gallery2:Developer_Starterkit

you'll need to first create a module/yourmodulename/module.inc file, best learn from the existing modules.
you'll then need to decide what you need. i have no idea what the module should do.
maybe generate some xml to feed ssp with it? then i guess you want a controller where you can set some options and a "immediate view" which generates the xml.

MVC and other concepts explained:
http://gallery.menalto.com/node/36885#comment-134279

Thanks Valiant I'll take a look at the examples. Essentially I want to be able to see how it would work if I used G2 as a back-end to the SSP front-end. I'm assuming from what I've read so far SSP is fed from a static XML file that has to be generated for it. I'm sure I've seen something coded similar around here so I was hoping to use that and learn more about G2 dev at the same time.

Thanks.

scrumpy