Slide.Show, version 1.1
Copyright � Vertigo Software, Inc.
This source is subject to the Microsoft Public License (Ms-PL).
See http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx.
All other rights reserved.
What is Slide.Show?
===================
Slide.Show is an open source Silverlight 1.0 control for publishing highly-customizable photo slideshows on the Web.
Resources and Inspiration
=========================
* SlideShowPro
http://www.slideshowpro.net
* First Floor Software
http://www.firstfloorsoftware.com/slideshow
* Javascript Inheritance: The One True Way
http://www.codusoperandi.com/post.php?post_id=16
* Class-Based Inheritance in Javascript
http://peter.michaux.ca/article/1
* KevLinDev: Javascript Tutorial
http://www.kevlindev.com/tutorials/javascript/inheritance/index.htm
Minimal Module Template
=======================
The following template demonstrates the minimal code required for developing a new module.
// Slide.Show, version 1.1
// Copyright � Vertigo Software, Inc.
// This source is subject to the Microsoft Public License (Ms-PL).
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/publiclicense.mspx.
// All other rights reserved.
///
/*******************************************
* class: SlideShow.SampleModule
*******************************************/
SlideShow.SampleModule = function(control, parent)
{
///
This is a description of the sample module.
///
The Slide.Show control.
///
The parent control.
SlideShow.SampleModule.base.constructor.call(this, control, parent, "
");
};
SlideShow.extend(SlideShow.UserControl, SlideShow.SampleModule,
{
});
Architecture Notes
==================
AlbumViewer.js
* AlbumViewer (inherits from UserControl)
* AlbumNavigation (inherits from PageNavigation)
Button.js
* Button (inherits from UserControl)
* PathButton (inherits from Button)
* AlbumButton (inherits from Button)
* ThumbnailButton (inherits from Button)
DataProvider.js
* DataProvider (inherits from Object)
* XmlDataProvider (inherits from DataProvider)
* FlickrDataProvider (inherits from DataProvider)
Debug.js
NavigationTray.js
* NavigationTray (inherits from UserControl)
ProgressIndicator.js
* ProgressIndicator (inherits from UserControl)
* ProgressBar (inherits from ProgressIndicator)
* ProgressPie (inherits from ProgressIndicator)
Silverlight.js
SlideDescription.js
* SlideDescription (inherits from UserControl)
SlideShow.js
* Object
* JsonParser (inherits from Object)
* XmlConfigProvider (inherits from Object)
* ScriptManager (inherits from Object)
* UserControl (inherits from Object)
* Control (inherits from Object)
* PageContainer (inherits from UserControl)
* SlideNavigation (inherits from UserControl)
* PageNavigation (inherits from SlideNavigation)
SlideViewer.js
* SlideViewer (inherits from UserControl)
* SlideImage (inherits from UserControl)
* SlideShowNavigation (inherits from SlideNavigation)
ThumbnailViewer.js
* ThumbnailViewer (inherits from UserControl)
* ThumbnailViewerBackground (inherits from UserControl)
* ThumbnailNavigation (inherits from PageNavigation)
* ThumbnailPreview (inherits from UserControl)
Transition.js
* Transition (inherits from Object)
* NoTransition (inherits from Transition)
* FadeTransition (inherits from Transition)
* SlideTransition (inherits from Transition)
* WipeTransition (inherits from Transition)
* ShapeTransition (inherits from Transition)
Flickr Feed
===========
* Photoset
- e {...} Object
- photosets {...} Object
- photoset {...} Object
- [0] {...} Object
- description {...} Object
_content "" String
farm 3 Long
id "72157603118589367" String
photos "10" String
primary "1986826587" String
secret "68017b35d0" String
server "2195" String
- title {...} Object
_content "Egypt & Israel 2007" String
+ [1] {...} Object
+ [2] {...} Object
+ [3] {...} Object
+ [4] {...} Object
+ [5] {...} Object
+ [6] {...} Object
length 7 Long
stat "ok" String
* Photo
- e {...} Object
- photoset {...} Object
id "72157603118589367" String
owner "94322229@N00" String
ownername "achastain" String
page 1 Long
pages 1 Long
per_page 500 Long
- photo {...} Object
- [0] {...} Object
farm 3 Long
id "1986826587" String
isprimary "1" String
secret "68017b35d0" String
server "2195" String
title "Great Pyramid" String
+ [1] {...} Object
+ [2] {...} Object
+ [3] {...} Object
+ [4] {...} Object
+ [5] {...} Object
+ [6] {...} Object
+ [7] {...} Object
+ [8] {...} Object
+ [9] {...} Object
primary "1986826587" String
total 10 Long
stat "ok" String