PhotoAlbum Released!
Photoalbum Application [SVN sources] [Demo Guideline]
Links:
Page on JBoss Forum can be found there.
RichFaces Photo Site Demo Packaging
Initial design and gathering.
There are initial list of basic view which could be implemented in Real-World demo. Comments are welcome.
Overview
Application should provide simple pictures storage with upload, management preview and sharing possibilities.
This document describes set of view drafts that could be used within real world demo.
Note that this document is just high level draft so some common components could be skipped in “Components used for use-cases” sections. (panels, toolbar, support, region, outputPanel and etc..)
Similar Applications
Updated(13.02)
Functionality Summary
Photo Album demo application provide the following features set:
- User Login and registration.
- login/logout
- User preferences management.
- users preferences view(viewing the properties of any registered users)
- Data Life time
- OPEN ISSUE. User and their dat could be cleared
- nightly - this will allow to organize dayly news, search between existing and so on.(I leaved the functionality which could be usefull with this option - news, search within all the uploaded and so on. Could be removed if option 2 will be choosen)
- on session closure.
- Sharing
- All the uploads are visible for any users and available to be searched for.
- Roles management (Simple in first version - registered/unregistered)
- Browsing the application in guest mode.(All the functionality except any kind of changing and own albums available)
- Browsing application as registered user. All the functionality below available.
- Uploading and management pictures
- Multiple pictures upload
- Preview and edit pictures preferences after upload
- Hierarchical album structure (albums can be nested)
- Categorizing the pictures using Drag and Drop within the albums
- Categorizing images and whole albums with metatags
- Ability to provide the descriptions to images in order to create "story" functionality in slideshow mode.
- Operations on the picture OPEN ISSUE could be done according to release timeframe possibilities.
- Rotation
- Leveling
- OPEN ISSUE and so on editing(frames etc..),..
- Owner Images view
- Albums view. List of albums with their properties.
- album view. Browsing pictures thumbnails within concrete album.
- Single picture view and management.
- Preview for concrete picture with its properties.
- Properties management.
- full sized images links.
- Slideshow within the album
- content updates
- "News" functionality. Browsing within latest added, random pictures by tags an so on.
- Search (Both by shared pictures and owner pictures)
- Search images by tags
- Search images by metadata and other properties(upload date, description, and so on).
- Search for users by names
- Search by albums
- Application help
- Set of views describing implementation decisions details. (Seam and RF usage for the cases implemented)
- Information on how to use application itself within the views
Future Versioned
Features which could be done after the community mechanisms will be miplemented
- albums sharing
- groups creation
- friends for users
- messaging between users
- rating on the fotos
- comments on the fotos
- management of the comments
- favourites functionality
- bookmarking (useless till the data lifetime is short)
Other
- administration module
- Layout redefinition
- Story creration
- Tag cloud widget for browsing shared
- emailing from user viewes.
Use-case diagram for RealWorld demo
In first version demo will include followed use-cases
Dependent of time, RealWorld demo will include additional use-cases:
Domain model for RealWorld demo
Initial version:
Outdated
(Will be updated soon after markups design finished)
Design Section
1.1 Login View
It should be some kind of standard login/register view. Some info about RF and application itself should be present in this view.
1.2 Views for logged user
1.2.1 User properties view
Standard user-info properties view. Should allow the user to add or edit its detailed info.
1.2.2 Pictures Upload View
Every logged user should be able to upload the pictures to server. Upload restrictions should be defined (size of pictures, types, may be resolution). After uploading, the user should be able to preview pictures, edit its properties and save them or just remove some of them.
Components used for use-case:
- · rich:fileUpload
- · rich:progressBar(built-in)
- · rich:mediaOutput(preview)
- · a4j:commandLink (store, change)
- · rich:dataGrid (preview iteration)
1.2.3 Albums management View
View for management albums should be available for the user in order to rearrange the albums, rename or delete existent ones or just create new albums. (TBD some other properties that could be changed from this view such as sharing and etc..)
Components used for use-case:
- · rich:dataGrid for albums list representation
- · a4j:commandButtons/Links
- · contextMenu
1.2.4 User Pictures View
View for existent pictures viewing. It should contain the navigation tree for pictures groups and main area which should be switchable from list subview to slideshow subview.
Components used for use-case:
- · rich:tree for folders representation
1.2.4.1 List subview
The user could choose some folder from navigation panel and should be able to view all the pictures within folder. This subview also should allow moving pictures between folders delete some of them or call properties view for any picture.
This subview could optionally contain a filter for pictures which should be shown
Components used for use-case:
- · rich:dataGrid for pictures list representation
- · rich:datascroller
- · drag and drop components to move between folders
- · rich:calendar, inplaces, commandButtons/links for filter
- · context menu
1.2.4.2 slideshow Subview
This subview should represent one picture in a full size in the subview. And also controls to switch between pictures (next/prev-like controls or maybe just line with clickable thumbnails). Also it should be possible to turn real-time slideshown on within this view.
Components used for use-case:
- · context menu
- · commandButtons/Links
- · poll (realtime slideshow support)
1.2.5 Pictures Properties Management View
This view could be called for any picture from “User Pictures View”. It should be opened as modal dialog and consist of picture properties in editable controls.
Components used for use-case:
- · inplaces
- · commandButtons/links
- · rich:modalPanel
1.3 Shared Albums
Application should provide all the users access to shared area. Albums marked as shared should be available to non logged users via the same “User Pictures View” but without any changes allowed.
Shared Albums view should be also allowed to be used by already logged users
1.4 Live updates
While the user uses shared view it should be asynchronously updated after changed on server. So new albums should appears and some additional info (e.g. pictures counts in albums) info should be updated using push technique.
Components used for use-case:
- · a4j:push
Comments