Hi All,
Below is the start of the photo gallery proposal that discussion
started on last week. It is not a very good proposal at all. I
haven't written a proposal like this in a while and am hoping that
there is a committer who has been through this before who can look it
over and help me out. I know that I am missing a lot of detail and
information here and I'm looking for the list of questions that needs
to be answered more effectively in the proposal so that we all have a
clear understanding of the direction the photo gallery should go in.
Thanks,
Angie
~~~~~~~~~~~~~~~~~~~~~~~
Proposal Photo gallery
Status
Proposed
Target Release
4.1 or later
Original Authors
Angela Cymbalak
Abstract
This is a proposal to design, develop and implement a photo gallery
for Roller.
Requirements
There will be a pluggable interface between Roller and the default
photo gallery. This will allow for others to develop their own
galleries or to implement a link between Roller and popular sites
such as Flickr and PhotoBucket.
The default photo gallery will consist of a storage mechanism for the
photos, a veiwer and upload functions for both individual uploads and
batch uploads.
Issues
Will the photos be stored on the file system or in a database? Will
this be user configurable?
Design
(from Matthias Schmidt)
- 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
Additional design to be determined from discussions on the dev list.
Comments
Please comment on the dev list.