Matt,
Looks like you have more of the Roller side
figured out than I do. I did find the
business.plugins class this morning in the
Javadocs (which were a bit difficult to
find). It looks like that code may need to be
looked into. I was also looking at the guides
and I appear to have skipped the step of writing
up a proposal. I just went right to discussion
on the list. I think the proposal is a good idea
because that can be used as a road map to figure
out where we are headed as we start to work on
this. I will get the proposal added to the wiki probably on Monday or Tuesday.
Angie
At 06:05 AM 5/9/2008, you wrote:
Angie,
without having looked into the roller code, my
guess is we have to do the following:
- in roller-customer.properties add a new
property like this: photogalleryclass = my.gallery.class
- This class has to implement a defined
interface. The Roller instantiates the class
with Class.forName( getParameter("photogalleryclass") ).
- And in the Velocity templates we offer two new macros
a) to insert photogallery-JS into the html head
b) to use the gallery
Matt
Angela Cymbalak wrote:
Matt,
I was planning on asking you the same
question. I plan on looking more into the code
this weekend. If anyone can give me a head
start and point me to the correct jars to look at it would be helpful.
Angie
At 03:27 PM 5/8/2008, you wrote:
Angie,
to be honest, I don't know how the other
pluggable things in Roller work. Do you?
IMO there should be two things to a photo
gallery plugin. a) If it's Javascript-based,
one or more script have to be included in the
HTML head. b) The photo gallery software has
to receive the images (or image urls) to create its gallery.
What are your thoughts?
Matt
Angela Cymbalak wrote:
Matt,
I completely agree about it being pluggable
but in making it pluggable it shouldn't
matter what it is on the "other side". The
code that I currently have for the photo gallery is all Java based and AJAX.
Angie
At 02:06 AM 5/7/2008, Matthias Schmidt wrote:
Angie--
that's a great idea. IMHO such a gallery
functionality should be made pluggable. Such
as that multiple gallery implementations can be used in Roller.
Right now, I am thinking about using
something Javascript based (JQuery based to
be exact). Maybe we can figure out a general interface for galleries.
What do you think?
Regards,
Matt
-------- Original-Nachricht --------
> Datum: Tue, 06 May 2008 13:08:21 -0400
> Von: Angela Cymbalak <[EMAIL PROTECTED]>
> An: [email protected]
> Betreff: photo gallery for Roller
> In the mailing-list archives I had noted that there was a request to
> add a photo gallery to the Roller application. I currently have a
> photo gallery application called Caitrin that I would like to
> contribute if there is interest. I think that this application could
> be integrated with Roller and then eventually broken off into its own
> project because there are several other projects it would integrate
> nicely with. Has anyone started working on the idea of adding the
> photo gallery to Roller?
>
> Angie
>
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger